diff --git a/doc/conf.py b/doc/conf.py index a0e7ccd3c9f..6254790649f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -205,7 +205,7 @@ warnings_filter_silent = False # -- Options for notfound.extension --------------------------------------- -notfound_urls_prefix = f"/{version}/" +notfound_urls_prefix = f"/{version}/" if is_release else "/latest/" # -- Options for zephyr.external_content ----------------------------------