chore(dgeni): add advanced to the list of custom docs tags

This commit is contained in:
perry
2016-06-08 13:57:32 -05:00
parent 5d873ff7f6
commit e9f09688a9
2 changed files with 5 additions and 3 deletions

View File

@ -17,8 +17,8 @@ module.exports = function jekyll(renderDocsProcessor) {
return (textA < textB) ? -1 : (textA > textB) ? 1 : 0;
});
docs.forEach(function(doc, i) {
docs[i].URL = doc.outputPath.replace('docs/v2//','docs/v2/')
.replace('/index.md','')
docs[i].URL = doc.outputPath.replace('docs/v2//', 'docs/v2/')
.replace('/index.md', '')
.replace('//home/ubuntu/ionic/src', '')
.replace('//', '/');
if (docs[i].relativePath) {
@ -37,7 +37,8 @@ module.exports = function jekyll(renderDocsProcessor) {
docType: 'api-menu-flat-version',
id: 'api-menu-flat-version',
template: 'api_menu_flat_version.template.html',
outputPath: '_includes/v2_fluid/api_menu_flat_' + currentVersion + '.html'
outputPath: '_includes/v2_fluid/api_menu_flat_' + currentVersion +
'.html'
});
docs.push({
docType: 'api-version-select',

View File

@ -1,4 +1,5 @@
module.exports = [
{'name': 'advanced'},
{'name': 'demo'},
{'name': 'usage'}
];