Skip to content

Commit

Permalink
Have RTD error if repo is unclean
Browse files Browse the repository at this point in the history
  • Loading branch information
jakirkham authored May 21, 2024
1 parent 27c425b commit b135ecf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ build:
# 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 status
# 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 b135ecf

Please sign in to comment.