mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
fixing broken docs links
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user