Skip to content

Commit

Permalink
Also fix absolute links in the navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriSizov committed Jan 16, 2025
1 parent c8b968d commit 641c189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def create_navigation(current_path):
if current_path == data["outpath"]:
text += f'<a href="#_content" class="navigation-item active">{title}</a>\n'
else:
text += f'<a href="{url}#_content" class="navigation-item">{title}</a>\n'
text += f'<a href="{LINK_BASE_PATH}/{url}#_content" class="navigation-item">{title}</a>\n'

return text

Expand Down

0 comments on commit 641c189

Please sign in to comment.