]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add missing parental-agents grammar generation
authorPetr Špaček <pspacek@isc.org>
Tue, 1 Feb 2022 12:04:21 +0000 (13:04 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 1 Feb 2022 16:35:10 +0000 (17:35 +0100)
Formerly parental-agents grammar was an exception and it did not
auto-generate itself from source code. From now on it is generated using
the same mechanism as other grammars.

For consistency with rest of the system, I've also renamed the grammar
file and the link anchors from "parentals" to "parental-agents".

Technically this is fixup for commit
0311705d4b36c536dd541b0b193bd01b68fe90b3.

Related: !5234

doc/arm/Makefile.am
doc/arm/reference.rst
doc/misc/Makefile.am
doc/misc/parental-agents.grammar.rst [moved from doc/misc/parentals.grammar.rst with 84% similarity]

index feebea0737380e25a842128bf2a253314988adf1..75d7e7434cf372fc2eef90f06f99e430c3927bc5 100644 (file)
@@ -40,7 +40,7 @@ EXTRA_DIST =                                  \
        ../misc/master.zoneopt.rst              \
        ../misc/mirror.zoneopt.rst              \
        ../misc/options.grammar.rst             \
-       ../misc/parentals.grammar.rst           \
+       ../misc/parental-agents.grammar.rst     \
        ../misc/primaries.grammar.rst           \
        ../misc/redirect.zoneopt.rst            \
        ../misc/server.grammar.rst              \
index 09e6202eafdd4a8fe5582b3a24296c524a6adc77..a3a75ded5b3af12bc0dd1c8f24ad10f6003806ca 100644 (file)
@@ -851,14 +851,14 @@ At ``debug`` level 4 or higher, the detailed context information logged at
 ``debug`` level 2 is logged for errors other than SERVFAIL and for negative
 responses such as NXDOMAIN.
 
-.. _parentals_grammar:
+.. _parental_agents_grammar:
 
 ``parental-agents`` Statement Grammar
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
-.. include:: ../misc/parentals.grammar.rst
+.. include:: ../misc/parental-agents.grammar.rst
 
-.. _parentals_statement:
+.. _parental_agents_statement:
 
 ``parental-agents`` Statement Definition and Usage
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
index 0951e6aa97b7d01f0ee3c144e8849be8ac8769b7..3aab4c8b3e3bca3c02974cfbdf8acc1ebd561d52 100644 (file)
@@ -38,7 +38,8 @@ OPTIONS_FILES =                               \
        trust-anchors.grammar.rst       \
        managed-keys.grammar.rst        \
        trusted-keys.grammar.rst        \
-       http.grammar.rst
+       http.grammar.rst                \
+       parental-agents.grammar.rst
 
 EXTRA_DIST =                   \
        $(OPTIONS_FILES)        \
@@ -179,4 +180,7 @@ trusted-keys.grammar.rst: options.active rst-grammars.pl
 http.grammar.rst: options.active rst-grammars.pl
        $(AM_V_RST_GRAMMARS)$(PERL) $(srcdir)/rst-grammars.pl options.active http > $@
 
+parental-agents.grammar.rst: options.active rst-grammars.pl
+       $(AM_V_RST_GRAMMARS)$(PERL) $(srcdir)/rst-grammars.pl options.active parental-agents > $@
+
 endif
similarity index 84%
rename from doc/misc/parentals.grammar.rst
rename to doc/misc/parental-agents.grammar.rst
index 144967d68e6658c051916ea4a4ea4129a1af92f6..f30e6a81051a661532d19d78a2bb63e0fdd844d6 100644 (file)
@@ -9,8 +9,10 @@
 .. See the COPYRIGHT file distributed with this work for additional
 .. information regarding copyright ownership.
 
-  parental-agents <string> [ port <integer> ] [ dscp
-      <integer> ] { ( <remote-servers> |
+::
+
+  parental-agents <string> [ port <integer> ] [
+      dscp <integer> ] { ( <remote-servers> |
       <ipv4_address> [ port <integer> ] |
       <ipv6_address> [ port <integer> ] ) [ key
       <string> ] [ tls <string> ]; ... };