diff --git a/framework/docs/build-versioned-docs.sh b/framework/docs/build-versioned-docs.sh index 3c4ef6ba76a5..f993860fdd3e 100755 --- a/framework/docs/build-versioned-docs.sh +++ b/framework/docs/build-versioned-docs.sh @@ -95,6 +95,8 @@ END # Actually building the docs for a given language and version sphinx-build -b html source/ build/html/${current_version}/${current_language} -A lang=True -D language=${current_language} + cd $(git rev-parse --show-toplevel) + # Clean the history of the checked-out branch to remove conflicts git clean -fd