Commit 5e41c3c2 authored by Evren Kutar's avatar Evren Kutar

ADD refs GH-6 dgeni and dgeni-packages for documentation

parent fbd02c97
...@@ -7,7 +7,8 @@ var Package = require('dgeni').Package; ...@@ -7,7 +7,8 @@ var Package = require('dgeni').Package;
// the jsdoc and nunjucks packages defined in the dgeni-packages npm module. // the jsdoc and nunjucks packages defined in the dgeni-packages npm module.
module.exports = new Package('docs_conf', [ module.exports = new Package('docs_conf', [
require('dgeni-packages/jsdoc'), require('dgeni-packages/jsdoc'),
require('dgeni-packages/nunjucks') require('dgeni-packages/nunjucks'),
require('dgeni-packages/links')
]) ])
// Configure our dgeni-example package. We can ask the Dgeni dependency injector // Configure our dgeni-example package. We can ask the Dgeni dependency injector
...@@ -42,5 +43,5 @@ module.exports = new Package('docs_conf', [ ...@@ -42,5 +43,5 @@ module.exports = new Package('docs_conf', [
templateFinder.templatePatterns.unshift('docs-template.html'); templateFinder.templatePatterns.unshift('docs-template.html');
// Specify where the writeFilesProcessor will write our generated doc files // Specify where the writeFilesProcessor will write our generated doc files
writeFilesProcessor.outputFolder = 'documentation'; writeFilesProcessor.outputFolder = 'docs/html';
}); });
\ No newline at end of file
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -34,7 +34,10 @@ ...@@ -34,7 +34,10 @@
"grunt-karma": "~0.8.0", "grunt-karma": "~0.8.0",
"grunt-angular-gettext": "~2.1.0", "grunt-angular-gettext": "~2.1.0",
"git-branch": "*", "git-branch": "*",
"phantomjs": "~1.9.18" "phantomjs": "~1.9.18",
"dgeni": "*",
"dgeni-packages": "*",
"canonical-path": "*"
}, },
"scripts": { "scripts": {
"postinstall": "bower install", "postinstall": "bower install",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment