From 91f36f22171e96edf0dbf17268adc5242db6ff79 Mon Sep 17 00:00:00 2001 From: perry Date: Fri, 11 Mar 2016 18:22:57 -0600 Subject: [PATCH] chore(dgeni): TS 1.8 patch cont. --- scripts/docs/processors/jekyll.js | 3 ++- scripts/docs/templates/api_menu_flat_version.template.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 @>
  • - <$ doc.name $> + <$ doc.name $>
  • <@ endif @><@ endfor @>