Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 17e98ac

Browse files
chore(docs): bring in all templates from dgeni-packages
1 parent 752c989 commit 17e98ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+444
-31
lines changed

docs/config/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,12 @@ module.exports = new Package('angularjs', [
6565

6666

6767
.config(function(templateFinder, renderDocsProcessor, gitData) {
68-
templateFinder.templateFolders.unshift(path.resolve(packagePath, 'templates'));
68+
// We are completely overwriting the folders
69+
templateFinder.templateFolders.length = 0;
70+
templateFinder.templateFolders.unshift(path.resolve(packagePath, 'templates/examples'));
71+
templateFinder.templateFolders.unshift(path.resolve(packagePath, 'templates/ngdoc'));
72+
templateFinder.templateFolders.unshift(path.resolve(packagePath, 'templates/git'));
73+
templateFinder.templateFolders.unshift(path.resolve(packagePath, 'templates/app'));
6974
renderDocsProcessor.extraData.git = gitData;
7075
})
7176

0 commit comments

Comments
 (0)