Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

"View source" link on docs is broken #3616

Closed
vojtajina opened this issue Aug 16, 2013 · 1 comment
Closed

"View source" link on docs is broken #3616

vojtajina opened this issue Aug 16, 2013 · 1 comment

Comments

@vojtajina
Copy link
Contributor

http:// github.com/angular/angular.js/tree/v undefined /docs/content/api/index.ngdoc#L1

@jamesdaily
Copy link
Contributor

ngdoc.js, line 440, gruntUtil.getVersion().number is returning undefined:

if (this.section === 'api') {
  dom.tag('a', {
      href: 'http://github.com/angular/angular.js/tree/v' +
        gruntUtil.getVersion().number + '/' + self.file + '#L' + self.line,
      class: 'view-source btn btn-action' }, function(dom) {
    dom.tag('i', {class:'icon-zoom-in'}, ' ');
    dom.text(' View source');
  });
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants