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:
Gerard Marull-Paretas 2021-06-22 11:16:25 +02:00 committed by Anas Nashif
commit 45cce736e2

View file

@ -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 ----------------------------------