diff options
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); |
