Skip to content

Commit

Permalink
ci(framework) Fix multi version docs (#4679)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Dec 11, 2024
1 parent 1e5cf1e commit 91b07b3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions framework/docs/build-versioned-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,16 @@ 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

done

cd $(git rev-parse --show-toplevel)
done


cd framework/docs

# Build the main version (main for GH CI, local branch for local)
if [ $GITHUB_ACTIONS ]
then
Expand Down

0 comments on commit 91b07b3

Please sign in to comment.