Skip to content

Commit

Permalink
Wrap RTD git update-index line
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored May 21, 2024
1 parent b135ecf commit 9a425b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ build:
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
- > 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

Expand Down

0 comments on commit 9a425b5

Please sign in to comment.