Skip to content

Commit 3c711df

Browse files
committed
chore(docs): correct version drowp down links in nightly build
1 parent ae8136d commit 3c711df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/docs/templates/api_version_select.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<select onchange="window.location.href=this.options[this.selectedIndex].value">
22
<@ for ver in version.list @>
33
<option
4-
value="<$ ver.href $>/{% if page.path %}{{page.path}}{% endif %}"
4+
value="<$ ver.href $>/{% if page.path != ''%}{{page.path}}{% else %}api/{% endif %}"
55
{% if page.version == "<$ ver.name $>"%}selected{% endif %}>
66
<$ ver.name $> <@ if version.latest.name == ver.name @>(latest)<@ endif @>
77
</option>

0 commit comments

Comments
 (0)