From 9a425b5ca02b40da52d623a7470ee9192af7a063 Mon Sep 17 00:00:00 2001 From: jakirkham Date: Tue, 21 May 2024 15:23:44 -0700 Subject: [PATCH] Wrap RTD `git update-index` line --- .readthedocs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 618d642d..bdad7d54 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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