From 9ed73475a541ba38ff5d3e42943a817741b1bebb Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 3 Apr 2018 08:58:11 +0200 Subject: [PATCH] mkhtml2: add more planning comments --- gtkdoc/mkhtml2.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py index ef36293..2dda96d 100644 --- a/gtkdoc/mkhtml2.py +++ b/gtkdoc/mkhtml2.py @@ -41,7 +41,13 @@ TODO: attr on the tag of the 'imageobject' - glossary/index: depending on the parents, the headings as h1/h2 - maybe track depth when chunking - - the part titles have a generated prefix, such as 'Part I:' + - handle 'label' attributes on part/chapter/section-types + - the titles will have a generated prefix, such as 'Part I:' + - in the toc it would only be only the label: 'I.' + - we need to separate the toc data from the chunking tree + - since we don't chunk first 'secttion'/'sect1' those are missing from the + toc + - the toc also lists 'sect2' (TODO: check how deep it goes) - replace get_title with a result.extend(convert_title(ctx, title_tag)) - see convert_table() - check each docbook tag if it can contain #PCDATA, if not don't check for -- 2.11.4.GIT