From 7dad7d797f170d27d9ccd16ef09134f5cb0c37c8 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 25 May 2021 21:44:26 -0400 Subject: [PATCH] Add section heading links. Fixes #61. --- python/template.rst | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/python/template.rst b/python/template.rst index 1e2ca49..7869c2b 100644 --- a/python/template.rst +++ b/python/template.rst @@ -10,10 +10,16 @@
{% for section in config %} - - - + + + {% for package in section.packages %}
-

{{ section.name }}

+ {% with section_id = section.name | lower | replace(" ", "-") %} +

+ {{ section.name }} + ΒΆ +

+ {% endwith %} +