diff options
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/ngdoc.js | 13 | ||||
| -rw-r--r-- | docs/src/reader.js | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js index 46db34f7..a0536266 100644 --- a/docs/src/ngdoc.js +++ b/docs/src/ngdoc.js @@ -144,7 +144,7 @@ Doc.prototype = { return '<a href="' + absUrl + '">' + (isAngular ? '<code>' : '') + - (title || url.replace(/^#/g, '')).replace(/\n/g, ' ') + + (title || url).replace(/^#/g, '').replace(/\n/g, ' ') + (isAngular ? '</code>' : '') + '</a>'; }); @@ -175,7 +175,6 @@ Doc.prototype = { } }); flush(); - this.name = this.name || ''; this.shortName = this.name.split(this.name.match(/#/) ? /#/ : /\./ ).pop(); this.id = this.id || // if we have an id just use it (((this.file||'').match(/.*\/([^\/]*)\.ngdoc/)||{})[1]) || // try to extract it from file name @@ -252,7 +251,7 @@ Doc.prototype = { } dom.h('Dependencies', self.requires, function(require){ dom.tag('code', function() { - dom.tag('a', {href: 'api/angular.module.NG.' + require.name}, require.name); + dom.tag('a', {href: 'api/angular.module.ng.' + require.name}, require.name); }); dom.html(require.text); }); @@ -620,12 +619,12 @@ var KEYWORD_PRIORITY = { '.index': 1, '.guide': 2, '.angular': 7, - '.angular.module.NG.$filter': 7, + '.angular.module.ng.$filter': 7, '.angular.Object': 7, '.angular.directive': 7, - '.angular.module.NG.$filter': 7, - '.angular.module.NG.$rootScope.Scope': 7, - '.angular.module.NG': 7, + '.angular.module.ng.$filter': 7, + '.angular.module.ng.$rootScope.Scope': 7, + '.angular.module.ng': 7, '.angular.inputType': 7, '.angular.widget': 7, '.angular.mock': 8, diff --git a/docs/src/reader.js b/docs/src/reader.js index 49a1e1b8..ded573c1 100644 --- a/docs/src/reader.js +++ b/docs/src/reader.js @@ -35,7 +35,7 @@ function collect() { return done; }); - //collect all NG Docs in Content Folder + //collect all ng Docs in Content Folder var path2 = 'docs/content'; var promiseB = Q.when(qfs.listTree(path2), function(files){ var done2; |
