aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
authorDi Peng2011-06-24 15:45:12 -0700
committerDiPeng2011-06-25 08:00:43 -0700
commit8e6e09a4bc461ec8b2e9aeb73cf4d0a3b81e05a0 (patch)
tree58c86ac5a60a70f509e84762cbdf228f9ec4b7af /docs/src
parentf3323ec18eaf849fd50e8a81849721581ae6de5c (diff)
downloadangular.js-8e6e09a4bc461ec8b2e9aeb73cf4d0a3b81e05a0.tar.bz2
fix:docs: Fix sitemap generator to use doc.id instead of doc.name
doc.id should be used instead of doc.name, otherwise links are wrongly generated
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/SiteMap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/SiteMap.js b/docs/src/SiteMap.js
index 7626cbfc..61834c6f 100644
--- a/docs/src/SiteMap.js
+++ b/docs/src/SiteMap.js
@@ -14,7 +14,7 @@ function SiteMap(docs){
docs.forEach(function(doc){
map.push(' <url><loc>http://docs.angularjs.org/#!/' +
encode(doc.section) + '/' +
- encode(doc.name) +
+ encode(doc.id) +
'</loc><changefreq>weekly</changefreq></url>');
});
map.push('</urlset>');