tools, gendoc: Output small descr about module TOC.
This commit is contained in:
parent
5f930337bc
commit
c4ee39dd63
@ -327,12 +327,13 @@ class Doc:
|
|||||||
|
|
||||||
def dump(self):
|
def dump(self):
|
||||||
s = []
|
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('')
|
||||||
s.append('# Modules')
|
s.append('[`{}`]({}/) - {}'.format(m.name, m.name, m.descr))
|
||||||
for m in sorted(self.modules.values(), key=lambda x:x.name):
|
|
||||||
s.append('')
|
|
||||||
s.append('[`{}`]({}) - {}'.format(m.name, m.name, m.descr))
|
|
||||||
return '\n'.join(s)
|
return '\n'.join(s)
|
||||||
|
|
||||||
def write(self, dir):
|
def write(self, dir):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user