chore(ci): updating dgeni processors and templates for new ionic-site structure

This commit is contained in:
perry
2016-12-08 15:39:40 -06:00
parent ad4519c2a9
commit 25e581a7ea
3 changed files with 10 additions and 6 deletions

View File

@ -77,7 +77,7 @@ module.exports = function(currentVersion, initialVersionBuild) {
//Instead set latest version in docs root if not initial build
var folder = (version == latestVersion) && !initialVersionBuild ? '' : version;
return {
href: path.join('/' + config.v2DocsDir, folder),
href: path.join('/' + config.v2DocsDir, folder).replace('/content',''),
folder: folder,
name: version
};