[gtk-doc] db2html: comment/todo updates
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] db2html: comment/todo updates
- Date: Thu, 22 Feb 2018 20:12:31 +0000 (UTC)
commit 3188a2e3078ba8f9cf7221aa296d6bd2b5b82629
Author: Stefan Sauer <ensonic users sf net>
Date: Thu Feb 22 09:45:52 2018 +0100
db2html: comment/todo updates
tools/db2html.py | 4 ++--
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]