diff --git a/scripts/config.json b/scripts/config.json index 7e6e9ff4b..20acbedf8 100644 --- a/scripts/config.json +++ b/scripts/config.json @@ -1,5 +1,5 @@ { "sitePath": "../ionic-site", - "v2DocsDir": "docs/v2/platform", - "docsDest": "../ionic-site/docs/v2/platform" + "v2DocsDir": "docs/v2/native", + "docsDest": "../ionic-site/docs/v2/native" } diff --git a/scripts/docs/processors/jekyll.js b/scripts/docs/processors/jekyll.js index e0e020005..21152dfaa 100644 --- a/scripts/docs/processors/jekyll.js +++ b/scripts/docs/processors/jekyll.js @@ -22,10 +22,10 @@ module.exports = function jekyll(renderDocsProcessor) { }); docs.push({ - docType: 'platform_menu-menu', - id: 'platform_menu-menu', - template: 'platform_menu.template.html', - outputPath: '_includes/v2_fluid/platform_menu.html' + docType: 'native_menu-menu', + id: 'native_menu-menu', + template: 'native_menu.template.html', + outputPath: '_includes/v2_fluid/native_menu.html' }); // returning docs will replace docs object in the next process diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index 73b305047..75ce72393 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -3,7 +3,7 @@ layout: "v2_fluid/docs_base" version: "<$ version.current.name $>" versionHref: "<$ version.current.href $>" path: "<$ doc.path $>" -category: platform +category: native id: "<$ doc.name|lower|replace(' ','-') $>" title: "<@ if doc.docType == "directive" @><$ doc.name | dashCase $><@ else @><$ doc.name $><@ endif @>" header_sub_title: "<$ doc.docType | capital $> in module <$ doc.module $>" diff --git a/scripts/docs/templates/platform_menu.template.html b/scripts/docs/templates/native_menu.template.html similarity index 100% rename from scripts/docs/templates/platform_menu.template.html rename to scripts/docs/templates/native_menu.template.html