mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
man: set description in italics in the index
This commit is contained in:
parent
34511ca7b1
commit
92e1ecc62b
@ -42,11 +42,14 @@ for n in sorted(index.keys(), key = str.lower):
|
|||||||
ul = SubElement(body, 'ul')
|
ul = SubElement(body, 'ul')
|
||||||
ul.set('style', 'list-style-type:none')
|
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.set('href', path)
|
||||||
a.text = n + '(' + section + ')'
|
a.text = n + '(' + section + ')'
|
||||||
a.tail = ' -- ' + purpose
|
a.tail = ' -- '
|
||||||
|
|
||||||
|
i = SubElement(li, 'i')
|
||||||
|
i.text = purpose
|
||||||
|
|
||||||
stdout.write(tostring(html))
|
stdout.write(tostring(html))
|
||||||
|
Loading…
Reference in New Issue
Block a user