doc: fix notfound prefix for latest docs
The notfound extension prefix was incorrect for 'latest' docs version. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
c2068e5d6e
commit
45cce736e2
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ warnings_filter_silent = False
|
||||||
|
|
||||||
# -- Options for notfound.extension ---------------------------------------
|
# -- Options for notfound.extension ---------------------------------------
|
||||||
|
|
||||||
notfound_urls_prefix = f"/{version}/"
|
notfound_urls_prefix = f"/{version}/" if is_release else "/latest/"
|
||||||
|
|
||||||
# -- Options for zephyr.external_content ----------------------------------
|
# -- Options for zephyr.external_content ----------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue