mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
v2 docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
layout: "docs_api"
|
||||
layout: "v2/docs_api"
|
||||
version: "<$ version.current.name $>"
|
||||
versionHref: "<$ version.current.href $>"
|
||||
path: ""
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
layout: "docs_api"
|
||||
layout: "v2/docs_api"
|
||||
version: "<$ version.current.name $>"
|
||||
versionHref: "<$ version.current.href $>"
|
||||
path: "<$ doc.path $>"
|
||||
|
||||
Reference in New Issue
Block a user