[gtk-doc] mkhtml2: fix refentry page titles



commit 6b08a86129bfee7cc910833e83932f40f42a8f0d
Author: Stefan Sauer <ensonic users sf net>
Date:   Sat Apr 7 16:19:29 2018 +0200

    mkhtml2: fix refentry page titles
    
    We had a static subtitle there.

 gtkdoc/mkhtml2.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtkdoc/mkhtml2.py b/gtkdoc/mkhtml2.py
index 88a5965..f509a93 100644
--- a/gtkdoc/mkhtml2.py
+++ b/gtkdoc/mkhtml2.py
@@ -1286,12 +1286,12 @@ def convert_refentry(ctx):
   <table width="100%%"><tr>
     <td valign="top">
       <h2><span class="refentrytitle"><a name="%s.top_of_page"></a>%s</span></h2>
-      <p>%s — module for gtk-doc unit test</p>
+      <p>%s — %s</p>
     </td>
     <td class="gallery_image" valign="top" align="right"></td>
   </tr></table>
 </div>
-""" % (node_id, node_id, node.title, node.title))
+""" % (node_id, node_id, node.title, node.title, node.subtitle))
 
     for s in refsect1s:
         result.extend(convert_refsect1(ctx, s))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]