Skip to content

Commit

Permalink
Prevent dirty git index in rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
taliaga committed Nov 8, 2022
1 parent daab6fa commit 3d801e0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"
jobs:
pre_install:
# https://docs.readthedocs.io/en/stable/build-customization.html#avoid-having-a-dirty-git-index
- git update-index --assume-unchanged environment.yml doc/conf.py

# Build documentation in the doc/ directory with Sphinx
sphinx:
Expand Down

0 comments on commit 3d801e0

Please sign in to comment.