Skip to content

Commit

Permalink
build: Fix baseurl when building documentation version selector
Browse files Browse the repository at this point in the history
The update-gh-pages.sh builds the version selector at the bottom
left corner of the documentation. The baseurl was wrong so all
the versioned, stable and devel documentation gave 404 error.

Signed-off-by: Jukka Rissanen <[email protected]>
  • Loading branch information
jukkar committed Jun 26, 2023
1 parent 1212598 commit cb12992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build/update-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ EOF

# Helper function for detecting available versions from the current directory
create_versions_js() {
_baseurl="/nri-resource-policy"
_baseurl="/nri-plugins"

echo -e "function getVersionsMenuItems() {\n return ["
# 'stable' is a symlink pointing to the latest version
Expand Down

0 comments on commit cb12992

Please sign in to comment.