aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/ngdoc.js
diff options
context:
space:
mode:
authorIgor Minar2011-06-06 10:15:17 -0700
committerIgor Minar2011-06-06 23:10:27 -0700
commitc6dbdde6dc875c96a0b89bcdef669eb9171259e0 (patch)
treeae40b5b561e5c4dc9fb27d14e91ba85cfcd28437 /docs/src/ngdoc.js
parentf8417b48beaa3080e4e80784c11e8fa68afdec96 (diff)
downloadangular.js-c6dbdde6dc875c96a0b89bcdef669eb9171259e0.tar.bz2
fix hashpath prefix for docs/sitemap/etc
Diffstat (limited to 'docs/src/ngdoc.js')
-rw-r--r--docs/src/ngdoc.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/ngdoc.js b/docs/src/ngdoc.js
index 61ac6f78..be4efb6b 100644
--- a/docs/src/ngdoc.js
+++ b/docs/src/ngdoc.js
@@ -534,9 +534,9 @@ Doc.prototype = {
function scenarios(docs){
var specs = [];
docs.forEach(function(doc){
- specs.push('describe("' + doc.id + '", function(){');
+ specs.push('describe("' + doc.section + '/' + doc.id + '", function(){');
specs.push(' beforeEach(function(){');
- specs.push(' browser().navigateTo("index.html#!' + doc.id + '");');
+ specs.push(' browser().navigateTo("index.html#!/' + doc.section + '/' + doc.id + '");');
specs.push(' });');
specs.push('');
doc.scenarios.forEach(function(scenario){