This commit is contained in:
Tim Lancina
2015-09-08 13:49:55 -05:00
parent 6e38ba22d0
commit 3720a09500
7 changed files with 24 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
---
layout: "docs_api"
layout: "v2/docs_api"
version: "<$ version.current.name $>"
versionHref: "<$ version.current.href $>"
path: ""

View File

@@ -5,10 +5,10 @@
<@ else @>
{% elsif page.versionHref == "<$ ver.href $>" %}
<@ endif @>
{% include api_menu_<$ ver.name $>.html %}
{% include v2_api_menu_<$ ver.name $>.html %}
<@ endif @>
<@ endfor @>
<# make the last case always be to show latest version #>
{% else %}
{% include api_menu_<$ version.latest.name $>.html %}
{% include v2_api_menu_<$ version.latest.name $>.html %}
{% endif %}

View File

@@ -1,4 +1,4 @@
layout: "docs_api"
layout: "v2/docs_api"
version: "<$ version.current.name $>"
versionHref: "<$ version.current.href $>"
path: "<$ doc.path $>"