Skip to content

Commit 641c189

Browse files
committed
Also fix absolute links in the navigation
1 parent c8b968d commit 641c189

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def create_navigation(current_path):
159159
if current_path == data["outpath"]:
160160
text += f'<a href="#_content" class="navigation-item active">{title}</a>\n'
161161
else:
162-
text += f'<a href="{url}#_content" class="navigation-item">{title}</a>\n'
162+
text += f'<a href="{LINK_BASE_PATH}/{url}#_content" class="navigation-item">{title}</a>\n'
163163

164164
return text
165165

0 commit comments

Comments
 (0)