From 5d188faac0b7534cd887ef909d59d8be984ebc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lesimple?= Date: Wed, 1 Sep 2021 16:15:57 +0000 Subject: [PATCH] chore: trick perltidy --- doc/sphinx/build-config-doc-ref.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/sphinx/build-config-doc-ref.pl b/doc/sphinx/build-config-doc-ref.pl index 1588858..a8a35aa 100644 --- a/doc/sphinx/build-config-doc-ref.pl +++ b/doc/sphinx/build-config-doc-ref.pl @@ -21,11 +21,9 @@ sub dumpdoc { elsif (defined $h{param} && defined $h{default} && defined $h{desc} && defined $h{type}) { die "attempting to dump data but section=$section" if !$section; push @{$sections{$section}}, $h{param}; - push @out, ".. _$h{param}:\n", "\n" - if $ENV{'GLOBAL_REFS'}; + push @out, (".. _$h{param}:\n", "\n") if $ENV{'GLOBAL_REFS'}; push @out, "$h{param}\n", "*" x length($h{param}) . "\n", "\n", ":Type: ``$h{type}``\n", "\n", ":Default: ``$h{default}``\n", "\n"; - push @out, ":Example: ``$h{example}``\n", "\n" - if $h{example}; + push @out, (":Example: ``$h{example}``\n", "\n") if $h{example}; push @out, "$h{desc}\n", "\n"; } else {