chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
man: set description in italics in the index
[elogind.git]
/
make-man-index.py
diff --git
a/make-man-index.py
b/make-man-index.py
index e09d62a5e875dd64eb6ec0d9fe5d32895b98846e..36440902542f03fff3e22501e18b0f7100d20704 100755
(executable)
--- a/
make-man-index.py
+++ b/
make-man-index.py
@@
-42,11
+42,14
@@
for n in sorted(index.keys(), key = str.lower):
ul = SubElement(body, 'ul')
ul.set('style', 'list-style-type:none')
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.set('href', path)
a.text = n + '(' + section + ')'
- a.tail = ' -- ' + purpose
+ a.tail = ' -- '
+
+ i = SubElement(li, 'i')
+ i.text = purpose
stdout.write(tostring(html))
stdout.write(tostring(html))