diff --git a/public/docs/js/latest/api.jade b/public/docs/js/latest/api.jade index e652be232b..26ab0e7671 100644 --- a/public/docs/js/latest/api.jade +++ b/public/docs/js/latest/api.jade @@ -12,3 +12,12 @@ If you're building a production app today, please use Angular 1.X. These versions of Angular are production ready and available today. + +number = 1; +ul + for page, slug in public.docs[current.path[1]][current.path[2]].api._data + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html" + num = number++ + + li.c8 + != partial("../../../_includes/_hover-card", { number: num, name: page.title, url: url }) diff --git a/public/docs/js/latest/guide.jade b/public/docs/js/latest/guide.jade index 7aa4985793..eacee6b0d6 100644 --- a/public/docs/js/latest/guide.jade +++ b/public/docs/js/latest/guide.jade @@ -3,7 +3,7 @@ ul for page, slug in public.docs[current.path[1]][current.path[2]].guide._data if slug != '_listtype' - url = "/docs/#{current.path[1]}/#{current.path[2]}/#{current.path[3]}/#{current.path[4]}/#{slug}.html" + url = "/docs/" + current.path[1] + "/" + current.path[2] + "/" + current.path[3] + "/" + slug + ".html" num = number++ li.c8