man: set description in italics in the index

This commit is contained in:
Lennart Poettering 2012-07-16 18:10:18 +02:00
parent 34511ca7b1
commit 92e1ecc62b
1 changed files with 6 additions and 3 deletions

View File

@ -42,11 +42,14 @@ for n in sorted(index.keys(), key = str.lower):
ul = SubElement(body, 'ul')
ul.set('style', 'list-style-type:none')
li = SubElement(ul, 'li');
li = SubElement(ul, 'li')
a = SubElement(li, 'a');
a = SubElement(li, 'a')
a.set('href', path)
a.text = n + '(' + section + ')'
a.tail = ' -- ' + purpose
a.tail = ' -- '
i = SubElement(li, 'i')
i.text = purpose
stdout.write(tostring(html))