Skip to content

Commit d1ec6f7

Browse files
kartbenstephanosio
authored andcommitted
doc: set documentation base URL to /latest
Help search engines flag "latest" version of the documentation as the canonical source by setting Sphinx's html_baseurl. Fixes #54749. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent f1b662a commit d1ec6f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
"logo_only": True,
138138
"prev_next_buttons_location": None
139139
}
140+
html_baseurl = "https://docs.zephyrproject.org/latest/"
140141
html_title = "Zephyr Project Documentation"
141142
html_logo = str(ZEPHYR_BASE / "doc" / "_static" / "images" / "logo.svg")
142143
html_favicon = str(ZEPHYR_BASE / "doc" / "_static" / "images" / "favicon.png")

0 commit comments

Comments
 (0)