diff --git a/src/python/internal_backend/sitegen/tasks/sitegen.py b/src/python/internal_backend/sitegen/tasks/sitegen.py index 65f1771ed93..e0faf0dfaf5 100644 --- a/src/python/internal_backend/sitegen/tasks/sitegen.py +++ b/src/python/internal_backend/sitegen/tasks/sitegen.py @@ -377,6 +377,7 @@ def render_html(dst, config, soups, precomputed, template): generated=generate_generated(config, dst), site_toc=generate_site_toc(config, precomputed, dst), has_page_toc=bool(precomputed.page[dst].toc), + page_path=dst, page_toc=precomputed.page[dst].toc, title=title, topdots=topdots) diff --git a/src/python/pants/docs/docsite.mustache b/src/python/pants/docs/docsite.mustache index 3958df79a36..9cab78036c6 100644 --- a/src/python/pants/docs/docsite.mustache +++ b/src/python/pants/docs/docsite.mustache @@ -13,6 +13,8 @@ + +