[gtk-doc] tools/c10e-html: filter more code



commit 49e007c12ce327a34572fc02a07d1ffdcb820f16
Author: Stefan Sauer <ensonic users sf net>
Date:   Mon Apr 16 20:24:27 2018 +0200

    tools/c10e-html: filter more code
    
    Doxbook-xslt produces a default anchor on index pages, that is not used.

 tools/c10e-html.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/tools/c10e-html.py b/tools/c10e-html.py
index 81e8a8d..fa207f2 100755
--- a/tools/c10e-html.py
+++ b/tools/c10e-html.py
@@ -26,6 +26,9 @@ def prettify(filename):
    Generated by GTK-Doc V1.28.1
   </div>
 """, '')
+        html = html.replace("""   <a name="idx">
+   </a>
+""", '')
         html = re.sub(r'\s*<meta content="DocBook[^>]*>', '', html)
         html = re.sub(r'\s*<meta content="GTK-Doc[^>]*>', '', html)
         doc.write(html)


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