diff --git a/scripts/docs/processors/jekyll.js b/scripts/docs/processors/jekyll.js index a8bdab86c4..1d3a68fd4e 100644 --- a/scripts/docs/processors/jekyll.js +++ b/scripts/docs/processors/jekyll.js @@ -19,7 +19,8 @@ module.exports = function jekyll(renderDocsProcessor) { docs.forEach(function(doc, i) { docs[i].URL = doc.outputPath.replace('docs/v2//','docs/v2/') .replace('/index.md','') - .replace('//home/ubuntu/ionic/ionic', ''); + .replace('//home/ubuntu/ionic/ionic', '') + .replace('//', '/'); }); docs.push({ diff --git a/scripts/docs/templates/api_menu_flat_version.template.html b/scripts/docs/templates/api_menu_flat_version.template.html index fe0b76c24c..5b3b934713 100644 --- a/scripts/docs/templates/api_menu_flat_version.template.html +++ b/scripts/docs/templates/api_menu_flat_version.template.html @@ -1,4 +1,4 @@ <@ for doc in docs @><@ if doc.URL and doc.private != true and doc.name @>