chiark / gitweb /
docs: gtk-doc warnings are annoying
[elogind.git] / make-directive-index.py
index 49d1028..af2d948 100644 (file)
@@ -40,6 +40,15 @@ TEMPLATE = '''\
         </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
@@ -47,6 +56,15 @@ TEMPLATE = '''\
 
                 <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>
 '''
 
@@ -101,6 +119,8 @@ def make_page(xml_files):
     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)