From 7389654c0027a3c2313dafac35a11336ba6662f8 Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Thu, 3 Sep 2015 16:10:03 -0500 Subject: [PATCH] add git info for github links --- scripts/docs/dgeni-config.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/scripts/docs/dgeni-config.js b/scripts/docs/dgeni-config.js index edc230e982..7ce1f0e252 100644 --- a/scripts/docs/dgeni-config.js +++ b/scripts/docs/dgeni-config.js @@ -67,6 +67,7 @@ module.exports = function(currentVersion){ }; renderDocsProcessor.extraData.version = versionData; + renderDocsProcessor.extraData.versionInfo = versionInfo; computePathsProcessor.pathTemplates = [{ docTypes: ['class', 'var', 'function', 'let'], @@ -130,19 +131,10 @@ module.exports = function(currentVersion){ templateFinder.templateFolders.unshift(path.resolve(__dirname, 'templates')); // Specify how to match docs to templates. - // In this case we just use the same static template for all docs templateFinder.templatePatterns = [ '${ doc.template }', '${ doc.docType }.template.html', 'common.template.html' ] - - // templateFinder.templatePatterns = [ - // '${ doc.template }', - // '${ doc.id }.${ doc.docType }.template.html', - // '${ doc.id }.template.html', - // '${ doc.docType }.template.html', - // 'common.template.html' - // ]; }) }