From: Zbigniew Jędrzejewski-Szmek Date: Sun, 27 Jun 2021 14:33:12 +0000 (+0200) Subject: man: add "DNS resource record types" section X-Git-Tag: v249-rc3~27^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F20047%2Fhead;p=thirdparty%2Fsystemd.git man: add "DNS resource record types" section --- diff --git a/man/directives-template.xml b/man/directives-template.xml index 34b103de404..f28bd98d25f 100644 --- a/man/directives-template.xml +++ b/man/directives-template.xml @@ -132,11 +132,17 @@ Constants - Various constant used and/or defined by systemd. + Various constants used and/or defined by systemd. + + DNS resource record types + + + + Miscellaneous options and directives diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py index bbdc5572f53..8a2939959be 100755 --- a/tools/make-directive-index.py +++ b/tools/make-directive-index.py @@ -77,13 +77,14 @@ def _extract_directives(directive_groups, formatting, page): storfile[text].append((pagename, section)) formatting[text] = name - storfile = directive_groups['constants'] for name in t.iterfind('.//constant'): if name.attrib.get('index') == 'false': continue name.tail = '' if name.text.startswith('('): # a cast, strip it name.text = name.text.partition(' ')[2] + klass = name.attrib.get('class') or 'constants' + storfile = directive_groups[klass] storfile[name.text].append((pagename, section)) formatting[name.text] = name