chiark / gitweb /
docs: gtk-doc warnings are annoying
[elogind.git] / make-directive-index.py
index 0c3b67a..af2d948 100644 (file)
@@ -38,6 +38,33 @@ TEMPLATE = '''\
 
                 <variablelist id='unit-directives' />
         </refsect1>
+
+        <refsect1>
+                <title>System manager directives</title>
+
+                <para>Directives for configuring the behaviour of the
+                systemd process.</para>
+
+                <variablelist id='systemd-directives' />
+        </refsect1>
+
+        <refsect1>
+                <title>UDEV directives</title>
+
+                <para>Directives for configuring systemd units through the
+                udev database.</para>
+
+                <variablelist id='udev-directives' />
+        </refsect1>
+
+        <refsect1>
+                <title>Journal directives</title>
+
+                <para>Directives for configuring the behaviour of the
+                journald process.</para>
+
+                <variablelist id='journal-directives' />
+        </refsect1>
 </refentry>
 '''
 
@@ -91,6 +118,9 @@ 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',
+                                     'systemd-directives',
+                                     'journal-directives',
                                      ]}
     for page in xml_files:
         _extract_directives(directive_groups, page)