feat: tags documentation
This commit is contained in:
parent
72fa10208e
commit
9bbb60c460
43 changed files with 693 additions and 81 deletions
|
|
@ -5,8 +5,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2025-10-22 16:58+0200\n"
|
||||
"PO-Revision-Date: 2025-10-22 16:59+0200\n"
|
||||
"POT-Creation-Date: 2025-10-26 15:19+0100\n"
|
||||
"PO-Revision-Date: 2025-10-26 15:20+0100\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
|
|
@ -104,107 +104,115 @@ msgstr "Générer le document au format"
|
|||
msgid "Force true color terminal"
|
||||
msgstr "Force les vrais couleurs dans le terminal"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:345
|
||||
#: src/rougail/output_doc/doc.py:344
|
||||
msgid "This family contains lists of variable blocks."
|
||||
msgstr "Cette famille contient des listes de bloc de variable."
|
||||
|
||||
#: src/rougail/output_doc/doc.py:355
|
||||
#: src/rougail/output_doc/doc.py:354
|
||||
msgid "This family builds families dynamically."
|
||||
msgstr "Cette famille construit des familles dynamiquement."
|
||||
|
||||
#: src/rougail/output_doc/doc.py:369
|
||||
#: src/rougail/output_doc/doc.py:368
|
||||
msgid "Default"
|
||||
msgstr "Défaut"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:384
|
||||
#: src/rougail/output_doc/doc.py:383
|
||||
msgid "multiple"
|
||||
msgstr "multiple"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:392
|
||||
#: src/rougail/output_doc/doc.py:391
|
||||
msgid "Example"
|
||||
msgstr "Exemple"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:395
|
||||
#: src/rougail/output_doc/doc.py:394
|
||||
msgid "Examples"
|
||||
msgstr "Exemples"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:421
|
||||
#: src/rougail/output_doc/doc.py:403
|
||||
msgid "Tag"
|
||||
msgstr "Étiquette"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:406
|
||||
msgid "Tags"
|
||||
msgstr "Étiquettes"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:435
|
||||
msgid "No attribute \"description\" for \"{0}\" in {1}"
|
||||
msgstr "Aucun attribut \"description\" pour \"{0}\" dans {1}"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:563
|
||||
#: src/rougail/output_doc/doc.py:577
|
||||
msgid "text based with regular expressions \"{0}\""
|
||||
msgstr "texte avec expression rationnelle \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:567
|
||||
#: src/rougail/output_doc/doc.py:581
|
||||
msgid "Validator"
|
||||
msgstr "Validateur"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:570
|
||||
#: src/rougail/output_doc/doc.py:584
|
||||
msgid "Validators"
|
||||
msgstr "Validateurs"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:579
|
||||
#: src/rougail/output_doc/doc.py:593
|
||||
msgid "Choices"
|
||||
msgstr "Choix"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:682
|
||||
#: src/rougail/output_doc/doc.py:696
|
||||
msgid "the value of the identifier"
|
||||
msgstr "la valeur de l'identifiant"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:686
|
||||
#: src/rougail/output_doc/doc.py:700
|
||||
msgid "the value of the {0}"
|
||||
msgstr "la valeur de l'{0}"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:695
|
||||
#: src/rougail/output_doc/doc.py:709
|
||||
msgid "depends on a calculation"
|
||||
msgstr "dépend d'un calcul"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:701
|
||||
#: src/rougail/output_doc/doc.py:715
|
||||
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:728 src/rougail/output_doc/doc.py:844
|
||||
#: src/rougail/output_doc/doc.py:742 src/rougail/output_doc/doc.py:858
|
||||
msgid "depends on an undocumented variable"
|
||||
msgstr "dépends d'une variable non documentée"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:744
|
||||
#: src/rougail/output_doc/doc.py:758
|
||||
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/doc.py:746
|
||||
#: src/rougail/output_doc/doc.py:760
|
||||
msgid "when the variable \"{0}\" is defined and hasn't the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" est définie et n'a pas la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:751
|
||||
#: src/rougail/output_doc/doc.py:765
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" a la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:753
|
||||
#: src/rougail/output_doc/doc.py:767
|
||||
msgid "when the variable \"{0}\" is defined and has the value \"{1}\""
|
||||
msgstr "lorsque la variable \"{0}\" est définie et a la valeur \"{1}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:771
|
||||
#: src/rougail/output_doc/doc.py:785
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr "la valeur de la variable \"{0}\""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:773
|
||||
#: src/rougail/output_doc/doc.py:787
|
||||
msgid "the value of the variable \"{0}\" if it is defined"
|
||||
msgstr "la valeur de la variable \"{0}\" si elle est définie"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:774
|
||||
#: src/rougail/output_doc/doc.py:788
|
||||
msgid "the value of an undocumented variable"
|
||||
msgstr "la valeur d'une variable non documentée"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:812
|
||||
#: src/rougail/output_doc/doc.py:826
|
||||
msgid "the values of undocumented variables"
|
||||
msgstr "les valeurs de variables non documentées"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:832
|
||||
#: src/rougail/output_doc/doc.py:846
|
||||
msgid "(from an undocumented variable)"
|
||||
msgstr "(issue d'une variable non documentée)"
|
||||
|
||||
#: src/rougail/output_doc/doc.py:840
|
||||
#: src/rougail/output_doc/doc.py:854
|
||||
msgid "{0} (from an undocumented variable)"
|
||||
msgstr "{0} (issue d'une variable non documentée)"
|
||||
|
||||
|
|
@ -217,12 +225,12 @@ msgid "Example with all variables modifiable"
|
|||
msgstr "Exemple avec toutes les variables modifiable"
|
||||
|
||||
#: src/rougail/output_doc/output/console.py:164
|
||||
#: src/rougail/output_doc/utils.py:777
|
||||
#: src/rougail/output_doc/utils.py:782
|
||||
msgid "Variable"
|
||||
msgstr "Variable"
|
||||
|
||||
#: src/rougail/output_doc/output/console.py:165
|
||||
#: src/rougail/output_doc/utils.py:777
|
||||
#: src/rougail/output_doc/utils.py:782
|
||||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
|
|
@ -338,13 +346,13 @@ msgstr "Variables pour \"{0}\""
|
|||
msgid "Identifiers"
|
||||
msgstr "Identifiants"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:654 src/rougail/output_doc/utils.py:663
|
||||
#: src/rougail/output_doc/utils.py:669 src/rougail/output_doc/utils.py:675
|
||||
#: src/rougail/output_doc/utils.py:679
|
||||
#: src/rougail/output_doc/utils.py:659 src/rougail/output_doc/utils.py:668
|
||||
#: src/rougail/output_doc/utils.py:674 src/rougail/output_doc/utils.py:680
|
||||
#: src/rougail/output_doc/utils.py:684
|
||||
msgid "(default)"
|
||||
msgstr "(défaut)"
|
||||
|
||||
#: src/rougail/output_doc/utils.py:827
|
||||
#: src/rougail/output_doc/utils.py:832
|
||||
msgid "{0}: {1}"
|
||||
msgstr "{0} : {1}"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: 2025-10-22 16:59+0200\n"
|
||||
"POT-Creation-Date: 2025-10-26 15:23+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -103,107 +103,115 @@ msgstr ""
|
|||
msgid "Force true color terminal"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:345
|
||||
#: src/rougail/output_doc/doc.py:344
|
||||
msgid "This family contains lists of variable blocks."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:355
|
||||
#: src/rougail/output_doc/doc.py:354
|
||||
msgid "This family builds families dynamically."
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:369
|
||||
#: src/rougail/output_doc/doc.py:368
|
||||
msgid "Default"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:384
|
||||
#: src/rougail/output_doc/doc.py:383
|
||||
msgid "multiple"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:392
|
||||
#: src/rougail/output_doc/doc.py:391
|
||||
msgid "Example"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:395
|
||||
#: src/rougail/output_doc/doc.py:394
|
||||
msgid "Examples"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:421
|
||||
#: src/rougail/output_doc/doc.py:403
|
||||
msgid "Tag"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:406
|
||||
msgid "Tags"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:435
|
||||
msgid "No attribute \"description\" for \"{0}\" in {1}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:563
|
||||
#: src/rougail/output_doc/doc.py:577
|
||||
msgid "text based with regular expressions \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:567
|
||||
#: src/rougail/output_doc/doc.py:581
|
||||
msgid "Validator"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:570
|
||||
#: src/rougail/output_doc/doc.py:584
|
||||
msgid "Validators"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:579
|
||||
#: src/rougail/output_doc/doc.py:593
|
||||
msgid "Choices"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:682
|
||||
#: src/rougail/output_doc/doc.py:696
|
||||
msgid "the value of the identifier"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:686
|
||||
#: src/rougail/output_doc/doc.py:700
|
||||
msgid "the value of the {0}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:695
|
||||
#: src/rougail/output_doc/doc.py:709
|
||||
msgid "depends on a calculation"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:701
|
||||
#: src/rougail/output_doc/doc.py:715
|
||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:728 src/rougail/output_doc/doc.py:844
|
||||
#: src/rougail/output_doc/doc.py:742 src/rougail/output_doc/doc.py:858
|
||||
msgid "depends on an undocumented variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:744
|
||||
#: src/rougail/output_doc/doc.py:758
|
||||
msgid "when the variable \"{0}\" hasn't the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:746
|
||||
#: src/rougail/output_doc/doc.py:760
|
||||
msgid "when the variable \"{0}\" is defined and hasn't the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:751
|
||||
#: src/rougail/output_doc/doc.py:765
|
||||
msgid "when the variable \"{0}\" has the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:753
|
||||
#: src/rougail/output_doc/doc.py:767
|
||||
msgid "when the variable \"{0}\" is defined and has the value \"{1}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:771
|
||||
#: src/rougail/output_doc/doc.py:785
|
||||
msgid "the value of the variable \"{0}\""
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:773
|
||||
#: src/rougail/output_doc/doc.py:787
|
||||
msgid "the value of the variable \"{0}\" if it is defined"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:774
|
||||
#: src/rougail/output_doc/doc.py:788
|
||||
msgid "the value of an undocumented variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:812
|
||||
#: src/rougail/output_doc/doc.py:826
|
||||
msgid "the values of undocumented variables"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:832
|
||||
#: src/rougail/output_doc/doc.py:846
|
||||
msgid "(from an undocumented variable)"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/doc.py:840
|
||||
#: src/rougail/output_doc/doc.py:854
|
||||
msgid "{0} (from an undocumented variable)"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -216,12 +224,12 @@ msgid "Example with all variables modifiable"
|
|||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/output/console.py:164
|
||||
#: src/rougail/output_doc/utils.py:777
|
||||
#: src/rougail/output_doc/utils.py:782
|
||||
msgid "Variable"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/output/console.py:165
|
||||
#: src/rougail/output_doc/utils.py:777
|
||||
#: src/rougail/output_doc/utils.py:782
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
|
|
@ -337,13 +345,13 @@ msgstr ""
|
|||
msgid "Identifiers"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:654 src/rougail/output_doc/utils.py:663
|
||||
#: src/rougail/output_doc/utils.py:669 src/rougail/output_doc/utils.py:675
|
||||
#: src/rougail/output_doc/utils.py:679
|
||||
#: src/rougail/output_doc/utils.py:659 src/rougail/output_doc/utils.py:668
|
||||
#: src/rougail/output_doc/utils.py:674 src/rougail/output_doc/utils.py:680
|
||||
#: src/rougail/output_doc/utils.py:684
|
||||
msgid "(default)"
|
||||
msgstr ""
|
||||
|
||||
#: src/rougail/output_doc/utils.py:827
|
||||
#: src/rougail/output_doc/utils.py:832
|
||||
msgid "{0}: {1}"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
|
|
@ -260,15 +260,14 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
potential_leader = self._parse_variable_dynamic(
|
||||
variable, leader, name, path, informations, only_one
|
||||
)
|
||||
elif variable.isfollower() and variable.index():
|
||||
self._parse_variable_follower_with_index(
|
||||
variable, leader, name, informations
|
||||
)
|
||||
else:
|
||||
if variable.isfollower() and variable.index():
|
||||
self._parse_variable_follower_with_index(
|
||||
variable, leader, name, informations
|
||||
)
|
||||
else:
|
||||
potential_leader = self.parse_variable_normal(
|
||||
variable, leader, name, path, informations
|
||||
)
|
||||
potential_leader = self.parse_variable_normal(
|
||||
variable, leader, name, path, informations
|
||||
)
|
||||
if potential_leader:
|
||||
leader = potential_leader
|
||||
return leader
|
||||
|
|
@ -389,12 +388,27 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
examples = variable.information.get("test", None)
|
||||
if examples is not None:
|
||||
if len(examples) == 1:
|
||||
informations["examples"] = {"name": _("Example"), "values": examples[0]}
|
||||
name = _("Example")
|
||||
values = examples[0]
|
||||
else:
|
||||
informations["examples"] = {
|
||||
"name": _("Examples"),
|
||||
"values": list(examples),
|
||||
}
|
||||
name = _("Examples")
|
||||
values = list(examples)
|
||||
informations["examples"] = {
|
||||
"name": name,
|
||||
"values": values
|
||||
}
|
||||
tags = variable.information.get("tags", None)
|
||||
if tags:
|
||||
if len(tags) == 1:
|
||||
name = _("Tag")
|
||||
values = tags[0]
|
||||
else:
|
||||
name = _("Tags")
|
||||
values = list(tags)
|
||||
informations["tags"] = {
|
||||
"name": name,
|
||||
"values": values,
|
||||
}
|
||||
return True
|
||||
|
||||
def _populate(
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -532,6 +532,11 @@ class CommonFormater:
|
|||
)
|
||||
if examples:
|
||||
second_col.append(examples)
|
||||
tags = self.convert_section_to_string(
|
||||
"tags", informations, modified_attributes, multi=True
|
||||
)
|
||||
if tags:
|
||||
second_col.append(tags)
|
||||
second_col.extend(calculated_properties)
|
||||
self.columns(second_col)
|
||||
return second_col
|
||||
|
|
|
|||
15
tests/changelog/13add_tags/after/rougail/00-base.yml
Normal file
15
tests/changelog/13add_tags/after/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
tags:
|
||||
- one_tag
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
tags:
|
||||
- one_tag
|
||||
- second_tag
|
||||
...
|
||||
10
tests/changelog/13add_tags/before/rougail/00-base.yml
Normal file
10
tests/changelog/13add_tags/before/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
...
|
||||
22
tests/changelog/13add_tags/result.adoc
Normal file
22
tests/changelog/13add_tags/result.adoc
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
== Modified variables
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**: #one_tag#
|
||||
|
|
||||
|
||||
**var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tags**:
|
||||
|
||||
* '#one_tag#'
|
||||
* '#second_tag#'
|
||||
|====
|
||||
|
||||
16
tests/changelog/13add_tags/result.sh
Normal file
16
tests/changelog/13add_tags/result.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
[1;4;96mModified variables[0m
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: [4mone_tag[0m │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTags[0m: │
|
||||
│ │ - [4mone_tag[0m │
|
||||
│ │ - [4msecond_tag[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
14
tests/changelog/13mod_tags/after/rougail/00-base.yml
Normal file
14
tests/changelog/13mod_tags/after/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
tags:
|
||||
- second_tag
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
tags:
|
||||
- one_tag
|
||||
...
|
||||
15
tests/changelog/13mod_tags/before/rougail/00-base.yml
Normal file
15
tests/changelog/13mod_tags/before/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
tags:
|
||||
- one_tag
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
tags:
|
||||
- one_tag
|
||||
- second_tag
|
||||
...
|
||||
23
tests/changelog/13mod_tags/result.adoc
Normal file
23
tests/changelog/13mod_tags/result.adoc
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
== Modified variables
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**:
|
||||
+++one_tag+++ +
|
||||
#second_tag#
|
||||
|
|
||||
|
||||
**var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tag**:
|
||||
+++second_tag+++ +
|
||||
one_tag
|
||||
|====
|
||||
|
||||
16
tests/changelog/13mod_tags/result.sh
Normal file
16
tests/changelog/13mod_tags/result.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
[1;4;96mModified variables[0m
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: [9mone_tag[0m │
|
||||
│ │ [4msecond_tag[0m │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: [9msecond_tag[0m │
|
||||
│ │ one_tag │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
10
tests/changelog/13remove_tags/after/rougail/00-base.yml
Normal file
10
tests/changelog/13remove_tags/after/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
...
|
||||
15
tests/changelog/13remove_tags/before/rougail/00-base.yml
Normal file
15
tests/changelog/13remove_tags/before/rougail/00-base.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
description: the first variable
|
||||
tags:
|
||||
- one_tag
|
||||
|
||||
var2:
|
||||
description: the second variable
|
||||
tags:
|
||||
- one_tag
|
||||
- second_tag
|
||||
...
|
||||
22
tests/changelog/13remove_tags/result.adoc
Normal file
22
tests/changelog/13remove_tags/result.adoc
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
== Modified variables
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**: +++one_tag+++
|
||||
|
|
||||
|
||||
**var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tags**:
|
||||
|
||||
* +++one_tag+++
|
||||
* +++second_tag+++
|
||||
|====
|
||||
|
||||
16
tests/changelog/13remove_tags/result.sh
Normal file
16
tests/changelog/13remove_tags/result.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
[1;4;96mModified variables[0m
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: [9mone_tag[0m │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTags[0m: │
|
||||
│ │ - [9mone_tag[0m │
|
||||
│ │ - [9msecond_tag[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
20
tests/results/test/02_0tags.adoc
Normal file
20
tests/results/test/02_0tags.adoc
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**: one_tag
|
||||
|
|
||||
|
||||
**var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tags**:
|
||||
|
||||
* one_tag
|
||||
* second_tag
|
||||
|====
|
||||
|
||||
5
tests/results/test/02_0tags.gitlab.md
Normal file
5
tests/results/test/02_0tags.gitlab.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
| Variable | Description |
|
||||
|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
|
||||
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
11
tests/results/test/02_0tags.html
Normal file
11
tests/results/test/02_0tags.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The first variable.<br/><b>Tag</b>: one_tag</td></tr>
|
||||
<tr><td><b>var2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The second variable.<br/><b>Tags</b>: <ul><li>one_tag</li>
|
||||
<li>second_tag</li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
57
tests/results/test/02_0tags.json
Normal file
57
tests/results/test/02_0tags.json
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
{
|
||||
"var1": {
|
||||
"type": "variable",
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "basic"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"path": "var1",
|
||||
"names": [
|
||||
"var1"
|
||||
],
|
||||
"description": "The first variable.",
|
||||
"tags": {
|
||||
"name": "Tag",
|
||||
"values": "one_tag"
|
||||
}
|
||||
},
|
||||
"var2": {
|
||||
"type": "variable",
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "basic"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"path": "var2",
|
||||
"names": [
|
||||
"var2"
|
||||
],
|
||||
"description": "The second variable.",
|
||||
"tags": {
|
||||
"name": "Tags",
|
||||
"values": [
|
||||
"one_tag",
|
||||
"second_tag"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
5
tests/results/test/02_0tags.md
Normal file
5
tests/results/test/02_0tags.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
11
tests/results/test/02_0tags.sh
Normal file
11
tests/results/test/02_0tags.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: one_tag │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTags[0m: │
|
||||
│ │ - one_tag │
|
||||
│ │ - second_tag │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
1
tests/results/test/warnings_02_0tags
Normal file
1
tests/results/test/warnings_02_0tags
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
14
tests/results/test_examples/02_0tags.md
Normal file
14
tests/results/test_examples/02_0tags.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Example with mandatory variables not filled in
|
||||
|
||||
```yaml
|
||||
---
|
||||
var1: example
|
||||
var2: example
|
||||
```
|
||||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
var1: example
|
||||
var2: example
|
||||
```
|
||||
1
tests/results/test_examples/warnings_02_0tags
Normal file
1
tests/results/test_examples/warnings_02_0tags
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
26
tests/results/test_namespace/02_0tags.adoc
Normal file
26
tests/results/test_namespace/02_0tags.adoc
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
== Variables for "Rougail"
|
||||
|
||||
**rougail**
|
||||
|
||||
`basic`
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**: one_tag
|
||||
|
|
||||
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tags**:
|
||||
|
||||
* one_tag
|
||||
* second_tag
|
||||
|====
|
||||
|
||||
22
tests/results/test_namespace/02_0tags.changelog.adoc
Normal file
22
tests/results/test_namespace/02_0tags.changelog.adoc
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
== New variables
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The first variable. +
|
||||
**Tag**: one_tag
|
||||
|
|
||||
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
The second variable. +
|
||||
**Tags**:
|
||||
|
||||
* one_tag
|
||||
* second_tag
|
||||
|====
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<details><summary>New variables</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
13
tests/results/test_namespace/02_0tags.changelog.html
Normal file
13
tests/results/test_namespace/02_0tags.changelog.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<h1>New variables</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>rougail.var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The first variable.<br/><b>Tag</b>: one_tag</td></tr>
|
||||
<tr><td><b>rougail.var2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The second variable.<br/><b>Tags</b>: <ul><li>one_tag</li>
|
||||
<li>second_tag</li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
7
tests/results/test_namespace/02_0tags.changelog.md
Normal file
7
tests/results/test_namespace/02_0tags.changelog.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# New variables
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
16
tests/results/test_namespace/02_0tags.changelog.sh
Normal file
16
tests/results/test_namespace/02_0tags.changelog.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
[1;4;96mNew variables[0m
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mrougail.var1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: one_tag │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mrougail.var2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTags[0m: │
|
||||
│ │ - one_tag │
|
||||
│ │ - second_tag │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
14
tests/results/test_namespace/02_0tags.gitlab.md
Normal file
14
tests/results/test_namespace/02_0tags.gitlab.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<details><summary>Rougail</summary>
|
||||
|
||||
>>> [!note] Informations
|
||||
**rougail**<br>`basic`
|
||||
|
||||
|
||||
>>>
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
</details>
|
||||
|
||||
17
tests/results/test_namespace/02_0tags.html
Normal file
17
tests/results/test_namespace/02_0tags.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<h1>Variables for "Rougail"</h1>
|
||||
|
||||
<b>rougail</b>
|
||||
|
||||
<mark>basic</mark>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>rougail.var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The first variable.<br/><b>Tag</b>: one_tag</td></tr>
|
||||
<tr><td><b>rougail.var2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td>The second variable.<br/><b>Tags</b>: <ul><li>one_tag</li>
|
||||
<li>second_tag</li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
75
tests/results/test_namespace/02_0tags.json
Normal file
75
tests/results/test_namespace/02_0tags.json
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
{
|
||||
"rougail": {
|
||||
"type": "namespace",
|
||||
"informations": {
|
||||
"path": "rougail",
|
||||
"names": [
|
||||
"rougail"
|
||||
],
|
||||
"description": "Rougail",
|
||||
"properties": [
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "basic"
|
||||
}
|
||||
]
|
||||
},
|
||||
"children": {
|
||||
"var1": {
|
||||
"type": "variable",
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "basic"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"path": "rougail.var1",
|
||||
"names": [
|
||||
"var1"
|
||||
],
|
||||
"description": "The first variable.",
|
||||
"tags": {
|
||||
"name": "Tag",
|
||||
"values": "one_tag"
|
||||
}
|
||||
},
|
||||
"var2": {
|
||||
"type": "variable",
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "string"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "basic"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"path": "rougail.var2",
|
||||
"names": [
|
||||
"var2"
|
||||
],
|
||||
"description": "The second variable.",
|
||||
"tags": {
|
||||
"name": "Tags",
|
||||
"values": [
|
||||
"one_tag",
|
||||
"second_tag"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
tests/results/test_namespace/02_0tags.md
Normal file
11
tests/results/test_namespace/02_0tags.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Variables for "Rougail"
|
||||
|
||||
**rougail**
|
||||
|
||||
`basic`
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
26
tests/results/test_namespace/02_0tags.sh
Normal file
26
tests/results/test_namespace/02_0tags.sh
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
|
||||
[1;4;96mVariables for [0m[1;4;96m"Rougail"[0m
|
||||
|
||||
|
||||
|
||||
[1mrougail[0m
|
||||
|
||||
|
||||
|
||||
[1;7m basic [0m
|
||||
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mrougail.var1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTag[0m: one_tag │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mrougail.var2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mTags[0m: │
|
||||
│ │ - one_tag │
|
||||
│ │ - second_tag │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
1
tests/results/test_namespace/warnings_02_0tags
Normal file
1
tests/results/test_namespace/warnings_02_0tags
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
16
tests/results/test_namespace_examples/02_0tags.md
Normal file
16
tests/results/test_namespace_examples/02_0tags.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Example with mandatory variables not filled in
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
var1: example
|
||||
var2: example
|
||||
```
|
||||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
var1: example
|
||||
var2: example
|
||||
```
|
||||
1
tests/results/test_namespace_examples/warnings_02_0tags
Normal file
1
tests/results/test_namespace_examples/warnings_02_0tags
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
5
tests/results/test_namespace_without_family/02_0tags.md
Normal file
5
tests/results/test_namespace_without_family/02_0tags.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The first variable.<br/>**Tag**: one_tag |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | The second variable.<br/>**Tags**: <br/>- one_tag<br/>- second_tag |
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
|
|
@ -20,7 +20,7 @@ excludes = [
|
|||
]
|
||||
|
||||
test_ok = get_structures_list(excludes)
|
||||
#test_ok = [HERE.parent.parent / "rougail-tests" / "structures" / "60_0family_dynamic_source_hidden"]
|
||||
#test_ok = [HERE.parent.parent / "rougail-tests" / "structures" / "02_0tags"]
|
||||
|
||||
os.environ['COLUMNS'] = '80'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue