diff --git a/src/rougail/output_doc/collect.py b/src/rougail/output_doc/collect.py index bc006a2da..3d9052816 100644 --- a/src/rougail/output_doc/collect.py +++ b/src/rougail/output_doc/collect.py @@ -440,7 +440,7 @@ class Collect(_ToString): path = family.path(uncalculated=True) informations = {} if not self._collect(family, informations, family_type=family_type): - return False, [] + return False if family_type == "sequence": informations.setdefault("help", []).append( _("This family contains lists of variable blocks") diff --git a/tests/root/00_file.yml b/tests/root/00_file.yml index 3eab595be..d78d9d054 100644 --- a/tests/root/00_file.yml +++ b/tests/root/00_file.yml @@ -46,4 +46,9 @@ a_dynamic_{{ identifier }}: - family4 a_variable: a_value # a variable + + an_hidden_family: + hidden: true + + an_hidden_variable: ...