diff options
| author | Misko Hevery | 2012-01-10 13:46:49 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2012-01-10 22:21:54 -0800 | 
| commit | afd25446d23f24872eb20ac79c8fbd2cff203ef0 (patch) | |
| tree | 5ec34f308b07a6ea46c9d49b7b6bb809cf7e3674 /docs/src/gen-docs.js | |
| parent | 3c3e6980b3584b0a63f03afaaf956dba3b8d93e0 (diff) | |
| download | angular.js-afd25446d23f24872eb20ac79c8fbd2cff203ef0.tar.bz2 | |
feat(ngdocs): support for interface documentation
Diffstat (limited to 'docs/src/gen-docs.js')
| -rwxr-xr-x | docs/src/gen-docs.js | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index 1ca40c60..0df19274 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -20,7 +20,9 @@ writer.makeDir('build/docs/syntaxhighlighter').then(function() {    ngdoc.merge(docs);    var fileFutures = [];    docs.forEach(function(doc){ -    fileFutures.push(writer.output('partials/' + doc.section + '/' + doc.id + '.html', doc.html())); +    // this hack is here bocause on OSX angular.module and angular.Module map to the same file. +    var id = doc.id.replace('angular.Module', 'angular.IModule'); +    fileFutures.push(writer.output('partials/' + doc.section + '/' + id + '.html', doc.html()));    });    writeTheRest(fileFutures); | 
