summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2018-02-22 09:45:52 +0100
committerStefan Sauer <ensonic@users.sf.net>2018-02-22 21:11:48 +0100
commit3188a2e3078ba8f9cf7221aa296d6bd2b5b82629 (patch)
treea1a7a740b2496e81f6b6d11c903c5b468f6a2960 /tools
parenta7670f585bed7374f47b862fe0b55942a576dce3 (diff)
downloadgtk-doc-3188a2e3078ba8f9cf7221aa296d6bd2b5b82629.tar.gz
db2html: comment/todo updates
Diffstat (limited to 'tools')
-rw-r--r--tools/db2html.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/db2html.py b/tools/db2html.py
index 9bde318..1cc3180 100644
--- a/tools/db2html.py
+++ b/tools/db2html.py
@@ -185,7 +185,7 @@ def chunk(xml_node, parent=None):
# print('<%s %s>' % (xml_node.tag, xml_node.attrib))
if xml_node.tag in CHUNK_TAGS:
# TODO: do we need to remove the xml-node from the parent?
- # we generate toc from the files tree
+ #
# from copy import deepcopy
# sub_tree = deepcopy(xml_node)
# xml_node.getparent().remove(xml_node)
@@ -610,7 +610,7 @@ def generate_nav_links(ctx):
def generate_toc(ctx, node):
result = []
for c in node.children:
- # TODO: urlencode the filename
+ # TODO: urlencode the filename: urllib.parse.quote_plus()
result.append('<dt><span class="%s"><a href="%s">%s</a></span>\n' % (
c.title_tag, c.filename, c.title))
if c.subtitle: