directive-index: add UDEV fields

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2012-09-16 11:11:34 +02:00
parent d9cfd69403
commit e1abd3efab
3 changed files with 13 additions and 2 deletions

View file

@ -38,6 +38,15 @@ TEMPLATE = '''\
<variablelist id='unit-directives' />
</refsect1>
<refsect1>
<title>UDEV directives</title>
<para>Directives for configuring systemd units through the
udev database.</para>
<variablelist id='udev-directives' />
</refsect1>
</refentry>
'''
@ -91,6 +100,7 @@ def make_page(xml_files):
"Extract directives from xml_files and return XML index tree."
directive_groups = {name:collections.defaultdict(list)
for name in ['unit-directives',
'udev-directives',
]}
for page in xml_files:
_extract_directives(directive_groups, page)