Skip to content

Commit

Permalink
Set pageurl through get_target_uri in StandaloneHTMLBuilder (#9731)
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Turner <[email protected]>
  • Loading branch information
lexming and AA-Turner authored Oct 5, 2024
1 parent aa39a60 commit 1c7e006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/builders/html/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def handle_page(

if self.config.html_baseurl:
ctx['pageurl'] = posixpath.join(
self.config.html_baseurl, pagename + self.out_suffix
self.config.html_baseurl, self.get_target_uri(pagename)
)
else:
ctx['pageurl'] = None
Expand Down

0 comments on commit 1c7e006

Please sign in to comment.