Adjust menu constructor
Make menu paths always absolute via template update. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: I255f78b39586f31518b7c17ac893be5d09086095
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<div class="version-dropdown-content">
|
||||
<p><a href="." rel="nofollow">{{ this_version }}</a></p>
|
||||
{%- for ver in other_versions: %}
|
||||
<p><a href="{{pathto(ver[1], 1) }}" rel="nofollow">{{ ver[0] }}</a></p>
|
||||
<p><a href="/{{pathto(ver[1], 1) }}" rel="nofollow">{{ ver[0] }}</a></p>
|
||||
{%- endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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","/")]
|
||||
|
||||
Reference in New Issue
Block a user