Commit c4ee39dd authored by Damien George's avatar Damien George
Browse files

tools, gendoc: Output small descr about module TOC.

parent 5f930337
......@@ -327,12 +327,13 @@ class Doc:
def dump(self):
s = []
if self.modules:
s.append('# Modules')
s.append('')
s.append('These are the Python modules that are implemented.')
s.append('')
for m in sorted(self.modules.values(), key=lambda x:x.name):
s.append('')
s.append('# Modules')
for m in sorted(self.modules.values(), key=lambda x:x.name):
s.append('')
s.append('[`{}`]({}) - {}'.format(m.name, m.name, m.descr))
s.append('[`{}`]({}/) - {}'.format(m.name, m.name, m.descr))
return '\n'.join(s)
def write(self, dir):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment