blob: ae905889859b6647755c163a97caf1eb3f1cd12d (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | var _ = require('lodash');
var path = require('canonical-path');
var packagePath = __dirname;
var angularjsPackage = require('dgeni-packages/ngdoc');
module.exports = function(config) {
  config = angularjsPackage(config);
  
  config.append('processing.processors', [
    require('./processors/keywords'),
    require('./processors/versions-data'),
    require('./processors/pages-data'),
    require('./processors/index-page')
  ]);
  config.append('processing.tagDefinitions', [
    require('./tag-defs/tutorial-step')
  ]);
  config.set('processing.search.ignoreWordsFile', path.resolve(packagePath, 'ignore.words'));
  config.prepend('rendering.templateFolders', [
    path.resolve(packagePath, 'templates')
  ]);
  return config;
};
 |