Skip to content

Commit

Permalink
Have git ignore some RTD changes (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored May 21, 2024
1 parent 0b5523f commit 735f5e2
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
version: 2

build:
os: ubuntu-22.04
os: "ubuntu-22.04"
tools:
python: "mambaforge-4.10"
jobs:
pre_install:
# Avoid `git` treating the directory is dirty due to RTD changes.
# ref: https://docs.readthedocs.io/en/stable/build-customization.html#avoid-having-a-dirty-git-index
- >-
git update-index --assume-unchanged
continuous_integration/environment-doc.yml
docs/conf.py
# If we missed any, error and list the changed files.
- git diff --stat --exit-code

sphinx:
configuration: docs/conf.py
Expand Down

0 comments on commit 735f5e2

Please sign in to comment.