fix: correction for properties in italic
This commit is contained in:
parent
d805cbf565
commit
12622032a8
388 changed files with 948 additions and 1157 deletions
|
@ -25,7 +25,7 @@ classifiers = [
|
|||
|
||||
]
|
||||
dependencies = [
|
||||
"rougail ~= 1.1,<2",
|
||||
"rougail ~= 1.2,<2",
|
||||
"tabulate ~= 0.9.0",
|
||||
]
|
||||
|
||||
|
|
|
@ -195,7 +195,7 @@ class RougailOutputDoc:
|
|||
return_string += self.formater.yaml(examples_mini)
|
||||
if examples_all:
|
||||
return_string += self.formater.title(
|
||||
"Example with all variables modifiable", self.level
|
||||
_("Example with all variables modifiable"), self.level
|
||||
)
|
||||
return_string += self.formater.yaml(examples_all)
|
||||
return return_string
|
||||
|
@ -376,13 +376,12 @@ class RougailOutputDoc:
|
|||
self.subparameter_to_parameter(subparameter, comment)
|
||||
if comment:
|
||||
msg += "\n".join(comment) + ENTER
|
||||
help = self.to_phrase(family.information.get("help", ""))
|
||||
if help:
|
||||
msg += "\n" + help + ENTER
|
||||
help_ = self.to_phrase(family.information.get("help", ""))
|
||||
if help_:
|
||||
msg += "\n" + help_ + ENTER
|
||||
if family.isleadership():
|
||||
# help = "Cette famille contient des listes de bloc de variables."
|
||||
help = "This family contains lists of variable blocks."
|
||||
msg += "\n" + help + ENTER
|
||||
help_ = _("This family contains lists of variable blocks.")
|
||||
msg += "\n" + help_ + ENTER
|
||||
if isdynamic:
|
||||
identifiers = family.identifiers(only_self=True, uncalculated=True)
|
||||
if isinstance(identifiers, Calculation):
|
||||
|
@ -393,9 +392,10 @@ class RougailOutputDoc:
|
|||
continue
|
||||
identifiers[idx] = self.to_string(family, "dynamic", f"_{idx}")
|
||||
identifiers = self.formater.list(identifiers)
|
||||
# help = f"Cette famille construit des familles dynamiquement.\n\n{self.formater.bold('Identifiers')}: {identifiers}"
|
||||
help = f"This family builds families dynamically.\n\n{self.formater.bold('Identifiers')}: {identifiers}"
|
||||
msg += "\n" + help + ENTER
|
||||
help_ = _("This family builds families dynamically.\n\n{0}: {1}").format(
|
||||
self.formater.bold("Identifiers"), identifiers
|
||||
)
|
||||
msg += "\n" + help_ + ENTER
|
||||
return msg
|
||||
|
||||
def manage_properties(
|
||||
|
@ -406,15 +406,13 @@ class RougailOutputDoc:
|
|||
properties = variable.property.get(uncalculated=True)
|
||||
for mode in self.rougailconfig["modes_level"]:
|
||||
if mode in properties:
|
||||
subparameter.append((self.formater.prop(mode), None, None))
|
||||
subparameter.append((mode, None, None, None))
|
||||
break
|
||||
for prop, msg in self.property_to_string:
|
||||
if prop in properties:
|
||||
subparameter.append((self.formater.prop(msg), None, None))
|
||||
subparameter.append((msg, None, None, None))
|
||||
elif variable.information.get(f"{prop}_calculation", False):
|
||||
subparameter.append(
|
||||
(self.formater.prop(msg), msg, self.to_string(variable, prop))
|
||||
)
|
||||
subparameter.append((msg, msg, self.to_string(variable, prop), None))
|
||||
|
||||
def subparameter_to_string(
|
||||
self,
|
||||
|
@ -422,10 +420,15 @@ class RougailOutputDoc:
|
|||
):
|
||||
subparameter_str = ""
|
||||
for param in subparameter:
|
||||
if param[1]:
|
||||
subparameter_str += f"_{param[0]}_ "
|
||||
if param[3]:
|
||||
subparameter_str += self.formater.link(param[0], param[3]) + " "
|
||||
else:
|
||||
subparameter_str += f"{param[0]} "
|
||||
if param[1]:
|
||||
italic = True
|
||||
else:
|
||||
italic = False
|
||||
subparameter_str += self.formater.prop(param[0], italic) + " "
|
||||
|
||||
return subparameter_str[:-1]
|
||||
|
||||
def subparameter_to_parameter(
|
||||
|
@ -456,13 +459,13 @@ class RougailOutputDoc:
|
|||
if variable.isdynamic():
|
||||
parameter = ["{{ ROUGAIL_PATH }}"]
|
||||
else:
|
||||
parameter = [f"{self.formater.bold(variable.path())}"]
|
||||
subparameter = []
|
||||
parameter = [self.formater.bold(variable.path())]
|
||||
description = variable.description(uncalculated=True)
|
||||
comment = [self.to_phrase(description)]
|
||||
help_ = self.to_phrase(variable.information.get("help", ""))
|
||||
if help_:
|
||||
comment.append(help_)
|
||||
comment.extend(help_.split("\n"))
|
||||
subparameter = []
|
||||
self.type_to_string(
|
||||
variable,
|
||||
subparameter,
|
||||
|
@ -477,11 +480,14 @@ class RougailOutputDoc:
|
|||
else:
|
||||
multi = False
|
||||
if multi:
|
||||
subparameter.append((self.formater.prop("multiple"), None, None))
|
||||
subparameter.append(("multiple", None, None, None))
|
||||
if subparameter:
|
||||
parameter.append(self.subparameter_to_string(subparameter))
|
||||
if variable.name() == description:
|
||||
warning = f'No attribute "description" for variable "{variable.path()}" in {display_xmlfiles(variable.information.get("dictionaries"))}'
|
||||
warning = _('No attribute "description" for variable "{0}" in {1}').format(
|
||||
variable.path(),
|
||||
display_xmlfiles(variable.information.get("dictionaries")),
|
||||
)
|
||||
warn(warning)
|
||||
default = self.get_default(
|
||||
variable,
|
||||
|
@ -553,7 +559,9 @@ class RougailOutputDoc:
|
|||
raise Exception(
|
||||
f"cannot find {prop}_calculation_type{identifier} information, do you have declare doc has a plugins?"
|
||||
)
|
||||
if do_not_raise and variable.information.get(f"{prop}_calculation_optional{identifier}", False):
|
||||
if do_not_raise and variable.information.get(
|
||||
f"{prop}_calculation_optional{identifier}", False
|
||||
):
|
||||
return
|
||||
calculation = variable.information.get(f"{prop}_calculation{identifier}")
|
||||
if calculation_type == "jinja":
|
||||
|
@ -561,7 +569,13 @@ class RougailOutputDoc:
|
|||
values = self.formater.to_string(calculation)
|
||||
else:
|
||||
values = _("depends on a calculation")
|
||||
warning = _('"{0}" is a calculation for {1} but has no description in {2}').format(prop, variable.path(), display_xmlfiles(variable.information.get("dictionaries")))
|
||||
warning = _(
|
||||
'"{0}" is a calculation for {1} but has no description in {2}'
|
||||
).format(
|
||||
prop,
|
||||
variable.path(),
|
||||
display_xmlfiles(variable.information.get("dictionaries")),
|
||||
)
|
||||
warn(warning)
|
||||
elif calculation_type == "variable":
|
||||
if prop in PROPERTY_ATTRIBUTE:
|
||||
|
@ -591,10 +605,10 @@ class RougailOutputDoc:
|
|||
doc_type = DocTypes.get(variable_type, {"params": {}})
|
||||
subparameter.append(
|
||||
(
|
||||
self.formater.link(
|
||||
doc_type.get("msg", variable_type), ROUGAIL_VARIABLE_TYPE
|
||||
),
|
||||
doc_type.get("msg", variable_type),
|
||||
None,
|
||||
None,
|
||||
ROUGAIL_VARIABLE_TYPE,
|
||||
)
|
||||
)
|
||||
option = variable.get()
|
||||
|
@ -621,11 +635,14 @@ class RougailOutputDoc:
|
|||
)
|
||||
if validators:
|
||||
if len(validators) == 1:
|
||||
comment.append(self.formater.bold(_("Validator")) + _(': ') + validators[0])
|
||||
comment.append(
|
||||
self.formater.bold(_("Validator")) + _(": ") + validators[0]
|
||||
)
|
||||
else:
|
||||
comment.append(
|
||||
self.formater.bold(_('Validators')) + _(': ') +
|
||||
self.formater.list(validators)
|
||||
self.formater.bold(_("Validators"))
|
||||
+ _(": ")
|
||||
+ self.formater.list(validators)
|
||||
)
|
||||
|
||||
def manage_exemples(
|
||||
|
@ -647,7 +664,9 @@ class RougailOutputDoc:
|
|||
default = None
|
||||
if isinstance(example, tuple):
|
||||
example = list(example)
|
||||
mandatory = "mandatory" in variable.property.get(uncalculated=True)
|
||||
mandatory = "mandatory" in variable.property.get(
|
||||
uncalculated=True
|
||||
) and not variable.value.get(uncalculated=True)
|
||||
if example:
|
||||
if not multi:
|
||||
example = example[0]
|
||||
|
|
|
@ -217,11 +217,17 @@ class Annotator(Walk):
|
|||
)
|
||||
if prop in PROPERTY_ATTRIBUTE:
|
||||
if values.when is not undefined:
|
||||
values_calculation = _('when the variable "{0}" has the value "{1}"').format(values_calculation, values.when)
|
||||
values_calculation = _(
|
||||
'when the variable "{0}" has the value "{1}"'
|
||||
).format(values_calculation, values.when)
|
||||
elif values.when_not is not undefined:
|
||||
values_calculation = _('when the variable "{0}" hasn\'t the value "{1}"').format(values_calculation, values.when_not)
|
||||
values_calculation = _(
|
||||
'when the variable "{0}" hasn\'t the value "{1}"'
|
||||
).format(values_calculation, values.when_not)
|
||||
else:
|
||||
values_calculation = _('when the variable "{0}" has the value "True"').format(values_calculation)
|
||||
values_calculation = _(
|
||||
'when the variable "{0}" has the value "True"'
|
||||
).format(values_calculation)
|
||||
values_calculation_type = "variable"
|
||||
if isinstance(values, VariableCalculation):
|
||||
values_optional = values.optional
|
||||
|
@ -235,16 +241,22 @@ class Annotator(Walk):
|
|||
variable,
|
||||
path,
|
||||
)
|
||||
values_calculation = _('the value of the information "{0}" of the variable "{1}"').format(values.information, variable)
|
||||
values_calculation = _(
|
||||
'the value of the information "{0}" of the variable "{1}"'
|
||||
).format(values.information, variable)
|
||||
else:
|
||||
values_calculation = _('the value of the global information "{0}"').format(values.information)
|
||||
values_calculation = _(
|
||||
'the value of the global information "{0}"'
|
||||
).format(values.information)
|
||||
elif isinstance(values, (IdentifierCalculation, IdentifierPropertyCalculation)):
|
||||
if version != "1.0" and prop in PROPERTY_ATTRIBUTE:
|
||||
if values.when is not undefined:
|
||||
values_calculation = _('when the identifier is "{0}"').format(values.when)
|
||||
values_calculation = _('when the identifier is "{0}"').format(
|
||||
values.when
|
||||
)
|
||||
elif values.when_not is not undefined:
|
||||
values_calculation = (
|
||||
_('when the identifier is not "{0}"').format(values.when_not)
|
||||
values_calculation = _('when the identifier is not "{0}"').format(
|
||||
values.when_not
|
||||
)
|
||||
values_calculation_type = "identifier"
|
||||
elif isinstance(values, IndexCalculation):
|
||||
|
|
|
@ -19,6 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
from gettext import translation
|
||||
from pathlib import Path
|
||||
|
||||
t = translation("rougail_output_doc", str(Path(__file__).parent / "locale"), fallback=True)
|
||||
t = translation(
|
||||
"rougail_output_doc", str(Path(__file__).parent / "locale"), fallback=True
|
||||
)
|
||||
|
||||
_ = t.gettext
|
||||
|
|
|
@ -42,12 +42,12 @@ class Formater:
|
|||
return f"{char * (level + 1)} {title}\n\n"
|
||||
|
||||
def yaml(self, dump: dict) -> str:
|
||||
return f"[,yaml]\n----\n{self.dump(dump)}\n----\n"
|
||||
return f"[,yaml]\n----\n---\n{self.dump(dump)}\n----\n"
|
||||
|
||||
def table(self, table: str) -> str:
|
||||
# add 'a' option in cols to display list
|
||||
stable = table.split("\n", 1)
|
||||
return stable[0].replace("<", "a") + "\n" + stable[1]
|
||||
return '[cols="1a,1a"]\n' + stable[1]
|
||||
|
||||
def link(
|
||||
self,
|
||||
|
@ -59,7 +59,10 @@ class Formater:
|
|||
def prop(
|
||||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
) -> str:
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
return f"`{prop}`"
|
||||
|
||||
def list(
|
||||
|
|
|
@ -61,8 +61,12 @@ class Formater:
|
|||
def prop(
|
||||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
) -> str:
|
||||
return f"`{prop}`"
|
||||
prop = f"`{prop}`"
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
return prop
|
||||
|
||||
def list(
|
||||
self,
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
_version: '1.1'
|
||||
version: # a variable
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,12 +2,13 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
empty:
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
|
@ -14,7 +15,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var1: # a first variable
|
||||
- no
|
||||
|
@ -19,7 +20,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
|
@ -19,7 +20,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="132a,132a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
var1:
|
||||
description: a variable
|
||||
|
@ -10,13 +11,14 @@ var1:
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
var2:
|
||||
description: a variable
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
without_type:
|
||||
description: a variable
|
||||
|
@ -9,7 +10,7 @@ without_type:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: true # the first variable
|
||||
var2:
|
||||
|
@ -22,7 +23,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="109a,109a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="97a,97a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: the first variable
|
||||
|
@ -46,7 +47,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var:
|
||||
description: a variable
|
||||
|
@ -16,7 +17,7 @@ var:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a second variable
|
||||
- a
|
||||
|
@ -15,7 +16,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
custom1:
|
||||
description: the first variable
|
||||
|
@ -13,7 +14,7 @@ custom2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a domain name variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="112a,112a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a domain name variable
|
||||
|
@ -12,7 +13,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="112a,112a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: 0.0 # the first variable
|
||||
var2:
|
||||
|
@ -22,7 +23,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="107a,107a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: 0 # the first variable
|
||||
var2:
|
||||
|
@ -22,7 +23,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a port variable
|
||||
|
@ -17,7 +18,7 @@ variable3:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="106a,106a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a first variable
|
||||
|
@ -13,7 +14,7 @@ var:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
var2:
|
||||
|
@ -21,7 +22,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
var:
|
||||
type: choice
|
||||
|
@ -14,7 +15,7 @@ var:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
var1:
|
||||
description: the first variable
|
||||
|
@ -12,7 +13,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -9,7 +10,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -9,7 +10,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
variable:
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.0'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -9,7 +10,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -16,7 +17,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
var1:
|
||||
|
@ -44,7 +45,7 @@ var6:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="125a,125a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a first variable
|
||||
|
@ -21,7 +22,7 @@ variable2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="116a,116a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
source_variable_1: val1 # the first source variable
|
||||
source_variable_2: val2 # the second source variable
|
||||
|
@ -15,7 +16,7 @@ my_variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
variable:
|
||||
|
@ -18,7 +19,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a variable
|
||||
|
@ -16,7 +17,7 @@ var:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a first variable
|
||||
var2:
|
||||
|
@ -17,7 +18,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
default: val1
|
||||
|
@ -15,7 +16,7 @@ my_calculated_variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
default: val1
|
||||
|
@ -15,7 +16,7 @@ my_calculated_variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
my_calculated_variable:
|
||||
multi: true
|
||||
|
@ -11,7 +12,7 @@ my_calculated_variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
my_variable:
|
||||
multi: true
|
||||
|
@ -16,7 +17,7 @@ my_calculated_variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a first variable
|
||||
|
@ -24,7 +25,7 @@ var2: no # a second variable
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # a first variable
|
||||
var2:
|
||||
|
@ -13,7 +14,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: a variable
|
||||
|
@ -16,7 +17,7 @@ var:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable: rougail # a variable
|
||||
----
|
||||
|
@ -9,6 +10,7 @@ variable: rougail # a variable
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -18,7 +20,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -31,7 +33,7 @@ A variable. +
|
|||
|
||||
== Variables for "extra"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable: value # a variable
|
||||
----
|
||||
|
@ -9,6 +10,7 @@ variable: value # a variable
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable1:
|
||||
description: a first variable
|
||||
|
@ -32,7 +34,7 @@ variable3:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -45,7 +47,7 @@ A variable. +
|
|||
|
||||
== Variables for "extra"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- true
|
||||
|
@ -40,7 +41,7 @@ var8:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="129a,129a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
custom1:
|
||||
description: a first custom variable
|
||||
|
@ -15,7 +16,7 @@ custom2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- 0.0
|
||||
|
@ -40,7 +41,7 @@ var8:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="127a,127a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: # the first variable
|
||||
- 0
|
||||
|
@ -40,7 +41,7 @@ var8:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: the second variable
|
||||
|
@ -10,7 +11,7 @@ var1:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: [] # the first variable
|
||||
var2:
|
||||
|
@ -36,7 +37,7 @@ var8:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable:
|
||||
description: a variable
|
||||
|
@ -17,7 +18,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
variable1: # a first variable
|
||||
- a
|
||||
|
@ -14,7 +15,7 @@ variable2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
int:
|
||||
description: A limited number
|
||||
|
@ -12,7 +13,7 @@ int:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
variable:
|
||||
description: an auto save variable
|
||||
|
@ -10,7 +11,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="121a,121a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
|
@ -12,7 +13,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="121a,121a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1: no # a first variable
|
||||
var2:
|
||||
|
@ -19,7 +20,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="132a,132a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -29,7 +30,7 @@ A first variable. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`hidden`_ `auto modified` |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_hidden_` `auto modified` |
|
||||
A second variable. +
|
||||
**Default**: the value is always yes. +
|
||||
**Hidden**: only if the variable var1 has value "yes".
|
||||
|
|
|
@ -26,6 +26,6 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`hidden`_ `auto modified` | A second variable.<br/>**Default**: the value is always yes.<br/>**Hidden**: only if the variable var1 has value "yes". |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`hidden`* `auto modified` | A second variable.<br/>**Default**: the value is always yes.<br/>**Hidden**: only if the variable var1 has value "yes". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var:
|
||||
description: autosave variable
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
|
@ -24,7 +25,7 @@ var3:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -34,7 +35,7 @@ A first variable. +
|
|||
**Default**: value
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A second variable. +
|
||||
**Disabled**: when the variable "rougail.var1" has the value "value".
|
||||
|
|
||||
|
|
|
@ -31,7 +31,7 @@ var3:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: value |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A second variable.<br/>**Disabled**: when the variable "rougail.var1" has the value "value". |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "rougail.var1" has the value "value". |
|
||||
| **rougail.var3**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: depends on a calculation. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1:
|
||||
|
@ -24,7 +25,7 @@ var3:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -34,7 +35,7 @@ A first variable. +
|
|||
**Default**: value
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A second variable. +
|
||||
**Disabled**: when the variable "rougail.var1" has the value "value".
|
||||
|
|
||||
|
|
|
@ -31,7 +31,7 @@ var3:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: value |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A second variable.<br/>**Disabled**: when the variable "rougail.var1" has the value "value". |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: when the variable "rougail.var1" has the value "value". |
|
||||
| **rougail.var3**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: depends on a calculation. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a conditional variable
|
||||
variable1:
|
||||
|
@ -23,7 +24,7 @@ variable2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="118a,118a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -33,12 +34,12 @@ A conditional variable. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.variable1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A first variable. +
|
||||
**Disabled**: if condition is egal to "yes".
|
||||
|
|
||||
**rougail.variable2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A second variable. +
|
||||
**Disabled**: if condition is egal to "yes".
|
||||
|====
|
||||
|
|
|
@ -30,7 +30,7 @@ variable2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A conditional variable.<br/>**Default**: no |
|
||||
| **rougail.variable1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A first variable.<br/>**Disabled**: if condition is egal to "yes". |
|
||||
| **rougail.variable2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A second variable.<br/>**Disabled**: if condition is egal to "yes". |
|
||||
| **rougail.variable1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A first variable.<br/>**Disabled**: if condition is egal to "yes". |
|
||||
| **rougail.variable2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A second variable.<br/>**Disabled**: if condition is egal to "yes". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
|
||||
condition: no # a condition
|
||||
|
@ -34,7 +35,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="121a,121a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -44,13 +45,13 @@ A condition. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_disabled_` |
|
||||
A first variable. +
|
||||
**Default**: the value of condition. +
|
||||
**Disabled**: if condition is yes.
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_disabled_` |
|
||||
A second variable. +
|
||||
**Default**: the value of condition. +
|
||||
**Disabled**: if condition is yes.
|
||||
|
|
|
@ -41,7 +41,7 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: no |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`disabled`_ | A first variable.<br/>**Default**: the value of condition.<br/>**Disabled**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`disabled`_ | A second variable.<br/>**Default**: the value of condition.<br/>**Disabled**: if condition is yes. |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A first variable.<br/>**Default**: the value of condition.<br/>**Disabled**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`* | A second variable.<br/>**Default**: the value of condition.<br/>**Disabled**: if condition is yes. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
|
@ -37,7 +38,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="107a,107a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -47,12 +48,12 @@ A condition. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `_hidden_` |
|
||||
A first variable. +
|
||||
**Hidden**: calculation from an unknown variable.
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `_hidden_` |
|
||||
A second variable. +
|
||||
**Hidden**: calculation from an condition variable.
|
||||
|====
|
||||
|
|
|
@ -44,7 +44,7 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: no |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` _`hidden`_ | A first variable.<br/>**Hidden**: calculation from an unknown variable. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` _`hidden`_ | A second variable.<br/>**Hidden**: calculation from an condition variable. |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` *`hidden`* | A first variable.<br/>**Hidden**: calculation from an unknown variable. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` *`hidden`* | A second variable.<br/>**Hidden**: calculation from an condition variable. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: false # a condition
|
||||
variable:
|
||||
|
@ -11,7 +12,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="118a,118a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -21,7 +22,7 @@ A condition. +
|
|||
**Default**: False
|
||||
|
|
||||
**rougail.variable** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A variable. +
|
||||
**Disabled**: when the variable "rougail.condition" has the value "True".
|
||||
|====
|
||||
|
|
|
@ -18,6 +18,6 @@ variable:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: False |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "True". |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "True". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: true # a condition
|
||||
variable:
|
||||
|
@ -11,7 +12,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="118a,118a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -21,7 +22,7 @@ A condition. +
|
|||
**Default**: True
|
||||
|
|
||||
**rougail.variable** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A variable. +
|
||||
**Disabled**: when the variable "rougail.condition" has the value "True".
|
||||
|====
|
||||
|
|
|
@ -18,6 +18,6 @@ variable:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: True |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "True". |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "True". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: yes # a condition
|
||||
variable:
|
||||
|
@ -12,7 +13,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="118a,118a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -22,7 +23,7 @@ A condition. +
|
|||
**Default**: yes
|
||||
|
|
||||
**rougail.variable** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A variable. +
|
||||
**Disabled**: when the variable "rougail.condition" has the value "yes".
|
||||
|====
|
||||
|
|
|
@ -19,6 +19,6 @@ variable:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: yes |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "yes". |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A variable.<br/>**Disabled**: when the variable "rougail.condition" has the value "yes". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: yes # a condition
|
||||
variable:
|
||||
|
@ -12,7 +13,7 @@ variable:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="118a,118a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -22,7 +23,7 @@ A condition. +
|
|||
**Default**: yes
|
||||
|
|
||||
**rougail.variable** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` _`disabled`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` `_disabled_` |
|
||||
A variable. +
|
||||
**Disabled**: when the variable "rougail.condition" hasn't the value "yes".
|
||||
|====
|
||||
|
|
|
@ -19,6 +19,6 @@ variable:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: yes |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` _`disabled`_ | A variable.<br/>**Disabled**: when the variable "rougail.condition" hasn't the value "yes". |
|
||||
| **rougail.variable**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`* | A variable.<br/>**Disabled**: when the variable "rougail.condition" hasn't the value "yes". |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # the condition
|
||||
var1:
|
||||
|
@ -25,7 +26,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="119a,119a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -35,13 +36,13 @@ The condition. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A first variable. +
|
||||
**Default**: no +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A second variable. +
|
||||
**Default**: no +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
|
@ -32,7 +32,7 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The condition.<br/>**Default**: no |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A first variable.<br/>**Default**: no<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A second variable.<br/>**Default**: no<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.<br/>**Default**: no<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A second variable.<br/>**Default**: no<br/>**Hidden**: if condition is yes. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
|
@ -31,7 +32,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="119a,119a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -41,13 +42,13 @@ A condition. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A first variable. +
|
||||
**Default**: the value of condition. +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A second variable. +
|
||||
**Default**: the value of condition. +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
|
@ -38,7 +38,7 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: no |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A first variable.<br/>**Default**: the value of condition.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A second variable.<br/>**Default**: the value of condition.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.<br/>**Default**: the value of condition.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A second variable.<br/>**Default**: the value of condition.<br/>**Hidden**: if condition is yes. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
condition: no # a condition
|
||||
var1:
|
||||
|
@ -31,7 +32,7 @@ var2:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="119a,119a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
@ -41,13 +42,13 @@ A condition. +
|
|||
**Default**: no
|
||||
|
|
||||
**rougail.var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A first variable. +
|
||||
**Default**: returns the condition value. +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
||||
**rougail.var2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` _`hidden`_ |
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `_hidden_` |
|
||||
A second variable. +
|
||||
**Default**: returns the condition value. +
|
||||
**Hidden**: if condition is yes.
|
||||
|
|
|
@ -38,7 +38,7 @@ var2:
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.condition**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A condition.<br/>**Default**: no |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A first variable.<br/>**Default**: returns the condition value.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` _`hidden`_ | A second variable.<br/>**Default**: returns the condition value.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.<br/>**Default**: returns the condition value.<br/>**Hidden**: if condition is yes. |
|
||||
| **rougail.var2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A second variable.<br/>**Default**: returns the condition value.<br/>**Hidden**: if condition is yes. |
|
||||
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
int:
|
||||
description: A number
|
||||
|
@ -15,7 +16,7 @@ int:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="105a,105a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
var1:
|
||||
description: a first variable
|
||||
|
@ -19,7 +20,7 @@ var2: no # A second variable
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
== dictionaries/rougail/00-base.yml
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: network
|
||||
netmask_address_eth0:
|
||||
description: Network address
|
||||
type: netmask
|
||||
ip_address:
|
||||
description: an IP
|
||||
type: ip
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.ip_address | valid_in_network(_.network_address_eth0, _.netmask_address_eth0) %}
|
||||
{{ _.ip_address }} is not in network {{ _.network_address_eth0 }}/{{ _.netmask_address_eth0 }}
|
||||
{% endif %}
|
||||
description: check if IP in the previous network
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="101a,101a",options="header"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
**rougail.network_address_eth0** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[network]` `basic` `mandatory` |
|
||||
Network address.
|
||||
|
|
||||
**rougail.netmask_address_eth0** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[netmask]` `basic` `mandatory` |
|
||||
Network address.
|
||||
|
|
||||
**rougail.ip_address** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[IP]` `basic` `mandatory` |
|
||||
An IP. +
|
||||
**Validators**:
|
||||
|
||||
* reserved IP are allowed
|
||||
* check if IP in the previous network.
|
||||
|====
|
||||
|
||||
|
||||
== Example with mandatory variables not filled in
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
ip_address: 1.1.1.1
|
||||
----
|
||||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
ip_address: 1.1.1.1
|
||||
----
|
|
@ -1,53 +0,0 @@
|
|||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: network
|
||||
netmask_address_eth0:
|
||||
description: Network address
|
||||
type: netmask
|
||||
ip_address:
|
||||
description: an IP
|
||||
type: ip
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.ip_address | valid_in_network(_.network_address_eth0, _.netmask_address_eth0) %}
|
||||
{{ _.ip_address }} is not in network {{ _.network_address_eth0 }}/{{ _.netmask_address_eth0 }}
|
||||
{% endif %}
|
||||
description: check if IP in the previous network
|
||||
```
|
||||
# Variables for "rougail"
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.network_address_eth0**<br/>[`network`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Network address. |
|
||||
| **rougail.netmask_address_eth0**<br/>[`netmask`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Network address. |
|
||||
| **rougail.ip_address**<br/>[`IP`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | An IP.<br/>**Validators**:<br/>- reserved IP are allowed<br/>- check if IP in the previous network. |
|
||||
|
||||
|
||||
# Example with mandatory variables not filled in
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
ip_address: 1.1.1.1
|
||||
```
|
||||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
ip_address: 1.1.1.1
|
||||
```
|
|
@ -1,55 +0,0 @@
|
|||
== dictionaries/rougail/00-base.yml
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: cidr
|
||||
ip_address:
|
||||
description: an IP
|
||||
type: ip
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.ip_address | valid_in_network(_.network_address_eth0) %}
|
||||
{{ _.ip_address }} is not in network {{ _.network_address_eth0 }}
|
||||
{% endif %}
|
||||
description: this IP must be in network
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="101a,101a",options="header"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
**rougail.network_address_eth0** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[cidr]` `basic` `mandatory` |
|
||||
Network address.
|
||||
|
|
||||
**rougail.ip_address** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[IP]` `basic` `mandatory` |
|
||||
An IP. +
|
||||
**Validators**:
|
||||
|
||||
* reserved IP are allowed
|
||||
* this IP must be in network.
|
||||
|====
|
||||
|
||||
|
||||
== Example with mandatory variables not filled in
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0/24
|
||||
ip_address: 1.1.1.1
|
||||
----
|
||||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0/24
|
||||
ip_address: 1.1.1.1
|
||||
----
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: cidr
|
||||
ip_address:
|
||||
description: an IP
|
||||
type: ip
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.ip_address | valid_in_network(_.network_address_eth0) %}
|
||||
{{ _.ip_address }} is not in network {{ _.network_address_eth0 }}
|
||||
{% endif %}
|
||||
description: this IP must be in network
|
||||
```
|
||||
# Variables for "rougail"
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.network_address_eth0**<br/>[`cidr`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Network address. |
|
||||
| **rougail.ip_address**<br/>[`IP`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | An IP.<br/>**Validators**:<br/>- reserved IP are allowed<br/>- this IP must be in network. |
|
||||
|
||||
|
||||
# Example with mandatory variables not filled in
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0/24
|
||||
ip_address: 1.1.1.1
|
||||
```
|
||||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0/24
|
||||
ip_address: 1.1.1.1
|
||||
```
|
|
@ -1,52 +0,0 @@
|
|||
== dictionaries/rougail/00-base.yml
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: network
|
||||
netmask_address_eth0:
|
||||
description: Netmask address
|
||||
type: netmask
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.netmask_address_eth0 | valid_in_network(_.network_address_eth0) %}
|
||||
{{ _.netmask_address_eth0 }} is not a netmask for network {{ _.network_address_eth0 }}
|
||||
{% endif %}
|
||||
description: this mask is possible for the network
|
||||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="106a,106a",options="header"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
**rougail.network_address_eth0** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[network]` `basic` `mandatory` |
|
||||
Network address.
|
||||
|
|
||||
**rougail.netmask_address_eth0** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[netmask]` `basic` `mandatory` |
|
||||
Netmask address. +
|
||||
**Validator**: this mask is possible for the network.
|
||||
|====
|
||||
|
||||
|
||||
== Example with mandatory variables not filled in
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
----
|
||||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
----
|
|
@ -1,47 +0,0 @@
|
|||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
# dictionaries/rougail/00-base.yml
|
||||
|
||||
```yaml
|
||||
---
|
||||
version: '1.1'
|
||||
network_address_eth0:
|
||||
description: Network address
|
||||
type: network
|
||||
netmask_address_eth0:
|
||||
description: Netmask address
|
||||
type: netmask
|
||||
validators:
|
||||
- type: jinja
|
||||
jinja: |
|
||||
{% if not _.netmask_address_eth0 | valid_in_network(_.network_address_eth0) %}
|
||||
{{ _.netmask_address_eth0 }} is not a netmask for network {{ _.network_address_eth0 }}
|
||||
{% endif %}
|
||||
description: this mask is possible for the network
|
||||
```
|
||||
# Variables for "rougail"
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **rougail.network_address_eth0**<br/>[`network`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Network address. |
|
||||
| **rougail.netmask_address_eth0**<br/>[`netmask`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | Netmask address.<br/>**Validator**: this mask is possible for the network. |
|
||||
|
||||
|
||||
# Example with mandatory variables not filled in
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
```
|
||||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
rougail:
|
||||
network_address_eth0: 1.1.1.0
|
||||
netmask_address_eth0: 255.255.255.0
|
||||
```
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var1:
|
||||
description: a second variable
|
||||
|
@ -18,7 +19,7 @@ var1:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: 1.1
|
||||
var1:
|
||||
description: a second variable
|
||||
|
@ -25,7 +26,7 @@ var1:
|
|||
----
|
||||
== Variables for "rougail"
|
||||
|
||||
[cols="128a,128a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
version: '1.1'
|
||||
general: # a family
|
||||
int:
|
||||
|
@ -36,7 +37,7 @@ general: # a family
|
|||
|
||||
`basic`
|
||||
|
||||
[cols="108a,108a",options="header"]
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue