Skip to content

Commit

Permalink
Update docs path (#3045)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko committed Jul 25, 2024
1 parent f244000 commit 61f2ecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ do
# build docs
cp -r doc/ build/staging-web/
find build/staging-web/ -type f -print0 | xargs -0 sed -r -i "s#\+\+version\+\+#${VERSION,,}#g"
mv build/staging-web/content/en/docs/++version++ build/staging-web/content/en/docs/"${VERSION,,}"
mkdir -p build/staging-web/public/docs/
mv build/staging-web/doc/content/en/docs/++version++ build/staging-web/public/docs/"${VERSION,,}"
read -n 1 -s -r -p "Build build/staging-web/ manually now. Press a key to continue..."
# If it was a SNAPSHOT, it was lowercased during the build.
cp -R build/staging-web/public/docs/"${VERSION,,}"/* "build/$DOC_DIR/"
Expand Down

0 comments on commit 61f2ecd

Please sign in to comment.