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é <benjamin@zephyrproject.org>
This commit is contained in:
parent
f1b662ae17
commit
d1ec6f7aaf
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ html_theme_options = {
|
|||
"logo_only": True,
|
||||
"prev_next_buttons_location": None
|
||||
}
|
||||
html_baseurl = "https://docs.zephyrproject.org/latest/"
|
||||
html_title = "Zephyr Project Documentation"
|
||||
html_logo = str(ZEPHYR_BASE / "doc" / "_static" / "images" / "logo.svg")
|
||||
html_favicon = str(ZEPHYR_BASE / "doc" / "_static" / "images" / "favicon.png")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue