From b8fac353f07c00c21a16926740aaec4b1c8cb487 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 31 Aug 2012 16:29:49 -0700 Subject: chore(docs): don't rewrite colons in doc filenames --- docs/src/gen-docs.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs/src/gen-docs.js') diff --git a/docs/src/gen-docs.js b/docs/src/gen-docs.js index c3390819..9c3ce579 100755 --- a/docs/src/gen-docs.js +++ b/docs/src/gen-docs.js @@ -23,8 +23,7 @@ writer.makeDir('build/docs/', true).then(function() { var fileFutures = []; docs.forEach(function(doc){ // this hack is here because on OSX angular.module and angular.Module map to the same file. - var id = doc.id.replace('angular.Module', 'angular.IModule'). - replace(':', '_'); // rewrite : to _ to be GAE-friendly + var id = doc.id.replace('angular.Module', 'angular.IModule'); fileFutures.push(writer.output('partials/' + doc.section + '/' + id + '.html', doc.html())); }); -- cgit v1.2.3