diff --git a/scripts/generate.py b/scripts/generate.py index c3365c1..a6d0c3b 100644 --- a/scripts/generate.py +++ b/scripts/generate.py @@ -675,11 +675,16 @@ def render_as_document(headline, doc, headlineLevel, graph, title): return as_document(render(headline, doc, graph=graph, headlineLevel=headlineLevel), title, render_toc(doc)) def render_toc(doc): - acc = ['