diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2017-12-17 15:58:17 +0100 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2017-12-17 15:58:17 +0100 |
commit | bc78a2854bf0d7850d60e37f7dc9b0e49978e620 (patch) | |
tree | 7710af514933d9aa6194d2e4a963475265be8b24 /tools | |
parent | 968fa0f5d7170531dec89a5c39e3957043f688e1 (diff) | |
download | gtk-doc-bc78a2854bf0d7850d60e37f7dc9b0e49978e620.tar.gz |
db2html: more planning for the refentry title
Add the refentry title to the template and some todos to the code.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/db2html.py | 1 | ||||
-rw-r--r-- | tools/templates/refentry.html | 9 |
2 files changed, 10 insertions, 0 deletions
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 @@ <body> {{ navigation_ref(nav_home, nav_up, nav_prev, nav_next) }} <div class="refentry"> +<div class="refnamediv"> + <table width="100%"><tr> + <td valign="top"> + <h2><span class="refentrytitle"><a name="tester-GtkdocTester.top_of_page"></a>{{ title }}</span></h2> + <p>{{ title }} — module for gtk-doc unit test</p> + </td> + <td class="gallery_image" valign="top" align="right"></td> + </tr></table> +</div> </div> </body> </html>
\ No newline at end of file |