From b79bb3a86c05aa8e755b637b3bb2f95f4bef2d1a Mon Sep 17 00:00:00 2001 From: Ron Stone Date: Tue, 7 Mar 2023 11:32:31 +0000 Subject: [PATCH] Adjust menu constructor Make menu paths always absolute via template update. Signed-off-by: Ron Stone Change-Id: I255f78b39586f31518b7c17ac893be5d09086095 --- doc/source/_themes/starlingxdocs_plus/titlerow.html | 2 +- doc/source/conf.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/_themes/starlingxdocs_plus/titlerow.html b/doc/source/_themes/starlingxdocs_plus/titlerow.html index 538f57b04..b5144155b 100644 --- a/doc/source/_themes/starlingxdocs_plus/titlerow.html +++ b/doc/source/_themes/starlingxdocs_plus/titlerow.html @@ -14,7 +14,7 @@

{{ this_version }}

{%- for ver in other_versions: %} -

{{ ver[0] }}

+

{{ ver[0] }}

{%- endfor %}
diff --git a/doc/source/conf.py b/doc/source/conf.py index d9b7a4e08..e80fa62f2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -189,6 +189,6 @@ starlingxdocs_plus_project = 'StarlingX' starlingxdocs_plus_auto_name = False starlingxdocs_plus_bug_project = 'starlingx' starlingxdocs_plus_bug_tag = 'stx.docs' -starlingxdocs_plus_this_version = "Latest" +starlingxdocs_plus_this_version = "r/stx.7.0" # starlingxdocs_plus_other_versions = [("even later","even-later"),("sooner","sooner")] -starlingxdocs_plus_other_versions = [("Version 6.0","r/stx.6.0"),("Version 7.0","r/stx.7.0"),("Version 8.0","r/stx.8.0")] +starlingxdocs_plus_other_versions = [("Version 6.0","r/stx.6.0"),("Version 8.0","r/stx.8.0"),("Latest","/")]