mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-01 14:00:34 +00:00
fixing broken docs links
This commit is contained in:
parent
4224e8e371
commit
805bb5bb6e
2 changed files with 3 additions and 3 deletions
|
|
@ -130,7 +130,7 @@ Doc.prototype = {
|
|||
|
||||
if (!isFullUrl) self.links.push(absUrl);
|
||||
|
||||
return '<a href="' + (isFullUrl ? '' + url : '#!' + absUrl) + '">'
|
||||
return '<a href="' + (isFullUrl ? '' + url : '#!/' + absUrl) + '">'
|
||||
+ (isAngular ? '<code>' : '')
|
||||
+ (title || url).replace(/\n/g, ' ')
|
||||
+ (isAngular ? '</code>' : '')
|
||||
|
|
|
|||
|
|
@ -191,10 +191,10 @@
|
|||
}
|
||||
|
||||
content = angular.element(
|
||||
'<li><a href="#!tutorial/' + prevStep + '">Previous</a></li>' +
|
||||
'<li><a href="#!/tutorial/' + prevStep + '">Previous</a></li>' +
|
||||
'<li><a href="http://angular.github.com/angular-phonecat/step-' + step + '/app">Live Demo</a></li>' +
|
||||
'<li><a href="https://github.com/angular/angular-phonecat/compare/' + codeDiff + '">Code Diff</a></li>' +
|
||||
'<li><a href="#!tutorial/' + nextStep + '">Next</a></li>'
|
||||
'<li><a href="#!/tutorial/' + nextStep + '">Next</a></li>'
|
||||
);
|
||||
|
||||
element.attr('id', 'tutorial-nav');
|
||||
|
|
|
|||
Loading…
Reference in a new issue