mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
docs(djeni): fixing side menu and api demo iframe
This commit is contained in:
@ -10,7 +10,7 @@ module.exports = function indexPage(renderDocsProcessor) {
|
|||||||
var currentVersion = versionData.current.name;
|
var currentVersion = versionData.current.name;
|
||||||
var latestVersion = versionData.latest.name;
|
var latestVersion = versionData.latest.name;
|
||||||
|
|
||||||
var versionPath = currentVersion == latestVersion ? '' : currentVersion;
|
var versionPath = currentVersion == 'nightly' ? '' : currentVersion;
|
||||||
|
|
||||||
docs.push({
|
docs.push({
|
||||||
docType: 'index-page',
|
docType: 'index-page',
|
||||||
|
4
scripts/docs/templates/common.template.html
vendored
4
scripts/docs/templates/common.template.html
vendored
@ -9,8 +9,8 @@ title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$
|
|||||||
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 $>"
|
||||||
docType: "<$ doc.docType $>"
|
docType: "<$ doc.docType $>"
|
||||||
<@ if doc.demo and false @>show_preview_device: true
|
<@ if doc.demo @>show_preview_device: true
|
||||||
preview_device_url= "<$ doc.demo $>"<@ endif @>
|
preview_device_url: "<$ doc.demo $>"<@ endif @>
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user