diff --git a/locale/fr/LC_MESSAGES/rougail_output_doc.po b/locale/fr/LC_MESSAGES/rougail_output_doc.po index dd89b83..30032b9 100644 --- a/locale/fr/LC_MESSAGES/rougail_output_doc.po +++ b/locale/fr/LC_MESSAGES/rougail_output_doc.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2025-02-19 12:48+0100\n" -"PO-Revision-Date: 2025-02-19 12:49+0100\n" +"POT-Creation-Date: 2025-03-02 13:36+0100\n" +"PO-Revision-Date: 2025-03-02 13:37+0100\n" "Last-Translator: \n" "Language-Team: \n" "Language: fr\n" @@ -16,27 +16,27 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" "X-Generator: Poedit 3.5\n" -#: src/rougail/output_doc/annotator.py:286 +#: src/rougail/output_doc/annotator.py:288 msgid "when the variable \"{0}\" hasn't the value \"{1}\"" msgstr "lorsque la variable \"{0}\" n'a pas la valeur \"{1}\"" -#: src/rougail/output_doc/annotator.py:292 +#: src/rougail/output_doc/annotator.py:294 msgid "when the variable \"{0}\" has the value \"{1}\"" msgstr "lorsque la variable \"{0}\" a la valeur \"{1}\"" -#: src/rougail/output_doc/annotator.py:308 +#: src/rougail/output_doc/annotator.py:310 msgid "the value of the information \"{0}\" of the variable \"{1}\"" msgstr "la valeur de l'information \"{0}\" de la variable \"{1}\"" -#: src/rougail/output_doc/annotator.py:311 +#: src/rougail/output_doc/annotator.py:313 msgid "the value of the global information \"{0}\"" msgstr "la valeur de l'information globale \"{0}\"" -#: src/rougail/output_doc/annotator.py:318 +#: src/rougail/output_doc/annotator.py:320 msgid "when the identifier is \"{0}\"" msgstr "lorsque l'identifiant est \"{0}\"" -#: src/rougail/output_doc/annotator.py:320 +#: src/rougail/output_doc/annotator.py:322 msgid "when the identifier is not \"{0}\"" msgstr "lorsque l'identifiant n'est pas \"{0}\"" @@ -84,67 +84,75 @@ msgstr "vérifier le mode existe déjà" msgid "Generate document in format" msgstr "Générer le document au format" -#: src/rougail/output_doc/doc.py:86 +#: src/rougail/output_doc/doc.py:88 msgid "mandatory" msgstr "obligatoire" -#: src/rougail/output_doc/doc.py:87 +#: src/rougail/output_doc/doc.py:89 msgid "hidden" msgstr "cachée" -#: src/rougail/output_doc/doc.py:88 +#: src/rougail/output_doc/doc.py:90 msgid "disabled" msgstr "désactivé" -#: src/rougail/output_doc/doc.py:89 +#: src/rougail/output_doc/doc.py:91 msgid "unique" msgstr "unique" -#: src/rougail/output_doc/doc.py:90 +#: src/rougail/output_doc/doc.py:92 msgid "auto modified" msgstr "auto modifiée" -#: src/rougail/output_doc/doc.py:283 +#: src/rougail/output_doc/doc.py:292 msgid "This family contains lists of variable blocks." msgstr "Cette famille contient des listes de bloc de variable." -#: src/rougail/output_doc/doc.py:291 +#: src/rougail/output_doc/doc.py:300 msgid "This family builds families dynamically." msgstr "Cette famille construit des familles dynamiquement." -#: src/rougail/output_doc/doc.py:321 +#: src/rougail/output_doc/doc.py:330 msgid "multiple" msgstr "multiple" -#: src/rougail/output_doc/doc.py:342 +#: src/rougail/output_doc/doc.py:351 msgid "No attribute \"description\" for \"{0}\" in {1}" msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}" -#: src/rougail/output_doc/doc.py:452 +#: src/rougail/output_doc/doc.py:461 msgid "(default)" msgstr "(défaut)" -#: src/rougail/output_doc/doc.py:459 +#: src/rougail/output_doc/doc.py:468 msgid "text based with regular expressions \"{0}\"" msgstr "texte avec expression rationnelle \"{0}\"" -#: src/rougail/output_doc/doc.py:545 +#: src/rougail/output_doc/doc.py:556 msgid "depends on a calculation" msgstr "dépend d'un calcul" -#: src/rougail/output_doc/doc.py:546 +#: src/rougail/output_doc/doc.py:557 msgid "\"{0}\" is a calculation for {1} but has no description in {2}" msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}" -#: src/rougail/output_doc/doc.py:570 +#: src/rougail/output_doc/doc.py:581 msgid "the value of the variable \"{0}\"" msgstr "la valeur de la variable \"{0}\"" -#: src/rougail/output_doc/doc.py:583 +#: src/rougail/output_doc/doc.py:582 +msgid "the value of an undocumented variable" +msgstr "la valeur d'une variable non documentée" + +#: src/rougail/output_doc/doc.py:598 +msgid "the values of undocumented variables" +msgstr "les valeurs de variables non documentées" + +#: src/rougail/output_doc/doc.py:605 msgid "the value of the identifier" msgstr "la valeur de l'identifiant" -#: src/rougail/output_doc/doc.py:587 +#: src/rougail/output_doc/doc.py:609 msgid "the value of the {0}" msgstr "la valeur de l'{0}" @@ -240,43 +248,43 @@ msgstr "longueur maximal pour un secret" msgid "Variables for \"{0}\"" msgstr "Variables pour \"{0}\"" -#: src/rougail/output_doc/utils.py:247 +#: src/rougail/output_doc/utils.py:248 msgid "Identifiers" msgstr "Identifiants" -#: src/rougail/output_doc/utils.py:296 +#: src/rougail/output_doc/utils.py:313 msgid "Validator" msgstr "Validateur" -#: src/rougail/output_doc/utils.py:298 +#: src/rougail/output_doc/utils.py:315 msgid "Validators" msgstr "Validateurs" -#: src/rougail/output_doc/utils.py:300 +#: src/rougail/output_doc/utils.py:317 msgid "Choices" msgstr "Choix" -#: src/rougail/output_doc/utils.py:302 +#: src/rougail/output_doc/utils.py:319 msgid "Default" msgstr "Défaut" -#: src/rougail/output_doc/utils.py:306 +#: src/rougail/output_doc/utils.py:323 msgid "Example" msgstr "Exemple" -#: src/rougail/output_doc/utils.py:308 +#: src/rougail/output_doc/utils.py:325 msgid "Examples" msgstr "Exemples" -#: src/rougail/output_doc/utils.py:346 +#: src/rougail/output_doc/utils.py:365 msgid "Description" msgstr "Description" -#: src/rougail/output_doc/utils.py:346 +#: src/rougail/output_doc/utils.py:365 msgid "Variable" msgstr "Variable" -#: src/rougail/output_doc/utils.py:367 +#: src/rougail/output_doc/utils.py:386 msgid "{0}: {1}" msgstr "{0} : {1}" diff --git a/locale/rougail_output_doc.pot b/locale/rougail_output_doc.pot index 1ce385c..abe655f 100644 --- a/locale/rougail_output_doc.pot +++ b/locale/rougail_output_doc.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-02-19 12:49+0100\n" +"POT-Creation-Date: 2025-03-02 13:37+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,27 +15,27 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/rougail/output_doc/annotator.py:286 +#: src/rougail/output_doc/annotator.py:288 msgid "when the variable \"{0}\" hasn't the value \"{1}\"" msgstr "" -#: src/rougail/output_doc/annotator.py:292 +#: src/rougail/output_doc/annotator.py:294 msgid "when the variable \"{0}\" has the value \"{1}\"" msgstr "" -#: src/rougail/output_doc/annotator.py:308 +#: src/rougail/output_doc/annotator.py:310 msgid "the value of the information \"{0}\" of the variable \"{1}\"" msgstr "" -#: src/rougail/output_doc/annotator.py:311 +#: src/rougail/output_doc/annotator.py:313 msgid "the value of the global information \"{0}\"" msgstr "" -#: src/rougail/output_doc/annotator.py:318 +#: src/rougail/output_doc/annotator.py:320 msgid "when the identifier is \"{0}\"" msgstr "" -#: src/rougail/output_doc/annotator.py:320 +#: src/rougail/output_doc/annotator.py:322 msgid "when the identifier is not \"{0}\"" msgstr "" @@ -83,67 +83,75 @@ msgstr "" msgid "Generate document in format" msgstr "" -#: src/rougail/output_doc/doc.py:86 +#: src/rougail/output_doc/doc.py:88 msgid "mandatory" msgstr "" -#: src/rougail/output_doc/doc.py:87 +#: src/rougail/output_doc/doc.py:89 msgid "hidden" msgstr "" -#: src/rougail/output_doc/doc.py:88 +#: src/rougail/output_doc/doc.py:90 msgid "disabled" msgstr "" -#: src/rougail/output_doc/doc.py:89 +#: src/rougail/output_doc/doc.py:91 msgid "unique" msgstr "" -#: src/rougail/output_doc/doc.py:90 +#: src/rougail/output_doc/doc.py:92 msgid "auto modified" msgstr "" -#: src/rougail/output_doc/doc.py:283 +#: src/rougail/output_doc/doc.py:292 msgid "This family contains lists of variable blocks." msgstr "" -#: src/rougail/output_doc/doc.py:291 +#: src/rougail/output_doc/doc.py:300 msgid "This family builds families dynamically." msgstr "" -#: src/rougail/output_doc/doc.py:321 +#: src/rougail/output_doc/doc.py:330 msgid "multiple" msgstr "" -#: src/rougail/output_doc/doc.py:342 +#: src/rougail/output_doc/doc.py:351 msgid "No attribute \"description\" for \"{0}\" in {1}" msgstr "" -#: src/rougail/output_doc/doc.py:452 +#: src/rougail/output_doc/doc.py:461 msgid "(default)" msgstr "" -#: src/rougail/output_doc/doc.py:459 +#: src/rougail/output_doc/doc.py:468 msgid "text based with regular expressions \"{0}\"" msgstr "" -#: src/rougail/output_doc/doc.py:545 +#: src/rougail/output_doc/doc.py:556 msgid "depends on a calculation" msgstr "" -#: src/rougail/output_doc/doc.py:546 +#: src/rougail/output_doc/doc.py:557 msgid "\"{0}\" is a calculation for {1} but has no description in {2}" msgstr "" -#: src/rougail/output_doc/doc.py:570 +#: src/rougail/output_doc/doc.py:581 msgid "the value of the variable \"{0}\"" msgstr "" -#: src/rougail/output_doc/doc.py:583 +#: src/rougail/output_doc/doc.py:582 +msgid "the value of an undocumented variable" +msgstr "" + +#: src/rougail/output_doc/doc.py:598 +msgid "the values of undocumented variables" +msgstr "" + +#: src/rougail/output_doc/doc.py:605 msgid "the value of the identifier" msgstr "" -#: src/rougail/output_doc/doc.py:587 +#: src/rougail/output_doc/doc.py:609 msgid "the value of the {0}" msgstr "" @@ -239,43 +247,43 @@ msgstr "" msgid "Variables for \"{0}\"" msgstr "" -#: src/rougail/output_doc/utils.py:247 +#: src/rougail/output_doc/utils.py:248 msgid "Identifiers" msgstr "" -#: src/rougail/output_doc/utils.py:296 +#: src/rougail/output_doc/utils.py:313 msgid "Validator" msgstr "" -#: src/rougail/output_doc/utils.py:298 +#: src/rougail/output_doc/utils.py:315 msgid "Validators" msgstr "" -#: src/rougail/output_doc/utils.py:300 +#: src/rougail/output_doc/utils.py:317 msgid "Choices" msgstr "" -#: src/rougail/output_doc/utils.py:302 +#: src/rougail/output_doc/utils.py:319 msgid "Default" msgstr "" -#: src/rougail/output_doc/utils.py:306 +#: src/rougail/output_doc/utils.py:323 msgid "Example" msgstr "" -#: src/rougail/output_doc/utils.py:308 +#: src/rougail/output_doc/utils.py:325 msgid "Examples" msgstr "" -#: src/rougail/output_doc/utils.py:346 +#: src/rougail/output_doc/utils.py:365 msgid "Description" msgstr "" -#: src/rougail/output_doc/utils.py:346 +#: src/rougail/output_doc/utils.py:365 msgid "Variable" msgstr "" -#: src/rougail/output_doc/utils.py:367 +#: src/rougail/output_doc/utils.py:386 msgid "{0}: {1}" msgstr "" diff --git a/src/rougail/output_doc/annotator.py b/src/rougail/output_doc/annotator.py index 48419a5..5afe105 100644 --- a/src/rougail/output_doc/annotator.py +++ b/src/rougail/output_doc/annotator.py @@ -143,7 +143,9 @@ class Annotator(Walk): variable.default = list(values) else: variable.default = [CONVERT_OPTION[variable.type]["example"]] - self.objectspace.informations.add(variable.path, "default_value_makes_sense", False) + self.objectspace.informations.add( + variable.path, "default_value_makes_sense", False + ) self.objectspace.informations.add( variable.path, "dictionaries", variable.xmlfiles ) @@ -328,6 +330,6 @@ class Annotator(Walk): variable_path, path, ) - elif version == '1.0' and '{{ suffix }}' in variable_path: + elif version == "1.0" and "{{ suffix }}" in variable_path: variable_path = variable_path.replace("{{ suffix }}", "{{ identifier }}") return variable_path diff --git a/src/rougail/output_doc/doc.py b/src/rougail/output_doc/doc.py index c272bcd..d08c54b 100644 --- a/src/rougail/output_doc/doc.py +++ b/src/rougail/output_doc/doc.py @@ -27,7 +27,7 @@ from rougail.object_model import PROPERTY_ATTRIBUTE from .config import OutPuts from .i18n import _ -from .utils import to_phrase, DocTypes +from .utils import to_phrase, DocTypes, get_display_path from .example import Examples @@ -66,7 +66,9 @@ class RougailOutputDoc(Examples): if self.modes_level: self.disabled_modes = rougailconfig["doc.disabled_modes"] if self.disabled_modes: - self.conf.property.setdefault(frozenset(self.disabled_modes), "read_write", "append") + self.conf.property.setdefault( + frozenset(self.disabled_modes), "read_write", "append" + ) else: self.disabled_modes = [] self.conf.property.read_write() @@ -127,18 +129,14 @@ class RougailOutputDoc(Examples): return if path not in self.dynamic_paths: self.dynamic_paths[path] = {"paths": [], "names": []} - self.dynamic_paths[path]["paths"].append( - self._dyn_path_to_italic(variable, path) - ) + self._dyn_path_to_italic(self.dynamic_paths[path], variable, path) self.dynamic_paths[path]["names"].append(variable.name()) def _populate_dynamic_family(self, family, path) -> None: if family.isdynamic(): if path not in self.dynamic_paths: self.dynamic_paths[path] = {"paths": [], "names": []} - self.dynamic_paths[path]["paths"].append( - self._dyn_path_to_italic(family, path) - ) + self._dyn_path_to_italic(self.dynamic_paths[path], family, path) self.dynamic_paths[path]["names"].append(family.name()) self._populate_dynamics(family) @@ -148,7 +146,7 @@ class RougailOutputDoc(Examples): for child in family.list(): if self._is_inaccessible_user_data(child): continue - if child.type(only_self=True) == 'symlink': + if child.type(only_self=True) == "symlink": continue name = child.name(uncalculated=True) path = child.path(uncalculated=True) @@ -163,7 +161,10 @@ class RougailOutputDoc(Examples): do not comment this family """ properties = child.property.get(uncalculated=True) - for hidden_property in ["hidden", "disabled"]: #chain(["hidden", "disabled"], self.disabled_modes): + for hidden_property in [ + "hidden", + "disabled", + ]: # chain(["hidden", "disabled"], self.disabled_modes): if hidden_property in properties: return True if not child.isoptiondescription(): @@ -263,10 +264,18 @@ class RougailOutputDoc(Examples): return "dynamic" return "family" - def _dyn_path_to_italic(self, child, path: str) -> str: + def _dyn_path_to_italic(self, dico, child, path: str) -> str: + display_path = path for identifier in child.identifiers(): - path = path.replace("{{ identifier }}", self.formater.italic(identifier), 1) - return path + display_path = display_path.replace( + "{{ identifier }}", self.formater.italic(identifier), 1 + ) + path = path.replace("{{ identifier }}", str(identifier), 1) + if display_path != path: + if "display_paths" not in dico: + dico["display_paths"] = {} + dico["display_paths"][len(dico["paths"])] = display_path + dico["paths"].append(path) def _populate_family( self, @@ -340,7 +349,7 @@ class RougailOutputDoc(Examples): not obj.isoptiondescription() or obj.group_type() is not groups.namespace ): warning = _('No attribute "description" for "{0}" in {1}').format( - informations["paths"][0], + obj.path(uncalculated=True), display_xmlfiles(obj.information.get("dictionaries")), ) warn(warning) @@ -374,7 +383,7 @@ class RougailOutputDoc(Examples): if isinstance(example, tuple): example = list(example) for prop in informations["properties"]: - if prop['type'] == 'multiple': + if prop["type"] == "multiple": multi = True break else: @@ -398,7 +407,7 @@ class RougailOutputDoc(Examples): if example is None: example = "xxx" for prop in informations["properties"]: - if prop['type'] == 'multiple': + if prop["type"] == "multiple": multi = True break else: @@ -501,6 +510,8 @@ class RougailOutputDoc(Examples): return None default = self._to_string(variable, "default", do_not_raise=True) if default is not None: + if default == []: + default = None return default default = variable.value.get(uncalculated=True) if default == []: @@ -567,15 +578,26 @@ class RougailOutputDoc(Examples): self.conf.option(path).get() except AttributeError: return None - msg = _('the value of the variable "{0}"') + true_msg = _('the value of the variable "{0}"') + hidden_msg = _("the value of an undocumented variable") if "{{ identifier }}" in calculation["value"]: # FIXME pas forcement dans self.dynamic_paths encore ... - values = [ - msg.format(path) - for path in self.dynamic_paths[calculation["value"]]["paths"] - ] + informations = self.dynamic_paths[calculation["value"]] + values = [] + all_is_undocumented = None + for idx, path in enumerate(informations["paths"]): + if self._is_inaccessible_user_data(self.conf.option(path)): + msg = true_msg.format(get_display_path(informations, index)) + all_is_undocumented = False + else: + if all_is_undocumented is None: + all_is_undocumented = True + msg = hidden_msg + values.append(msg) + if all_is_undocumented and len(values) > 1: + values = _("the values of undocumented variables") else: - values = msg.format(calculation["value"]) + values = true_msg.format(calculation["value"]) elif calculation["type"] == "identifier": if prop in PROPERTY_ATTRIBUTE: values = calculation["value"] diff --git a/src/rougail/output_doc/locale/fr/LC_MESSAGES/rougail_output_doc.mo b/src/rougail/output_doc/locale/fr/LC_MESSAGES/rougail_output_doc.mo index b7d6fd9..f983755 100644 Binary files a/src/rougail/output_doc/locale/fr/LC_MESSAGES/rougail_output_doc.mo and b/src/rougail/output_doc/locale/fr/LC_MESSAGES/rougail_output_doc.mo differ diff --git a/src/rougail/output_doc/utils.py b/src/rougail/output_doc/utils.py index f26a9dc..65d2e73 100644 --- a/src/rougail/output_doc/utils.py +++ b/src/rougail/output_doc/utils.py @@ -94,10 +94,10 @@ _yaml = YAML() _yaml.indent(mapping=2, sequence=4, offset=2) -def dump(dico): +def dump(informations): """Dump variable, means transform bool, ... to yaml string""" with BytesIO() as ymlfh: - _yaml.dump(dico, ymlfh) + _yaml.dump(informations, ymlfh) ret = ymlfh.getvalue().decode("utf-8").strip() if ret.endswith("..."): ret = ret[:-3].strip() @@ -194,19 +194,19 @@ class CommonFormater: """Manage the header of a table""" return lst - def run(self, dico: dict, level: int) -> str: + def run(self, informations: dict, level: int) -> str: """Transform to string""" msg = self.header() - if dico: - msg += self.dict_to_string(dico, level) + if informations: + msg += self.dict_to_string(informations, level) return msg - def dict_to_string(self, dico: dict, level: int) -> str: + def dict_to_string(self, informations: dict, level: int) -> str: """Parse the dict to transform to dict""" msg = "" table_datas = [] ori_level = None - for value in dico.values(): + for value in informations.values(): if value["type"] == "namespace": if ori_level is None: ori_level = level @@ -226,82 +226,99 @@ class CommonFormater: return msg # FAMILY - def namespace_to_string(self, dico: dict, level: int) -> str: + def namespace_to_string(self, informations: dict, level: int) -> str: """manage namespace family""" return self.title( - _('Variables for "{0}"').format(self.family_description(dico)), level + _('Variables for "{0}"').format(self.family_description(informations)), + level, ) - def family_to_string(self, dico: dict, level: int) -> str: + def family_to_string(self, informations: dict, level: int) -> str: """manage other family type""" - msg = self.title(self.family_description(dico), level) + msg = self.title(self.family_description(informations), level) calculated_properties = [] - msg += self.property_to_string(dico, calculated_properties) + ENTER + msg += self.property_to_string(informations, calculated_properties) + ENTER if calculated_properties: msg += self.join(calculated_properties) + ENTER - helps = dico.get("help") + helps = informations.get("help") if helps: for help_ in helps: msg += help_.strip() + ENTER - if "identifiers" in dico: - msg += self.section(_("Identifiers"), dico["identifiers"]) + ENTER + if "identifiers" in informations: + msg += self.section(_("Identifiers"), informations["identifiers"]) + ENTER return msg - def family_description(self, dico: dict) -> str(): + def family_description(self, informations: dict) -> str(): """Get family name""" - if "description" in dico: - return dico["description"] + if "description" in informations: + return informations["description"] return display_list( - dico["paths"], + [ + get_display_path(informations, index) + for index in range(len(informations["paths"])) + ], separator="or", ) # VARIABLE - def variable_to_string(self, dico: dict, table_datas: dict) -> None: + def variable_to_string(self, informations: dict, table_datas: dict) -> None: """Manage variable""" calculated_properties = [] table_datas.append( [ - self.join(self.variable_first_column(dico, calculated_properties)), - self.join(self.variable_second_column(dico, calculated_properties)), + self.join( + self.variable_first_column(informations, calculated_properties) + ), + self.join( + self.variable_second_column(informations, calculated_properties) + ), ] ) - def variable_first_column(self, dico: dict, calculated_properties: list) -> list: + def variable_first_column( + self, informations: dict, calculated_properties: list + ) -> list: """Collect string for the first column""" first_col = [ - self.join([self.bold(path_) for path_ in dico["paths"]]), - self.property_to_string(dico, calculated_properties), + self.join( + [ + self.bold(get_display_path(informations, index)) + for index in range(len(informations["paths"])) + ] + ), + self.property_to_string(informations, calculated_properties), ] self.columns(first_col) return first_col - def variable_second_column(self, dico: dict, calculated_properties: list) -> list: + def variable_second_column( + self, informations: dict, calculated_properties: list + ) -> list: """Collect string for the second column""" - if "descriptions" in dico: - description = self.join(list(dict.fromkeys(dico["descriptions"]))) + if "descriptions" in informations: + description = self.join(list(dict.fromkeys(informations["descriptions"]))) else: description = to_phrase( display_list( - list(dict.fromkeys(dico["names"])), + list(dict.fromkeys(informations["names"])), separator="or", ) ) second_col = [self.stripped(description)] - for help_ in dico.get("help", []): + for help_ in informations.get("help", []): second_col.append(self.stripped(help_)) - if "validators" in dico: - validators = dico["validators"] + if "validators" in informations: + validators = informations["validators"] if len(validators) == 1: second_col.append(self.section(_("Validator"), validators[0])) else: second_col.append(self.section(_("Validators"), self.list(validators))) - if "choices" in dico: - second_col.append(self.section(_("Choices"), dico["choices"])) - if "default" in dico and dico.get("display_default", True): - second_col.append(self.section(_("Default"), dico["default"])) - if "examples" in dico: - examples = dico["examples"] + if "choices" in informations: + second_col.append(self.section(_("Choices"), informations["choices"])) + if "default" in informations and informations.get("display_default", True): + second_col.append(self.section(_("Default"), informations["default"])) + if "examples" in informations: + examples = informations["examples"] if len(examples) == 1: second_col.append(self.section(_("Example"), examples[0])) else: @@ -311,10 +328,12 @@ class CommonFormater: return second_col # OTHERs - def property_to_string(self, dico: dict, calculated_properties: list) -> str: + def property_to_string( + self, informations: dict, calculated_properties: list + ) -> str: """Transform properties to string""" properties = [] - for prop in dico.get("properties", []): + for prop in informations.get("properties", []): if prop["type"] == "type": properties.append(self.link(prop["name"], ROUGAIL_VARIABLE_TYPE)) else: @@ -365,3 +384,9 @@ class CommonFormater: if not isinstance(msg, str): msg = dump(msg) return _("{0}: {1}").format(self.bold(name), msg) + + +def get_display_path(informations: dict, index: int) -> str: + if "display_paths" in informations and index in informations["display_paths"]: + return informations["display_paths"][index] + return informations["paths"][index] diff --git a/tests/results/test/60_5family_dynamic_calc_variable_empty.adoc b/tests/results/test/60_5family_dynamic_calc_variable_empty.adoc index ba63811..2999590 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_empty.adoc +++ b/tests/results/test/60_5family_dynamic_calc_variable_empty.adoc @@ -39,9 +39,6 @@ A dynamic variable. **var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A variable calculated. + -**Default**: - -* the value of the variable "dyn__val1__.var" -* the value of the variable "dyn__val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test/60_5family_dynamic_calc_variable_empty.json b/tests/results/test/60_5family_dynamic_calc_variable_empty.json index 0616ec8..248305c 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_empty.json +++ b/tests/results/test/60_5family_dynamic_calc_variable_empty.json @@ -88,10 +88,7 @@ }, "var2": { "type": "variable", - "default": [ - "the value of the variable \"dynval1.var\"", - "the value of the variable \"dynval2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test/60_5family_dynamic_calc_variable_empty.md b/tests/results/test/60_5family_dynamic_calc_variable_empty.md index ff3eb46..be1d4ce 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_empty.md +++ b/tests/results/test/60_5family_dynamic_calc_variable_empty.md @@ -20,5 +20,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**:
- the value of the variable "dyn*val1*.var"
- the value of the variable "dyn*val2*.var" | +| **var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test/60_5family_dynamic_calc_variable_empty.sh b/tests/results/test/60_5family_dynamic_calc_variable_empty.sh index 6d411cd..60104d5 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_empty.sh +++ b/tests/results/test/60_5family_dynamic_calc_variable_empty.sh @@ -36,13 +36,10 @@ This family builds families dynamically. -  Variable                               Description                            +  Variable                                Description                           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ var2 - string standard mandatory A variable calculated. - Default: + string standard mandatory A variable calculated. + Default: the values of undocumented + variables. - - • the value of the variable "dynval1.var" - • the value of the variable "dynval2.var" - | diff --git a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.adoc b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.adoc index 6a2255a..462cbbc 100644 --- a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.adoc +++ b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.adoc @@ -40,9 +40,6 @@ A variable inside dynamic family. + **var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable. + -**Default**: - -* the value of the variable "dyn___val1__.var" -* the value of the variable "dyn___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.json b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.json index e619b8c..42b6299 100644 --- a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.json +++ b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.json @@ -90,10 +90,7 @@ }, "var2": { "type": "variable", - "default": [ - "the value of the variable \"dyn_val1.var\"", - "the value of the variable \"dyn_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.md b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.md index 37ab047..7aeb32d 100644 --- a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.md +++ b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.md @@ -20,5 +20,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable.
**Default**:
- the value of the variable "dyn_*val1*.var"
- the value of the variable "dyn_*val2*.var" | +| **var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.sh b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.sh index 6af5bd1..daf0edf 100644 --- a/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.sh +++ b/tests/results/test/60_5family_dynamic_variable_outside_suffix_empty.sh @@ -43,9 +43,6 @@ This family builds families dynamically. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ var2 string standard A variable. - Default: + Default: the values of undocumented + variables. - - • the value of the variable "dyn_val1.var" - • the value of the variable "dyn_val2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.adoc index a287de6..abfe9e5 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.adoc @@ -41,9 +41,6 @@ A dynamic variable. **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A variable calculated. + -**Default**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.json index 41fd928..cc73be9 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.json @@ -106,10 +106,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.md index 8357f79..07e9ba3 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.sh b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.sh index 19f1969..761cf7a 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty.sh @@ -38,13 +38,10 @@ This family builds families dynamically. -  Variable                               Description                            +  Variable                                Description                           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory A variable calculated. - Default: + string standard mandatory A variable calculated. + Default: the values of undocumented + variables. - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.adoc new file mode 100644 index 0000000..7aff2fa --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.adoc @@ -0,0 +1,42 @@ +== Variables for "Rougail" + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `unique` `multiple` | +A suffix variable. + +**Example**: val1 +|==== + +=== rougail.dyn__val1__ + +`basic` + +This family builds families dynamically. + +**Identifiers**: the value of the variable "rougail.var1". + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.dyn__val1__.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` | +A dynamic variable. +|==== + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | +A variable calculated. + +**Default**: the value of an undocumented variable +|==== + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.json new file mode 100644 index 0000000..bddfae9 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.json @@ -0,0 +1,133 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "paths": [ + "rougail" + ], + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "basic" + } + ] + }, + "children": { + "rougail.var1": { + "type": "variable", + "properties": [ + { + "type": "type", + "name": "string" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "unique" + }, + { + "type": "multiple", + "name": "multiple" + } + ], + "paths": [ + "rougail.var1" + ], + "names": [ + "var1" + ], + "descriptions": [ + "A suffix variable." + ], + "examples": [ + "val1" + ] + }, + "dyn{{ identifier }}": { + "type": "dynamic", + "informations": { + "paths": [ + "rougail.dynval1" + ], + "names": [ + "dynval1" + ], + "properties": [ + { + "type": "mode", + "name": "basic" + } + ], + "identifiers": "the value of the variable \"rougail.var1\".", + "help": [ + "This family builds families dynamically." + ] + }, + "children": { + "rougail.dyn{{ identifier }}.var": { + "paths": [ + "rougail.dynval1.var" + ], + "names": [ + "var" + ], + "type": "variable", + "properties": [ + { + "type": "type", + "name": "string" + }, + { + "type": "mode", + "name": "basic" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "descriptions": [ + "A dynamic variable." + ] + } + } + }, + "rougail.var2": { + "type": "variable", + "default": [ + "the value of an undocumented variable" + ], + "properties": [ + { + "type": "type", + "name": "string" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "paths": [ + "rougail.var2" + ], + "names": [ + "var2" + ], + "descriptions": [ + "A variable calculated." + ] + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.md new file mode 100644 index 0000000..ce50676 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.md @@ -0,0 +1,26 @@ +--- +gitea: none +include_toc: true +--- +# Variables for "Rougail" + +| Variable                                                                                                           | Description                                                                                                        | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple` | A suffix variable.
**Example**: val1 | + +## rougail.dyn*val1* + +`basic` + +This family builds families dynamically. + +**Identifiers**: the value of the variable "rougail.var1". + +| Variable                                                                                                           | Description                                                                                                        | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.dyn*val1*.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A dynamic variable. | + +| Variable                                                                                                           | Description                                                                                                        | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**: the value of an undocumented variable | + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.sh b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.sh new file mode 100644 index 0000000..2e5afdf --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_empty_2.sh @@ -0,0 +1,41 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variables for "Rougail" ┃ +┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ + + + + +  Variable                               Description                            + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + rougail.var1 + string standard unique multiple A suffix variable. + Example: val1 + + + + rougail.dynval1 + +basic + +This family builds families dynamically. + +Identifiers: the value of the variable "rougail.var1". + + + +  Variable                               Description                            + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + rougail.dynval1.var + string basic mandatory A dynamic variable. + + + + + +  Variable                                Description                           + ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + rougail.var2 + string standard mandatory A variable calculated. + Default: the value of an undocumented + variable + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.adoc index a287de6..abfe9e5 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.adoc @@ -41,9 +41,6 @@ A dynamic variable. **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A variable calculated. + -**Default**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.json b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.json index 41fd928..cc73be9 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.json @@ -106,10 +106,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.md b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.md index 8357f79..07e9ba3 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.sh b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.sh index 19f1969..761cf7a 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_empty.sh @@ -38,13 +38,10 @@ This family builds families dynamically. -  Variable                               Description                            +  Variable                                Description                           ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory A variable calculated. - Default: + string standard mandatory A variable calculated. + Default: the values of undocumented + variables. - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.adoc index 119c3f4..9787e62 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.adoc @@ -44,12 +44,7 @@ A variable 1. + **rougail.__val4___dyn.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A variable 2. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" -* the value of the variable "rougail.__val3___dyn.var1" -* the value of the variable "rougail.__val4___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var3** + @@ -58,12 +53,7 @@ A variable 2. + **rougail.__val4___dyn.var3** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A variable 3. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" -* the value of the variable "rougail.__val3___dyn.var1" -* the value of the variable "rougail.__val4___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var4** + diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.json b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.json index 10337d9..1b0039c 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.json @@ -128,12 +128,7 @@ "var2" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"", - "the value of the variable \"rougail.val3_dyn.var1\"", - "the value of the variable \"rougail.val4_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", @@ -166,12 +161,7 @@ "var3" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"", - "the value of the variable \"rougail.val3_dyn.var1\"", - "the value of the variable \"rougail.val4_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.md b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.md index b209c27..a20227e 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.md @@ -19,7 +19,7 @@ This family builds families dynamically. | Variable                                                                                                                | Description                                                                                                             | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.*val1*_dyn.var1**
**rougail.*val2*_dyn.var1**
**rougail.*val3*_dyn.var1**
**rougail.*val4*_dyn.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable 1.
**Default**: the value of the identifier. | -| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
**rougail.*val3*_dyn.var2**
**rougail.*val4*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable 2.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1"
- the value of the variable "rougail.*val3*_dyn.var1"
- the value of the variable "rougail.*val4*_dyn.var1" | -| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
**rougail.*val3*_dyn.var3**
**rougail.*val4*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable 3.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1"
- the value of the variable "rougail.*val3*_dyn.var1"
- the value of the variable "rougail.*val4*_dyn.var1" | +| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
**rougail.*val3*_dyn.var2**
**rougail.*val4*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable 2.
**Default**: the values of undocumented variables. | +| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
**rougail.*val3*_dyn.var3**
**rougail.*val4*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable 3.
**Default**: the values of undocumented variables. | | **rougail.*val1*_dyn.var4**
**rougail.*val2*_dyn.var4**
**rougail.*val3*_dyn.var4**
**rougail.*val4*_dyn.var4**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable 4.
**Default**: the value of the variable "rougail.val4_dyn.var1".
**Disabled**: depends on a calculation. | diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh index bcce636..35959a0 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh @@ -35,6 +35,17 @@ This family builds families dynamically. + + + + + + + + + + + @@ -52,22 +63,21 @@ This family builds families dynamically. rougail.val3_dyn.var2 rougail.val4_dyn.var2 string standard mandatory A variable 2. - Default: + Default: the values of undocumented + variables. + rougail.val1_dyn.var3 + rougail.val2_dyn.var3 + rougail.val3_dyn.var3 + rougail.val4_dyn.var3 + string standard mandatory A variable 3. + Default: the values of undocumented + variables. + rougail.val1_dyn.var4 + rougail.val2_dyn.var4 + rougail.val3_dyn.var4 + rougail.val4_dyn.var4 + string standard mandatory disabled A variable 4. + Default: the value of the variable + "rougail.val4_dyn.var1". + Disabled: depends on a calculation. - - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - • the value of the variable "rougail.val3_dyn.var1" - • the value of the variable "rougail.val4_dyn.var1" - | | rougail.val1_dyn.var3 rougail.val2_dyn.var3 rougail.val3_dyn.var3 - rougail.val4_dyn.var3 string standard mandatory - | A variable 3. Default: - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - • the value of the variable "rougail.val3_dyn.var1" - • the value of the variable "rougail.val4_dyn.var1" - | | rougail.val1_dyn.var4 rougail.val2_dyn.var4 rougail.val3_dyn.var4 - rougail.val4_dyn.var4 string standard mandatory disabled - | A variable 4. Default: the value of the variable "rougail.val4_dyn.var1". - Disabled: depends on a calculation. - | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside.adoc index 21b7b44..228e311 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside.adoc @@ -42,9 +42,6 @@ A variable inside a dynamic family. + **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside.json index 2f46fb8..dc4eaeb 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside.json @@ -108,10 +108,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside.md index 9b49ab0..96c6055 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside.sh index 9385e1c..d7e59c1 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside.sh @@ -42,14 +42,11 @@ This family builds families dynamically. -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory unique A variable. + string standard mandatory unique A variable. multiple - Default: + Default: the values of undocumented + variables. - - • the value of the variable "rougail.my_dyn_family_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.adoc index a8080b4..8818481 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.adoc @@ -8,10 +8,7 @@ **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.var" +**Default**: the values of undocumented variables. | **rougail.var** + diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.json index 466bad5..cfdf97b 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.json @@ -19,10 +19,7 @@ "children": { "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.md index 6e78374..00db238 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.md @@ -6,7 +6,7 @@ include_toc: true | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | | **rougail.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A suffix variable.
**Default**:
- val1
- val2 | ## a dynamic family diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.sh index 794d10f..feb9d66 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2.sh @@ -4,19 +4,22 @@ + + -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory unique A variable. + string standard mandatory unique A variable. + multiple + Default: the values of undocumented + variables. + rougail.var + string standard mandatory unique A suffix variable. multiple Default: - • the value of the variable "rougail.my_dyn_family_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.var" - | | rougail.var string standard mandatory unique multiple - | A suffix variable. Default:  • val1  • val2  | @@ -34,10 +37,11 @@ This family builds families dynamically. -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.my_dyn_family_val1.var rougail.my_dyn_family_val2.var - string standard A variable inside a dynamic family. - Default: the value of the identifier. + string standard A variable inside a dynamic family. + Default: the value of the + identifier. diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.adoc index ea5f967..0cda7a9 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.adoc @@ -8,10 +8,7 @@ **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.var" +**Default**: the values of undocumented variables. | **rougail.var** + diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.json index edee82b..6d43bd3 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.json @@ -19,10 +19,7 @@ "children": { "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.md index fce3a00..78b9311 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.md @@ -6,7 +6,7 @@ include_toc: true | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | | **rougail.var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple` | A suffix variable.
**Examples**:
- val1
- val2 | ## a dynamic family diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.sh index d490d41..be76b09 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside2_empty.sh @@ -4,19 +4,21 @@ + + -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory unique A variable. + string standard mandatory unique A variable. multiple - Default: + Default: the values of undocumented + variables. + rougail.var + string standard unique multiple A suffix variable. + Examples: - • the value of the variable "rougail.my_dyn_family_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.var" - | | rougail.var string standard unique multiple - | A suffix variable. Examples:  • val1  • val2  | @@ -34,10 +36,11 @@ This family builds families dynamically. -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.my_dyn_family_val1.var rougail.my_dyn_family_val2.var - string standard A variable inside a dynamic family. - Default: the value of the identifier. + string standard A variable inside a dynamic family. + Default: the value of the + identifier. diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.adoc index 21b7b44..228e311 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.adoc @@ -42,9 +42,6 @@ A variable inside a dynamic family. + **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.json index 2f46fb8..dc4eaeb 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.json @@ -108,10 +108,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.md index 9b49ab0..96c6055 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.sh index 9385e1c..d7e59c1 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_1_0.sh @@ -42,14 +42,11 @@ This family builds families dynamically. -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory unique A variable. + string standard mandatory unique A variable. multiple - Default: + Default: the values of undocumented + variables. - - • the value of the variable "rougail.my_dyn_family_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.adoc index 9196262..09557e2 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.adoc @@ -42,9 +42,6 @@ A variable inside a dynamic family. + **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.json index 39f96b0..a13f3bb 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.json @@ -104,10 +104,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.md index 7617064..de847d7 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.sh index d086438..40bdf7b 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_empty.sh @@ -41,14 +41,11 @@ This family builds families dynamically. -  Variable                                Description                           +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 - string standard mandatory unique A variable. + string standard mandatory unique A variable. multiple - Default: + Default: the values of undocumented + variables. - - • the value of the variable "rougail.my_dyn_family_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.adoc index 132ffdb..bd3ed49 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.adoc @@ -52,11 +52,6 @@ A variable inside a sub dynamic family. + **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `unique` `multiple` | A variable. + -**Default**: - -* the value of the variable "rougail.my_dyn_family___val1__.subdyn___val1__.var" -* the value of the variable "rougail.my_dyn_family___val1__.subdyn___val2__.var" -* the value of the variable "rougail.my_dyn_family___val2__.subdyn___val1__.var" -* the value of the variable "rougail.my_dyn_family___val2__.subdyn___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.json index 9cbb227..8ece850 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.json @@ -142,12 +142,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.my_dyn_family_val1.subdyn_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val1.subdyn_val2.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.subdyn_val1.var\"", - "the value of the variable \"rougail.my_dyn_family_val2.subdyn_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.md index 795f3ad..a025558 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.md @@ -30,5 +30,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple` | A variable.
**Default**:
- the value of the variable "rougail.my_dyn_family_*val1*.subdyn_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val1*.subdyn_*val2*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.subdyn_*val1*.var"
- the value of the variable "rougail.my_dyn_family_*val2*.subdyn_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.sh index eeb9ee1..8ae667e 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_sub_suffix_empty.sh @@ -57,11 +57,6 @@ This family builds families dynamically. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 string standard unique multiple A variable. - Default: + Default: the values of undocumented + variables. - - • the value of the variable "rougail.my_dyn_family_val1.subdyn_val1.var" - • the value of the variable "rougail.my_dyn_family_val1.subdyn_val2.var" - • the value of the variable "rougail.my_dyn_family_val2.subdyn_val1.var" - • the value of the variable "rougail.my_dyn_family_val2.subdyn_val2.var" - | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.adoc b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.adoc index b599d8b..b7e76e0 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.adoc @@ -42,9 +42,6 @@ A variable inside dynamic family. + **rougail.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable. + -**Default**: - -* the value of the variable "rougail.dyn___val1__.var" -* the value of the variable "rougail.dyn___val2__.var" +**Default**: the values of undocumented variables. |==== diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.json b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.json index 3f6d649..4454e2a 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.json +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.json @@ -108,10 +108,7 @@ }, "rougail.var2": { "type": "variable", - "default": [ - "the value of the variable \"rougail.dyn_val1.var\"", - "the value of the variable \"rougail.dyn_val2.var\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.md b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.md index e0270a9..1afb57e 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.md +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.md @@ -22,5 +22,5 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable.
**Default**:
- the value of the variable "rougail.dyn_*val1*.var"
- the value of the variable "rougail.dyn_*val2*.var" | +| **rougail.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable.
**Default**: the values of undocumented variables. | diff --git a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.sh b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.sh index 16d0b6d..66052ad 100644 --- a/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_variable_outside_suffix_empty.sh @@ -45,9 +45,6 @@ This family builds families dynamically. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ rougail.var2 string standard A variable. - Default: + Default: the values of undocumented + variables. - - • the value of the variable "rougail.dyn_val1.var" - • the value of the variable "rougail.dyn_val2.var" - | diff --git a/tests/results/test_namespace/60_6family_dynamic_inside.adoc b/tests/results/test_namespace/60_6family_dynamic_inside.adoc index 77b2730..5c0fde7 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_inside.adoc @@ -38,20 +38,14 @@ Value is suffix. + **rougail.__val2___dyn.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var3** + **rougail.__val2___dyn.var3** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is relative first variable. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var4** + diff --git a/tests/results/test_namespace/60_6family_dynamic_inside.json b/tests/results/test_namespace/60_6family_dynamic_inside.json index fb311e3..54aea6f 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside.json +++ b/tests/results/test_namespace/60_6family_dynamic_inside.json @@ -118,10 +118,7 @@ "var2" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", @@ -150,10 +147,7 @@ "var3" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_6family_dynamic_inside.md b/tests/results/test_namespace/60_6family_dynamic_inside.md index 45a9559..1778aff 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside.md +++ b/tests/results/test_namespace/60_6family_dynamic_inside.md @@ -19,7 +19,7 @@ This family builds families dynamically. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.*val1*_dyn.var1**
**rougail.*val2*_dyn.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is suffix.
**Default**: the value of the identifier. | -| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1" | -| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1" | +| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
**Default**: the values of undocumented variables. | +| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
**Default**: the values of undocumented variables. | | **rougail.*val1*_dyn.var4**
**rougail.*val2*_dyn.var4**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable of val1.
**Default**: the value of the variable "rougail.val1_dyn.var1". | diff --git a/tests/results/test_namespace/60_6family_dynamic_inside.sh b/tests/results/test_namespace/60_6family_dynamic_inside.sh index 2afec60..6cf87c2 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside.sh +++ b/tests/results/test_namespace/60_6family_dynamic_inside.sh @@ -32,6 +32,12 @@ This family builds families dynamically. + + + + + +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -43,16 +49,16 @@ This family builds families dynamically. rougail.val1_dyn.var2 rougail.val2_dyn.var2 string standard mandatory Value is first variable. - Default: + Default: the values of undocumented + variables. + rougail.val1_dyn.var3 + rougail.val2_dyn.var3 + string standard mandatory Value is relative first variable. + Default: the values of undocumented + variables. + rougail.val1_dyn.var4 + rougail.val2_dyn.var4 + string standard mandatory Value is first variable of val1. + Default: the value of the variable + "rougail.val1_dyn.var1". - - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - | | rougail.val1_dyn.var3 rougail.val2_dyn.var3 string standard mandatory - | Value is relative first variable. Default: - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - | | rougail.val1_dyn.var4 rougail.val2_dyn.var4 string standard mandatory - | Value is first variable of val1. Default: the value of the variable - "rougail.val1_dyn.var1". - | diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_empty.adoc b/tests/results/test_namespace/60_6family_dynamic_inside_empty.adoc index 7e5c776..61ef3b8 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside_empty.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_inside_empty.adoc @@ -38,20 +38,14 @@ Value is suffix. + **rougail.__val2___dyn.var2** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var3** + **rougail.__val2___dyn.var3** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is relative first variable. + -**Default**: - -* the value of the variable "rougail.__val1___dyn.var1" -* the value of the variable "rougail.__val2___dyn.var1" +**Default**: the values of undocumented variables. | **rougail.__val1___dyn.var4** + diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_empty.json b/tests/results/test_namespace/60_6family_dynamic_inside_empty.json index cc7c50e..a7b8ccf 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside_empty.json +++ b/tests/results/test_namespace/60_6family_dynamic_inside_empty.json @@ -114,10 +114,7 @@ "var2" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", @@ -146,10 +143,7 @@ "var3" ], "type": "variable", - "default": [ - "the value of the variable \"rougail.val1_dyn.var1\"", - "the value of the variable \"rougail.val2_dyn.var1\"" - ], + "default": "the values of undocumented variables.", "properties": [ { "type": "type", diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_empty.md b/tests/results/test_namespace/60_6family_dynamic_inside_empty.md index e66d7f1..e8782d8 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside_empty.md +++ b/tests/results/test_namespace/60_6family_dynamic_inside_empty.md @@ -19,7 +19,7 @@ This family builds families dynamically. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.*val1*_dyn.var1**
**rougail.*val2*_dyn.var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is suffix.
**Default**: the value of the identifier. | -| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1" | -| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
**Default**:
- the value of the variable "rougail.*val1*_dyn.var1"
- the value of the variable "rougail.*val2*_dyn.var1" | +| **rougail.*val1*_dyn.var2**
**rougail.*val2*_dyn.var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
**Default**: the values of undocumented variables. | +| **rougail.*val1*_dyn.var3**
**rougail.*val2*_dyn.var3**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
**Default**: the values of undocumented variables. | | **rougail.*val1*_dyn.var4**
**rougail.*val2*_dyn.var4**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable of val1.
**Default**: the value of the variable "rougail.val1_dyn.var1". | diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_empty.sh b/tests/results/test_namespace/60_6family_dynamic_inside_empty.sh index 6b4b64f..6bc6511 100644 --- a/tests/results/test_namespace/60_6family_dynamic_inside_empty.sh +++ b/tests/results/test_namespace/60_6family_dynamic_inside_empty.sh @@ -31,6 +31,12 @@ This family builds families dynamically. + + + + + +  Variable                               Description                            ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -42,16 +48,16 @@ This family builds families dynamically. rougail.val1_dyn.var2 rougail.val2_dyn.var2 string standard mandatory Value is first variable. - Default: + Default: the values of undocumented + variables. + rougail.val1_dyn.var3 + rougail.val2_dyn.var3 + string standard mandatory Value is relative first variable. + Default: the values of undocumented + variables. + rougail.val1_dyn.var4 + rougail.val2_dyn.var4 + string standard mandatory Value is first variable of val1. + Default: the value of the variable + "rougail.val1_dyn.var1". - - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - | | rougail.val1_dyn.var3 rougail.val2_dyn.var3 string standard mandatory - | Value is relative first variable. Default: - • the value of the variable "rougail.val1_dyn.var1" - • the value of the variable "rougail.val2_dyn.var1" - | | rougail.val1_dyn.var4 rougail.val2_dyn.var4 string standard mandatory - | Value is first variable of val1. Default: the value of the variable - "rougail.val1_dyn.var1". - | diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.adoc b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.adoc index 28be3ed..f19f0be 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.adoc @@ -40,10 +40,7 @@ A dynamic variable. + This family builds families dynamically. -**Identifiers**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Identifiers**: the values of undocumented variables. [cols="1a,1a"] |==== diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.json b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.json index ce5f925..49c1774 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.json +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.json @@ -138,10 +138,7 @@ "name": "standard" } ], - "identifiers": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "identifiers": "the values of undocumented variables.", "help": [ "This family builds families dynamically." ] diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.md b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.md index 6d99115..11c5160 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.md +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.md @@ -26,7 +26,7 @@ This family builds families dynamically. This family builds families dynamically. -**Identifiers**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" +**Identifiers**: the values of undocumented variables. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.sh b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.sh index 5da0bdd..6cb2497 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.sh +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic.sh @@ -45,10 +45,7 @@ This family builds families dynamically. This family builds families dynamically. -Identifiers: - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" +Identifiers: the values of undocumented variables. diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.adoc b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.adoc index 28be3ed..f19f0be 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.adoc @@ -40,10 +40,7 @@ A dynamic variable. + This family builds families dynamically. -**Identifiers**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Identifiers**: the values of undocumented variables. [cols="1a,1a"] |==== diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.json b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.json index ce5f925..49c1774 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.json +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.json @@ -138,10 +138,7 @@ "name": "standard" } ], - "identifiers": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "identifiers": "the values of undocumented variables.", "help": [ "This family builds families dynamically." ] diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.md b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.md index 6d99115..11c5160 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.md +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.md @@ -26,7 +26,7 @@ This family builds families dynamically. This family builds families dynamically. -**Identifiers**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" +**Identifiers**: the values of undocumented variables. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.sh b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.sh index 5da0bdd..6cb2497 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.sh +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_1_0.sh @@ -45,10 +45,7 @@ This family builds families dynamically. This family builds families dynamically. -Identifiers: - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" +Identifiers: the values of undocumented variables. diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.adoc b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.adoc index a00bff3..8e45eab 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.adoc @@ -40,10 +40,7 @@ A dynamic variable. + This family builds families dynamically. -**Identifiers**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Identifiers**: the values of undocumented variables. [cols="1a,1a"] |==== diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.json b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.json index bb9ebaa..7afa06b 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.json +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.json @@ -130,10 +130,7 @@ "name": "standard" } ], - "identifiers": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "identifiers": "the values of undocumented variables.", "help": [ "This family builds families dynamically." ] diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.md b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.md index 4b95afd..d7edd4f 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.md +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.md @@ -26,7 +26,7 @@ This family builds families dynamically. This family builds families dynamically. -**Identifiers**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" +**Identifiers**: the values of undocumented variables. | Variable                                                                                                                       | Description                                                                                                                    | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.sh b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.sh index 61a7c83..f987141 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.sh +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty.sh @@ -44,10 +44,7 @@ This family builds families dynamically. This family builds families dynamically. -Identifiers: - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" +Identifiers: the values of undocumented variables. diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.adoc b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.adoc index 7a96689..fe650dc 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.adoc +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.adoc @@ -39,10 +39,7 @@ A dynamic variable. This family builds families dynamically. -**Identifiers**: - -* the value of the variable "rougail.dyn__val1__.var" -* the value of the variable "rougail.dyn__val2__.var" +**Identifiers**: the values of undocumented variables. [cols="1a,1a"] |==== diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.json b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.json index c622d2f..8674916 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.json +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.json @@ -125,10 +125,7 @@ "name": "standard" } ], - "identifiers": [ - "the value of the variable \"rougail.dynval1.var\"", - "the value of the variable \"rougail.dynval2.var\"" - ], + "identifiers": "the values of undocumented variables.", "help": [ "This family builds families dynamically." ] diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.md b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.md index ae6c032..2437e47 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.md +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.md @@ -26,7 +26,7 @@ This family builds families dynamically. This family builds families dynamically. -**Identifiers**:
- the value of the variable "rougail.dyn*val1*.var"
- the value of the variable "rougail.dyn*val2*.var" +**Identifiers**: the values of undocumented variables. | Variable                                                                                                           | Description                                                                                                        | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.sh b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.sh index 89e48bb..5f45d3b 100644 --- a/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.sh +++ b/tests/results/test_namespace/60_6family_dynamic_sub_dynamic_empty2.sh @@ -41,10 +41,7 @@ This family builds families dynamically. This family builds families dynamically. -Identifiers: - - • the value of the variable "rougail.dynval1.var" - • the value of the variable "rougail.dynval2.var" +Identifiers: the values of undocumented variables. diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_empty_2.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_empty_2.md new file mode 100644 index 0000000..c2f0d05 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_empty_2.md @@ -0,0 +1,23 @@ +--- +gitea: none +include_toc: true +--- +# Example with mandatory variables not filled in + +```yaml +--- +rougail: + dynval1: + var: example +``` +# Example with all variables modifiable + +```yaml +--- +rougail: + var1: + - val1 + dynval1: + var: example + var2: example +```