From bc78a2854bf0d7850d60e37f7dc9b0e49978e620 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Sun, 17 Dec 2017 15:58:17 +0100 Subject: [PATCH] db2html: more planning for the refentry title Add the refentry title to the template and some todos to the code. --- tools/db2html.py | 1 + tools/templates/refentry.html | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/tools/db2html.py b/tools/db2html.py index 1e817ad..f60e3ab 100644 --- a/tools/db2html.py +++ b/tools/db2html.py @@ -27,6 +27,7 @@ like the xsl-stylesheets would do. For that it resolves all the xml-includes. TODO: convert the docbook-xml to html - more templates - refentry/index nav headers +- for refsec, we need a 'long-title' that also contains refpurpose Requirements: sudo pip3 install anytree jinja2 lxml diff --git a/tools/templates/refentry.html b/tools/templates/refentry.html index 77fd6c2..ca0609b 100644 --- a/tools/templates/refentry.html +++ b/tools/templates/refentry.html @@ -10,6 +10,15 @@ {{ navigation_ref(nav_home, nav_up, nav_prev, nav_next) }}
+
+ + + +
+

{{ title }}

+

{{ title }} — module for gtk-doc unit test

+
+
\ No newline at end of file -- 2.11.4.GIT