fix: better transitive documentation
This commit is contained in:
parent
1ecd7abbe7
commit
d4b16e918b
128 changed files with 2345 additions and 108 deletions
|
|
@ -5,8 +5,8 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"POT-Creation-Date: 2026-01-27 22:09+0100\n"
|
"POT-Creation-Date: 2026-01-29 08:31+0100\n"
|
||||||
"PO-Revision-Date: 2026-01-27 22:10+0100\n"
|
"PO-Revision-Date: 2026-01-29 08:33+0100\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: fr\n"
|
"Language: fr\n"
|
||||||
|
|
@ -322,77 +322,59 @@ msgstr "dépend d'un calcul"
|
||||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
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}"
|
msgstr "\"{0}\" est un calcul pour {1} mais n'a pas de description dans {2}"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:786 src/rougail/output_doc/doc.py:929
|
#: src/rougail/output_doc/doc.py:786 src/rougail/output_doc/doc.py:913
|
||||||
msgid "depends on an undocumented variable"
|
msgid "depends on an undocumented variable"
|
||||||
msgstr "dépends d'une variable non documentée"
|
msgstr "dépends d'une variable non documentée"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:804
|
#: src/rougail/output_doc/doc.py:804
|
||||||
#, fuzzy
|
msgid "is \"{0}\""
|
||||||
#| msgid "when the variable \"{{0}}\" is {0}\""
|
msgstr "est \"{0}\""
|
||||||
msgid "when the variable \"{{0}}\" is \"{0}\""
|
|
||||||
msgstr "lorsque la variable \"{{0}}\" est \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:812
|
#: src/rougail/output_doc/doc.py:809
|
||||||
msgid ""
|
msgid "is accessible"
|
||||||
"when the variable \"{{0}}\" is defined, accessible and hasn't the value "
|
msgstr "est accessible"
|
||||||
"\"{0}\""
|
|
||||||
msgstr ""
|
#: src/rougail/output_doc/doc.py:811
|
||||||
"lorsque la variable \"{{0}}\" est définie, accessible et n'a pas la valeur "
|
msgid "is defined"
|
||||||
"\"{0}\""
|
msgstr "est définie"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:816
|
#: src/rougail/output_doc/doc.py:816
|
||||||
msgid "when the variable \"{{0}}\" is defined and hasn't the value \"{0}\""
|
msgid "hasn't the value \"{0}\""
|
||||||
msgstr "lorsque la variable \"{{0}}\" est définie et n'a pas la valeur \"{0}\""
|
msgstr "n'a pas la valeur \"{0}\""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:820
|
#: src/rougail/output_doc/doc.py:820
|
||||||
msgid "when the variable \"{{0}}\" is accessible and hasn't the value \"{0}\""
|
msgid "has the value \"{0}\""
|
||||||
msgstr ""
|
msgstr "a la valeur \"{0}\""
|
||||||
"lorsque la variable \"{{0}}\" est accessible et n'a pas la valeur \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:822
|
#: src/rougail/output_doc/doc.py:825
|
||||||
msgid "when the variable \"{{0}}\" hasn't the value \"{0}\""
|
msgid "is {0}"
|
||||||
msgstr "lorsque la variable \"{{0}}\" n'a pas la valeur \"{0}\""
|
msgstr "est {0}"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:826
|
#: src/rougail/output_doc/doc.py:826
|
||||||
msgid ""
|
msgid "when the variable \"{{0}}\" {0}"
|
||||||
"when the variable \"{{0}}\" is defined, is accessible and has the value "
|
msgstr "lorsque la variable \"{{0}}\" {0}"
|
||||||
"\"{0}\""
|
|
||||||
msgstr ""
|
|
||||||
"lorsque la variable \"{{0}}\" est définie, accessible et a la valeur \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:830
|
#: src/rougail/output_doc/doc.py:853
|
||||||
msgid "when the variable \"{{0}}\" is defined and has the value \"{0}\""
|
|
||||||
msgstr "lorsque la variable \"{{0}}\" est définie et a la valeur \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:834
|
|
||||||
msgid "when the variable \"{{0}}\" is accessible and has the value \"{0}\""
|
|
||||||
msgstr "lorsque la variable \"{{0}}\" est accessible et a la valeur \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:836
|
|
||||||
msgid "when the variable \"{{0}}\" has the value \"{0}\""
|
|
||||||
msgstr "lorsque la variable \"{{0}}\" a la valeur \"{0}\""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:869
|
|
||||||
msgid "the value of the variable \"{0}\" if it is defined"
|
msgid "the value of the variable \"{0}\" if it is defined"
|
||||||
msgstr "la valeur de la variable \"{0}\" si elle est définie"
|
msgstr "la valeur de la variable \"{0}\" si elle est définie"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:871
|
#: src/rougail/output_doc/doc.py:855
|
||||||
msgid "the value of the variable \"{0}\""
|
msgid "the value of the variable \"{0}\""
|
||||||
msgstr "la valeur de la variable \"{0}\""
|
msgstr "la valeur de la variable \"{0}\""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:891
|
#: src/rougail/output_doc/doc.py:875
|
||||||
msgid "the value of an undocumented variable"
|
msgid "the value of an undocumented variable"
|
||||||
msgstr "la valeur d'une variable non documentée"
|
msgstr "la valeur d'une variable non documentée"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:894
|
#: src/rougail/output_doc/doc.py:878
|
||||||
msgid "the values of undocumented variables"
|
msgid "the values of undocumented variables"
|
||||||
msgstr "les valeurs de variables non documentées"
|
msgstr "les valeurs de variables non documentées"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:917
|
#: src/rougail/output_doc/doc.py:901
|
||||||
msgid "(from an undocumented variable)"
|
msgid "(from an undocumented variable)"
|
||||||
msgstr "(issue d'une variable non documentée)"
|
msgstr "(issue d'une variable non documentée)"
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:925
|
#: src/rougail/output_doc/doc.py:909
|
||||||
msgid "{0} (from an undocumented variable)"
|
msgid "{0} (from an undocumented variable)"
|
||||||
msgstr "{0} (issue d'une variable non documentée)"
|
msgstr "{0} (issue d'une variable non documentée)"
|
||||||
|
|
||||||
|
|
@ -456,6 +438,41 @@ msgstr "(défaut)"
|
||||||
msgid "{0}: {1}"
|
msgid "{0}: {1}"
|
||||||
msgstr "{0} : {1}"
|
msgstr "{0} : {1}"
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "when the variable \"{{0}}\" is defined, accessible and hasn't the value "
|
||||||
|
#~ "\"{0}\""
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "lorsque la variable \"{{0}}\" est définie, accessible et n'a pas la "
|
||||||
|
#~ "valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid "when the variable \"{{0}}\" is defined and hasn't the value \"{0}\""
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "lorsque la variable \"{{0}}\" est définie et n'a pas la valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "when the variable \"{{0}}\" is accessible and hasn't the value \"{0}\""
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "lorsque la variable \"{{0}}\" est accessible et n'a pas la valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid "when the variable \"{{0}}\" hasn't the value \"{0}\""
|
||||||
|
#~ msgstr "lorsque la variable \"{{0}}\" n'a pas la valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "when the variable \"{{0}}\" is defined, is accessible and has the value "
|
||||||
|
#~ "\"{0}\""
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "lorsque la variable \"{{0}}\" est définie, accessible et a la valeur "
|
||||||
|
#~ "\"{0}\""
|
||||||
|
|
||||||
|
#~ msgid "when the variable \"{{0}}\" is defined and has the value \"{0}\""
|
||||||
|
#~ msgstr "lorsque la variable \"{{0}}\" est définie et a la valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid "when the variable \"{{0}}\" is accessible and has the value \"{0}\""
|
||||||
|
#~ msgstr "lorsque la variable \"{{0}}\" est accessible et a la valeur \"{0}\""
|
||||||
|
|
||||||
|
#~ msgid "when the variable \"{{0}}\" has the value \"{0}\""
|
||||||
|
#~ msgstr "lorsque la variable \"{{0}}\" a la valeur \"{0}\""
|
||||||
|
|
||||||
#~ msgid "Document the child variables of the family"
|
#~ msgid "Document the child variables of the family"
|
||||||
#~ msgstr "Documenter les variables enfants de cette famille"
|
#~ msgstr "Documenter les variables enfants de cette famille"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"POT-Creation-Date: 2026-01-27 22:10+0100\n"
|
"POT-Creation-Date: 2026-01-29 08:33+0100\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
|
@ -276,67 +276,59 @@ msgstr ""
|
||||||
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
msgid "\"{0}\" is a calculation for {1} but has no description in {2}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:786 src/rougail/output_doc/doc.py:929
|
#: src/rougail/output_doc/doc.py:786 src/rougail/output_doc/doc.py:913
|
||||||
msgid "depends on an undocumented variable"
|
msgid "depends on an undocumented variable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:804
|
#: src/rougail/output_doc/doc.py:804
|
||||||
msgid "when the variable \"{{0}}\" is \"{0}\""
|
msgid "is \"{0}\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:812
|
#: src/rougail/output_doc/doc.py:809
|
||||||
msgid "when the variable \"{{0}}\" is defined, accessible and hasn't the value \"{0}\""
|
msgid "is accessible"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/rougail/output_doc/doc.py:811
|
||||||
|
msgid "is defined"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:816
|
#: src/rougail/output_doc/doc.py:816
|
||||||
msgid "when the variable \"{{0}}\" is defined and hasn't the value \"{0}\""
|
msgid "hasn't the value \"{0}\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:820
|
#: src/rougail/output_doc/doc.py:820
|
||||||
msgid "when the variable \"{{0}}\" is accessible and hasn't the value \"{0}\""
|
msgid "has the value \"{0}\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:822
|
#: src/rougail/output_doc/doc.py:825
|
||||||
msgid "when the variable \"{{0}}\" hasn't the value \"{0}\""
|
msgid "is {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:826
|
#: src/rougail/output_doc/doc.py:826
|
||||||
msgid "when the variable \"{{0}}\" is defined, is accessible and has the value \"{0}\""
|
msgid "when the variable \"{{0}}\" {0}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:830
|
#: src/rougail/output_doc/doc.py:853
|
||||||
msgid "when the variable \"{{0}}\" is defined and has the value \"{0}\""
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:834
|
|
||||||
msgid "when the variable \"{{0}}\" is accessible and has the value \"{0}\""
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:836
|
|
||||||
msgid "when the variable \"{{0}}\" has the value \"{0}\""
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:869
|
|
||||||
msgid "the value of the variable \"{0}\" if it is defined"
|
msgid "the value of the variable \"{0}\" if it is defined"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:871
|
#: src/rougail/output_doc/doc.py:855
|
||||||
msgid "the value of the variable \"{0}\""
|
msgid "the value of the variable \"{0}\""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:891
|
#: src/rougail/output_doc/doc.py:875
|
||||||
msgid "the value of an undocumented variable"
|
msgid "the value of an undocumented variable"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:894
|
#: src/rougail/output_doc/doc.py:878
|
||||||
msgid "the values of undocumented variables"
|
msgid "the values of undocumented variables"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:917
|
#: src/rougail/output_doc/doc.py:901
|
||||||
msgid "(from an undocumented variable)"
|
msgid "(from an undocumented variable)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/rougail/output_doc/doc.py:925
|
#: src/rougail/output_doc/doc.py:909
|
||||||
msgid "{0} (from an undocumented variable)"
|
msgid "{0} (from an undocumented variable)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -801,45 +801,29 @@ class RougailOutputDoc(Examples, Changelog):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
if condition["type"] == "transitive":
|
if condition["type"] == "transitive":
|
||||||
msg = _(
|
submsg = _('is "{0}"').format(prop)
|
||||||
'when the variable "{{0}}" is "{0}"'
|
|
||||||
).format(prop)
|
|
||||||
else:
|
else:
|
||||||
condition_type = condition["condition"]
|
condition_type = condition["condition"]
|
||||||
if condition_type == "when_not":
|
conditions = []
|
||||||
if calculation["optional"]:
|
if not calculation["propertyerror"]:
|
||||||
if not calculation["propertyerror"]:
|
conditions.append(_("is accessible"))
|
||||||
msg = _(
|
if calculation["optional"]:
|
||||||
'when the variable "{{0}}" is defined, accessible and hasn\'t the value "{0}"'
|
conditions.append(_("is defined"))
|
||||||
)
|
|
||||||
else:
|
|
||||||
msg = _(
|
|
||||||
'when the variable "{{0}}" is defined and hasn\'t the value "{0}"'
|
|
||||||
)
|
|
||||||
elif not calculation["propertyerror"]:
|
|
||||||
msg = _('when the variable "{{0}}" is accessible and hasn\'t the value "{0}"')
|
|
||||||
else:
|
|
||||||
msg = _('when the variable "{{0}}" hasn\'t the value "{0}"')
|
|
||||||
else:
|
|
||||||
if calculation["optional"]:
|
|
||||||
if not calculation["propertyerror"]:
|
|
||||||
msg = _(
|
|
||||||
'when the variable "{{0}}" is defined, is accessible and has the value "{0}"'
|
|
||||||
)
|
|
||||||
else:
|
|
||||||
msg = _(
|
|
||||||
'when the variable "{{0}}" is defined and has the value "{0}"'
|
|
||||||
)
|
|
||||||
elif not calculation["propertyerror"]:
|
|
||||||
msg = _('when the variable "{{0}}" is accessible and has the value "{0}"')
|
|
||||||
else:
|
|
||||||
msg = _('when the variable "{{0}}" has the value "{0}"')
|
|
||||||
value = condition["value"]
|
value = condition["value"]
|
||||||
if isinstance(value, str):
|
if not isinstance(value, str):
|
||||||
str_value = value
|
value = dump(value)
|
||||||
|
if condition_type == "when_not":
|
||||||
|
conditions.append(_(
|
||||||
|
'hasn\'t the value "{0}"'
|
||||||
|
).format(value))
|
||||||
else:
|
else:
|
||||||
str_value = dump(value)
|
conditions.append(_(
|
||||||
msg = msg.format(str_value)
|
'has the value "{0}"'
|
||||||
|
).format(value))
|
||||||
|
submsg = display_list(conditions, sort=False)
|
||||||
|
if calculation["propertyerror"] == "transitive":
|
||||||
|
submsg = display_list([_("is {0}").format(prop), submsg], separator="or", sort=False)
|
||||||
|
msg = _('when the variable "{{0}}" {0}').format(submsg)
|
||||||
path_obj = {
|
path_obj = {
|
||||||
"path": self.doc_path(variable_path),
|
"path": self.doc_path(variable_path),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -0,0 +1,15 @@
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: false
|
||||||
|
| **variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: disabled +
|
||||||
|
**Disabled**: when the variable "condition" has the value "true"
|
||||||
|
| **variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="condition" name="condition">condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="variable1" name="variable1">variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#condition)" has the value "true" |
|
||||||
|
| **<a id="variable2" name="variable2">variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: false </td></tr>
|
||||||
|
<tr><td><b>variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: disabled<br/><b>Disabled</b>: when the variable "condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,102 @@
|
||||||
|
{
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="condition" name="condition">condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="variable1" name="variable1">variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#condition)" has the value "true" |
|
||||||
|
| **<a id="variable2" name="variable2">variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mcondition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mvariable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "condition" has the value "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mvariable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "variable1" is disabled or has the │
|
||||||
|
│ │ value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: true
|
||||||
|
| **variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: not_disabled +
|
||||||
|
**Disabled**: when the variable "condition" has the value "true"
|
||||||
|
| **variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="condition" name="condition">condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="variable1" name="variable1">variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#condition)" has the value "true" |
|
||||||
|
| **<a id="variable2" name="variable2">variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: true </td></tr>
|
||||||
|
<tr><td><b>variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: not_disabled<br/><b>Disabled</b>: when the variable "condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,102 @@
|
||||||
|
{
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "not_disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"not_disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="condition" name="condition">condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="variable1" name="variable1">variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#condition)" has the value "true" |
|
||||||
|
| **<a id="variable2" name="variable2">variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mcondition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mvariable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: not_disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "condition" has the value "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mvariable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "variable1" is disabled or has the │
|
||||||
|
│ │ value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>variable2: example</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example</pre>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mfalse [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdisabled [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>variable2: example</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example</pre>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtrue [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mnot_disabled [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>variable2: example # A second variable</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable</pre>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mfalse[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A condition[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdisabled[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>variable2: example # A second variable</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable</pre>
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtrue[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A condition[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mnot_disabled[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
== Rougail
|
||||||
|
|
||||||
|
====
|
||||||
|
**🛈 Informations**
|
||||||
|
|
||||||
|
**Path**: rougail +
|
||||||
|
`basic`
|
||||||
|
====
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: false
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<details><summary>Rougail</summary>
|
||||||
|
|
||||||
|
> [!note] 🛈 Informations
|
||||||
|
> **Path**: rougail\
|
||||||
|
> `basic`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<h1>Rougail</h1>
|
||||||
|
|
||||||
|
<b>Path</b>: rougail
|
||||||
|
|
||||||
|
<mark>basic</mark>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: false </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"path": "rougail",
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [],
|
||||||
|
"mode": "basic"
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "rougail.condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Rougail
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: rougail\
|
||||||
|
> `basic`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
[1;4;96mRougail[0m
|
||||||
|
|
||||||
|
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||||
|
[34m▌ [0m
|
||||||
|
[34m▌ [0m[1mPath[0m: rougail
|
||||||
|
[34m▌ [0m[1;7m basic [0m
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.condition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "rougail.condition" has the value │
|
||||||
|
│ │ "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "rougail.variable1" is disabled or │
|
||||||
|
│ │ has the value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
||||||
|
|
@ -0,0 +1,23 @@
|
||||||
|
== Rougail
|
||||||
|
|
||||||
|
====
|
||||||
|
**🛈 Informations**
|
||||||
|
|
||||||
|
**Path**: rougail +
|
||||||
|
`basic`
|
||||||
|
====
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: true
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: not_disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
<details><summary>Rougail</summary>
|
||||||
|
|
||||||
|
> [!note] 🛈 Informations
|
||||||
|
> **Path**: rougail\
|
||||||
|
> `basic`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
<h1>Rougail</h1>
|
||||||
|
|
||||||
|
<b>Path</b>: rougail
|
||||||
|
|
||||||
|
<mark>basic</mark>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: true </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: not_disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"path": "rougail",
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [],
|
||||||
|
"mode": "basic"
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "rougail.condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "not_disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"not_disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Rougail
|
||||||
|
|
||||||
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Path**: rougail\
|
||||||
|
> `basic`
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,25 @@
|
||||||
|
[1;4;96mRougail[0m
|
||||||
|
|
||||||
|
[34m▌ [0m[1;34m🛈 Informations[0m
|
||||||
|
[34m▌ [0m
|
||||||
|
[34m▌ [0m[1mPath[0m: rougail
|
||||||
|
[34m▌ [0m[1;7m basic [0m
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.condition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: not_disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "rougail.condition" has the value │
|
||||||
|
│ │ "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "rougail.variable1" is disabled or │
|
||||||
|
│ │ has the value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>rougail:
|
||||||
|
variable2: example</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>rougail:
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example</pre>
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: false
|
||||||
|
variable1: disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mfalse [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdisabled [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>rougail:
|
||||||
|
variable2: example</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>rougail:
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example</pre>
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail:
|
||||||
|
condition: true
|
||||||
|
variable1: not_disabled
|
||||||
|
variable2: example
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtrue [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mnot_disabled [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>rougail: # Rougail
|
||||||
|
variable2: example # A second variable</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>rougail: # Rougail
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable</pre>
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: false # A condition
|
||||||
|
variable1: disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mfalse[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A condition[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mdisabled[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
== Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
== Example with all variables modifiable
|
||||||
|
|
||||||
|
[,yaml]
|
||||||
|
----
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
----
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
<details><summary>Example with mandatory variables not filled in</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Example with all variables modifiable</summary>
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
<h1>Example with mandatory variables not filled in</h1>
|
||||||
|
|
||||||
|
<pre>rougail: # Rougail
|
||||||
|
variable2: example # A second variable</pre><h1>Example with all variables modifiable</h1>
|
||||||
|
|
||||||
|
<pre>rougail: # Rougail
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable</pre>
|
||||||
|
|
@ -0,0 +1,16 @@
|
||||||
|
# Example with mandatory variables not filled in
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
# Example with all variables modifiable
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
---
|
||||||
|
rougail: # Rougail
|
||||||
|
condition: true # A condition
|
||||||
|
variable1: not_disabled # A variable
|
||||||
|
variable2: example # A second variable
|
||||||
|
```
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
[1;4;96mExample with mandatory variables not filled in[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
[1;4;96mExample with all variables modifiable[0m
|
||||||
|
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m---[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;255;70;137;48;2;39;40;34mrougail[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# Rougail[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mcondition[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mtrue[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A condition[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable1[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mnot_disabled[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A variable[0m[48;2;39;40;34m [0m
|
||||||
|
[38;2;248;248;242;48;2;39;40;34m [0m[38;2;255;70;137;48;2;39;40;34mvariable2[0m[38;2;248;248;242;48;2;39;40;34m:[0m[38;2;248;248;242;48;2;39;40;34m [0m[48;2;39;40;34mexample[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# A second variable[0m[48;2;39;40;34m [0m
|
||||||
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: false
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
== New variables
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: false
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<details><summary>New variables</summary>
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<h1>New variables</h1>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: false </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# New variables
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
[1;4;96mNew variables[0m
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.condition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "rougail.condition" has the value │
|
||||||
|
│ │ "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "rougail.variable1" is disabled or │
|
||||||
|
│ │ has the value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: false </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"path": "rougail",
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [],
|
||||||
|
"mode": "basic"
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": false
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "rougail.condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
false
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: false |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.condition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "rougail.condition" has the value │
|
||||||
|
│ │ "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "rougail.variable1" is disabled or │
|
||||||
|
│ │ has the value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: true
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: not_disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
== New variables
|
||||||
|
|
||||||
|
[cols="1a,1a"]
|
||||||
|
|====
|
||||||
|
| Variable | Description
|
||||||
|
| **rougail.condition** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[boolean]` `standard` `mandatory` | A condition. +
|
||||||
|
**Default**: true
|
||||||
|
| **rougail.variable1** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__disabled__` | A variable. +
|
||||||
|
**Default**: not_disabled +
|
||||||
|
**Disabled**: when the variable "rougail.condition" has the value "true"
|
||||||
|
| **rougail.variable2** +
|
||||||
|
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `__disabled__` | A second variable. +
|
||||||
|
**Disabled**: when the variable "rougail.variable1" is disabled or has the value "disabled"
|
||||||
|
|====
|
||||||
|
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
<details><summary>New variables</summary>
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
<h1>New variables</h1>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: true </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: not_disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
# New variables
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
[1;4;96mNew variables[0m
|
||||||
|
|
||||||
|
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||||
|
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||||
|
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||||
|
│ [1mrougail.condition[0m │ A condition. │
|
||||||
|
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable1[0m │ A variable. │
|
||||||
|
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: not_disabled │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ │ "rougail.condition" has the value │
|
||||||
|
│ │ "true" │
|
||||||
|
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||||
|
│ [1mrougail.variable2[0m │ A second variable. │
|
||||||
|
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable │
|
||||||
|
│ [1;3;7mdisabled[0m[1;7m [0m │ "rougail.variable1" is disabled or │
|
||||||
|
│ │ has the value "disabled" │
|
||||||
|
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||||
|
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
| Variable | Description |
|
||||||
|
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **<a id="rougail.condition" name="rougail.condition">rougail.condition</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: true |
|
||||||
|
| **<a id="rougail.variable1" name="rougail.variable1">rougail.variable1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A variable.<br/>**Default**: not_disabled<br/>**Disabled**: when the variable "[A condition](#rougail.condition)" has the value "true" |
|
||||||
|
| **<a id="rougail.variable2" name="rougail.variable2">rougail.variable2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "[A variable](#rougail.variable1)" is disabled or has the value "disabled" |
|
||||||
|
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
<table>
|
||||||
|
<thead>
|
||||||
|
<tr><th>Variable </th><th>Description </th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr><td><b>rougail.condition</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>boolean</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A condition.<br/><b>Default</b>: true </td></tr>
|
||||||
|
<tr><td><b>rougail.variable1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark></td><td>A variable.<br/><b>Default</b>: not_disabled<br/><b>Disabled</b>: when the variable "rougail.condition" has the value "true"</td></tr>
|
||||||
|
<tr><td><b>rougail.variable2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark> <mark><i>disabled</i></mark> </td><td>A second variable.<br/><b>Disabled</b>: when the variable "rougail.variable1" is disabled or has the value "disabled" </td></tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
@ -0,0 +1,116 @@
|
||||||
|
{
|
||||||
|
"rougail": {
|
||||||
|
"type": "namespace",
|
||||||
|
"informations": {
|
||||||
|
"path": "rougail",
|
||||||
|
"names": [
|
||||||
|
"rougail"
|
||||||
|
],
|
||||||
|
"description": "Rougail",
|
||||||
|
"properties": [],
|
||||||
|
"mode": "basic"
|
||||||
|
},
|
||||||
|
"children": {
|
||||||
|
"condition": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"variable_type": "boolean",
|
||||||
|
"path": "rougail.condition",
|
||||||
|
"names": [
|
||||||
|
"condition"
|
||||||
|
],
|
||||||
|
"description": "A condition.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
true
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable1": {
|
||||||
|
"type": "variable",
|
||||||
|
"default": {
|
||||||
|
"name": "Default",
|
||||||
|
"values": "not_disabled"
|
||||||
|
},
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable1",
|
||||||
|
"names": [
|
||||||
|
"variable1"
|
||||||
|
],
|
||||||
|
"description": "A variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" has the value \"true\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.condition"
|
||||||
|
},
|
||||||
|
"description": "A condition"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "standard",
|
||||||
|
"gen_examples": [
|
||||||
|
"not_disabled"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": false
|
||||||
|
},
|
||||||
|
"variable2": {
|
||||||
|
"type": "variable",
|
||||||
|
"variable_type": "string",
|
||||||
|
"path": "rougail.variable2",
|
||||||
|
"names": [
|
||||||
|
"variable2"
|
||||||
|
],
|
||||||
|
"description": "A second variable.",
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "mandatory",
|
||||||
|
"ori_name": "mandatory",
|
||||||
|
"access_control": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "property",
|
||||||
|
"name": "disabled",
|
||||||
|
"ori_name": "disabled",
|
||||||
|
"access_control": true,
|
||||||
|
"annotation": {
|
||||||
|
"message": "when the variable \"{0}\" is disabled or has the value \"disabled\"",
|
||||||
|
"path": {
|
||||||
|
"path": "rougail.variable1"
|
||||||
|
},
|
||||||
|
"description": "A variable"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"mode": "basic",
|
||||||
|
"gen_examples": [
|
||||||
|
"example"
|
||||||
|
],
|
||||||
|
"mandatory_without_value": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue