diff --git a/doc/lib/BackRestDoc/Common/DocRender.pm b/doc/lib/BackRestDoc/Common/DocRender.pm index c193ef6b1..b5b98b770 100644 --- a/doc/lib/BackRestDoc/Common/DocRender.pm +++ b/doc/lib/BackRestDoc/Common/DocRender.pm @@ -362,9 +362,12 @@ sub required { if ($strChildPath =~ /^$strPath$/ || $strChildPath =~ /^$strPath\/.*$/) { - &log(INFO, " require section: ${strChildPath}"); + if (!defined(${$self->{oSectionRequired}}{$strChildPath})) + { + &log(INFO, " require section: ${strChildPath}"); - ${$self->{oSectionRequired}}{$strChildPath} = true; + ${$self->{oSectionRequired}}{$strChildPath} = true; + } } } } diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 31aac8d6e..da8543ae0 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -108,6 +108,10 @@ Fixed -specific xml that was loaded for non- projects. + + + Fixed section names being repeated in the info output when multiple --require options depended on the same sections. +
Fixed -specific xml that was loaded for non- projects.
Fixed section names being repeated in the info output when multiple --require options depended on the same sections.