mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
chore(docs): add page ids for doc templates
This commit is contained in:
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
layout: "v2/docs_api"
|
layout: "v2/docs_base"
|
||||||
version: "<$ version.current.name $>"
|
version: "<$ version.current.name $>"
|
||||||
versionHref: "<$ version.current.href $>"
|
versionHref: "<$ version.current.href $>"
|
||||||
path: ""
|
path: ""
|
||||||
|
|
||||||
|
id: api
|
||||||
title: Javascript
|
title: Javascript
|
||||||
header_sub_title: Extend Ionic even further with the power of AngularJS
|
header_sub_title: Extend Ionic even further with the power of AngularJS
|
||||||
searchable: false
|
searchable: false
|
||||||
|
1
scripts/docs/templates/common.template.html
vendored
1
scripts/docs/templates/common.template.html
vendored
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
<@ include "lib/yaml.template.html" @>
|
<@ include "lib/yaml.template.html" @>
|
||||||
|
id: api
|
||||||
title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>"
|
title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>"
|
||||||
header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>"
|
header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>"
|
||||||
doc: "<$ doc.name $>"
|
doc: "<$ doc.name $>"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
layout: "v2/docs_api"
|
layout: "v2/docs_base"
|
||||||
version: "<$ version.current.name $>"
|
version: "<$ version.current.name $>"
|
||||||
versionHref: "<$ version.current.href $>"
|
versionHref: "<$ version.current.href $>"
|
||||||
path: "<$ doc.path $>"
|
path: "<$ doc.path $>"
|
||||||
|
Reference in New Issue
Block a user