diff options
| author | Igor Minar | 2011-06-06 10:15:17 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-06-06 23:10:27 -0700 |
| commit | c6dbdde6dc875c96a0b89bcdef669eb9171259e0 (patch) | |
| tree | ae40b5b561e5c4dc9fb27d14e91ba85cfcd28437 /docs/src/SiteMap.js | |
| parent | f8417b48beaa3080e4e80784c11e8fa68afdec96 (diff) | |
| download | angular.js-c6dbdde6dc875c96a0b89bcdef669eb9171259e0.tar.bz2 | |
fix hashpath prefix for docs/sitemap/etc
Diffstat (limited to 'docs/src/SiteMap.js')
| -rw-r--r-- | docs/src/SiteMap.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/src/SiteMap.js b/docs/src/SiteMap.js index c2b1ec92..7626cbfc 100644 --- a/docs/src/SiteMap.js +++ b/docs/src/SiteMap.js @@ -12,8 +12,10 @@ function SiteMap(docs){ map.push('<?xml version="1.0" encoding="UTF-8"?>'); map.push('<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'); docs.forEach(function(doc){ - map.push(' <url><loc>http://docs.angularjs.org/#!' + - encode(doc.name) + '</loc><changefreq>weekly</changefreq></url>'); + map.push(' <url><loc>http://docs.angularjs.org/#!/' + + encode(doc.section) + '/' + + encode(doc.name) + + '</loc><changefreq>weekly</changefreq></url>'); }); map.push('</urlset>'); map.push(''); |
