From 1849c02606070058b7771fba6896cc792efa45dd Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Fri, 24 Mar 2023 10:46:08 +0100 Subject: [PATCH 1/2] Add missing newline in documentation code example --- doc/arm/zones.inc.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/arm/zones.inc.rst b/doc/arm/zones.inc.rst index 1807029cac..34afe377de 100644 --- a/doc/arm/zones.inc.rst +++ b/doc/arm/zones.inc.rst @@ -460,6 +460,7 @@ This example generates A and AAAA records using modifiers; the AAAA is equivalent to: :: + HOST-0000.EXAMPLE. A 1.2.3.1 HOST-0001.EXAMPLE. A 1.2.3.2 HOST-0002.EXAMPLE. A 1.2.3.3 From 36a5c098bde879d2ff99d120b15364d08e168a5a Mon Sep 17 00:00:00 2001 From: Tom Krizek Date: Fri, 24 Mar 2023 13:30:13 +0100 Subject: [PATCH 2/2] Apply suppress_grammar directive in ARM docs With a newline before the :suppress_grammar: directive, it wasn't actually interpreted as a directive, but rather as node content. Therefore, the directive was ignored and the grammar was incorrectly printed out. --- doc/arm/reference.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/arm/reference.rst b/doc/arm/reference.rst index f380234bc1..d3effe04a8 100644 --- a/doc/arm/reference.rst +++ b/doc/arm/reference.rst @@ -5610,7 +5610,6 @@ any top-level :namedconf:ref:`server` statements are used as defaults. .. namedconf:statement:: keys :tags: server, security :short: Specifies one or more :any:`server_key` s to be used with a remote server. - :suppress_grammar: .. warning:: @@ -6593,7 +6592,6 @@ Here is an example of a typical split DNS setup implemented using .. namedconf:statement:: zone :tags: zone :short: Specifies the zone in a BIND 9 configuration. - :suppress_grammar: :any:`zone` Block Definition and Usage @@ -6604,7 +6602,6 @@ Zone Types .. namedconf:statement:: type :tags: zone :short: Specifies the kind of zone in a given configuration. - :suppress_grammar: The :any:`type` keyword is required for the :any:`zone` configuration unless