diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 306855c0e..80c8c01cf 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,6 +11,8 @@ build: - git fetch --unshallow || true - git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*' || true - git fetch --all --tags || true + pre_install: + - git update-index --assume-unchanged docs/rtd_environment.yaml docs/conf.py conda: environment: docs/rtd_environment.yaml