feat: delete/underline is inside tag for some format
This commit is contained in:
parent
d8a0e22de9
commit
64f448c141
343 changed files with 1806 additions and 419 deletions
|
|
@ -134,6 +134,8 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
elif prop_previous in prop_new:
|
||||
prop_new.remove(prop_previous)
|
||||
prop_previous = []
|
||||
else:
|
||||
prop_previous = [prop_previous]
|
||||
prop_new = [p for p in prop_new if p not in local_prop_previous]
|
||||
if prop_previous not in [None, []] or prop_new not in [
|
||||
None,
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
return_string = ""
|
||||
contents = self.rougailconfig["doc.contents"]
|
||||
if "variables" in contents:
|
||||
# print(self.informations)
|
||||
return_string += self.formatter.run(self.informations)
|
||||
if "example" in contents:
|
||||
return_string += self.gen_doc_examples()
|
||||
|
|
|
|||
|
|
@ -103,10 +103,16 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
delete: bool,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Display property"""
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
if delete:
|
||||
prop = self.delete(prop)
|
||||
if underline:
|
||||
prop = self.underline(prop)
|
||||
return f"`{prop}`"
|
||||
|
||||
def yaml(self, _dump: dict) -> str:
|
||||
|
|
@ -125,8 +131,11 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
if underline:
|
||||
link = self.underline(link)
|
||||
return f"`{link}[{comment}]`"
|
||||
|
||||
def is_list(
|
||||
|
|
|
|||
|
|
@ -134,11 +134,17 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
delete: bool,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Display property"""
|
||||
prop = f"[reverse][bold] {prop} [/bold][/reverse]"
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
if delete:
|
||||
prop = self.delete(prop)
|
||||
if underline:
|
||||
prop = self.underline(prop)
|
||||
prop = f"[reverse][bold] {prop} [/bold][/reverse]"
|
||||
return prop
|
||||
|
||||
def yaml(self, _dump):
|
||||
|
|
@ -149,9 +155,10 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
return self.prop(comment, False)
|
||||
return self.prop(comment, False, False, underline)
|
||||
# return f"{comment} ({link})"
|
||||
|
||||
def columns(
|
||||
|
|
|
|||
|
|
@ -107,11 +107,17 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
delete: bool,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Display property"""
|
||||
prop = f"`{prop}`"
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
if delete:
|
||||
prop = self.delete(prop)
|
||||
if underline:
|
||||
prop = self.underline(prop)
|
||||
return prop
|
||||
|
||||
def table_header(self, lst):
|
||||
|
|
@ -128,9 +134,11 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
return f"[`{comment}`]({link})"
|
||||
comment = self.prop(comment, False, False, underline)
|
||||
return f"[{comment}]({link})"
|
||||
|
||||
def columns(
|
||||
self,
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class Formatter(GithubFormatter):
|
|||
link = f'{filename}#{path}'
|
||||
else:
|
||||
link = f'#{path}'
|
||||
return self.link(description, link)
|
||||
return self.link(description, link, False)
|
||||
|
||||
def columns(
|
||||
self,
|
||||
|
|
|
|||
|
|
@ -107,10 +107,16 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
delete: bool,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Display property"""
|
||||
if italic:
|
||||
prop = self.italic(prop)
|
||||
if delete:
|
||||
prop = self.delete(prop)
|
||||
if underline:
|
||||
prop = self.underline(prop)
|
||||
return f"<mark>{prop}</mark>"
|
||||
|
||||
def yaml(self, _dump: dict) -> str:
|
||||
|
|
@ -121,9 +127,10 @@ class Formatter(CommonFormatter):
|
|||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
return self.prop(f"<a href='{link}'>{comment}</a>", False)
|
||||
return self.prop(f"<a href='{link}'>{comment}</a>", False, False, underline)
|
||||
|
||||
def is_list(
|
||||
self,
|
||||
|
|
|
|||
|
|
@ -253,6 +253,8 @@ class CommonFormatter:
|
|||
self,
|
||||
prop: str,
|
||||
italic: bool,
|
||||
delete: bool,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Display property"""
|
||||
raise NotImplementedError()
|
||||
|
|
@ -261,6 +263,7 @@ class CommonFormatter:
|
|||
self,
|
||||
comment: str,
|
||||
link: str,
|
||||
underline: bool,
|
||||
) -> str:
|
||||
"""Add a link"""
|
||||
raise NotImplementedError()
|
||||
|
|
@ -449,7 +452,7 @@ class CommonFormatter:
|
|||
self, type_: str, informations: dict, modified_attributes: dict, force_identifiers: Optional[str]
|
||||
) -> str():
|
||||
def _get_description(description, identifiers, delete=False, new=[]):
|
||||
if "{{ identifier }}" in description:
|
||||
if identifiers and "{{ identifier }}" in description:
|
||||
if type_ == "variable":
|
||||
identifiers_text = display_list(
|
||||
[self.italic(i[-1]) for i in identifiers if not force_identifiers or i == force_identifiers], separator="or"
|
||||
|
|
@ -478,9 +481,12 @@ class CommonFormatter:
|
|||
|
||||
if "description" in modified_attributes:
|
||||
name, previous, new = modified_attributes["description"]
|
||||
modified_description = _get_description(
|
||||
previous, modified_attributes.get("identifiers", []), delete=True
|
||||
)
|
||||
if previous:
|
||||
modified_description = _get_description(
|
||||
previous[0], modified_attributes.get("identifiers", []), delete=True
|
||||
)
|
||||
else:
|
||||
modified_description = None
|
||||
else:
|
||||
modified_description = None
|
||||
new = []
|
||||
|
|
@ -773,19 +779,23 @@ class CommonFormatter:
|
|||
)
|
||||
for p, annotation in previous.items():
|
||||
if p not in new:
|
||||
properties.append(self.prop(self.delete(p), italic=False))
|
||||
properties.append(self.prop(p, italic=False, delete=True, underline=False))
|
||||
if annotation is not None:
|
||||
local_calculated_properties[p] = [self.delete(annotation)]
|
||||
|
||||
else:
|
||||
previous = new = []
|
||||
for prop in informations.get("properties", []):
|
||||
prop_name = prop["name"]
|
||||
if prop_name not in previous and prop_name in new:
|
||||
underline = True
|
||||
else:
|
||||
underline = False
|
||||
if prop["type"] == "type":
|
||||
properties.append(self.link(prop["name"], ROUGAIL_VARIABLE_TYPE))
|
||||
properties.append(self.link(prop_name, ROUGAIL_VARIABLE_TYPE, underline))
|
||||
else:
|
||||
if prop["type"] == "multiple":
|
||||
multi = True
|
||||
prop_name = prop["name"]
|
||||
if "annotation" in prop:
|
||||
italic = True
|
||||
prop_annotation = prop["annotation"]
|
||||
|
|
@ -799,9 +809,7 @@ class CommonFormatter:
|
|||
)
|
||||
else:
|
||||
italic = False
|
||||
if prop_name not in previous and prop_name in new:
|
||||
prop_name = self.underline(prop_name)
|
||||
properties.append(self.prop(prop_name, italic=italic))
|
||||
properties.append(self.prop(prop_name, italic=italic, delete=False, underline=underline))
|
||||
if local_calculated_properties:
|
||||
for (
|
||||
calculated_property_name,
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
---
|
||||
version: 1.1
|
||||
|
||||
var1: # first variable
|
||||
var1:
|
||||
...
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
+++First variable.+++ +
|
||||
#New description.#
|
||||
|====
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~<br/><ins>New description.</ins> |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | <ins>New description.</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td><del>First variable.</del><br/><ins>New description.</ins></td></tr>
|
||||
<tr><td><b>var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td><ins>New description.</ins></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~<br/><ins>New description.</ins> |
|
||||
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | <ins>New description.</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ [9mFirst variable.[0m │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [4mNew description.[0m │
|
||||
│ [1mvar1[0m │ [4mNew description.[0m │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1: # new description
|
||||
...
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
%YAML 1.2
|
||||
---
|
||||
version: 1.1
|
||||
|
||||
var1: # first variable
|
||||
...
|
||||
13
tests/changelog/10mod_variable_description2/result.adoc
Normal file
13
tests/changelog/10mod_variable_description2/result.adoc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
== Modified variable
|
||||
|
||||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` |
|
||||
+++First variable.+++ +
|
||||
#New description.#
|
||||
|====
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~<br/><ins>New description.</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
11
tests/changelog/10mod_variable_description2/result.html
Normal file
11
tests/changelog/10mod_variable_description2/result.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<h1>Modified variable</h1>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>basic</mark> <mark>mandatory</mark></td><td><del>First variable.</del><br/><ins>New description.</ins></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
6
tests/changelog/10mod_variable_description2/result.md
Normal file
6
tests/changelog/10mod_variable_description2/result.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var1**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~<br/><ins>New description.</ins> |
|
||||
|
||||
12
tests/changelog/10mod_variable_description2/result.sh
Normal file
12
tests/changelog/10mod_variable_description2/result.sh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
|
||||
|
||||
[1;4;96mModified variable[0m
|
||||
|
||||
|
||||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ [9mFirst variable.[0m │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [4mNew description.[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Variable | Description |
|
||||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>`~~basic~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `<ins>standard</ins>` `mandatory` | First variable.<br/>**Choices**: <br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) <ins>`standard`</ins> `mandatory` | First variable.<br/>**Choices**: <br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var1**<br/>`~~basic~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `<ins>standard</ins>` `mandatory` | First variable.<br/>**Choices**: <br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
| **var1**<br/>~~`basic`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) <ins>`standard`</ins> `mandatory` | First variable.<br/>**Choices**: <br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>`~~basic~~` `~~mandatory~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `<ins>standard</ins>` | First variable.<br/>**Choices**: <br/>- null ~~← (default)~~<br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`basic`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) <ins>`standard`</ins> | First variable.<br/>**Choices**: <br/>- null ~~← (default)~~<br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var1**<br/>`~~basic~~` `~~mandatory~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `<ins>standard</ins>` | First variable.<br/>**Choices**: <br/>- null ~~← (default)~~<br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
| **var1**<br/>~~`basic`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) <ins>`standard`</ins> | First variable.<br/>**Choices**: <br/>- null ~~← (default)~~<br/>- val1<br/>- val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: val1 |
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- val1 |
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: val1 |
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- val1 |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **variable_1**<br/>`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: val1 |
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- val1 |
|
||||
| **variable_1**<br/>~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: val1 |
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- val1 |
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: ~~val2~~<br/>val1 |
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- val1<br/>- <ins>val2</ins> |
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: ~~val2~~<br/>val1 |
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- val1<br/>- <ins>val2</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **variable_1**<br/>`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: ~~val2~~<br/>val1 |
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- val1<br/>- <ins>val2</ins> |
|
||||
| **variable_1**<br/>~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.<br/>**Default**: ~~val2~~<br/>val1 |
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- val1<br/>- <ins>val2</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- ~~val1~~<br/>- <ins>the value of the variable "[`The first variable`](#variable_1)"</ins> |
|
||||
| **<a id="variable_2" name="variable_2">variable_2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- ~~val1~~<br/>- <ins>the value of the variable "[`The first variable`](#variable_1)"</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `<ins>unique</ins>` `<ins>multiple</ins>` | The second variable.<br/>**Default**: <br/>- ~~val1~~<br/>- <ins>the value of the variable "variable_1"</ins> |
|
||||
| **variable_2**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>`unique`</ins> <ins>`multiple`</ins> | The second variable.<br/>**Default**: <br/>- ~~val1~~<br/>- <ins>the value of the variable "variable_1"</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A first variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m mandatory [0m │ [1mDefault[0m: no │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mmandatory[0m[1;7m [0m │ [1mDefault[0m: no │
|
||||
│ │ [1mMandatory[0m: [9mif condition is yes[0m │
|
||||
│ │ [4mif condition is not no[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Variable | Description |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
|
||||
| **<a id="var" name="var">var</a>**<br/>`~~hidden~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no<br/>**Hidden**: ~~if condition is yes~~ |
|
||||
| **<a id="var" name="var">var</a>**<br/>~~`hidden`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no<br/>**Hidden**: ~~if condition is yes~~ |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var**<br/>`~~hidden~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no<br/>**Hidden**: ~~if condition is yes~~ |
|
||||
| **var**<br/>~~`hidden`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.<br/>**Default**: no<br/>**Hidden**: ~~if condition is yes~~ |
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
|
||||
|
||||
**var** +
|
||||
`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#
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|
|
||||
| **<a id="var" name="var">var</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`<ins>hidden</ins>`* | A first variable.<br/>**Default**: no<br/>**Hidden**: <ins>if condition is yes</ins> |
|
||||
| **<a id="var" name="var">var</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>*`hidden`*</ins> | A first variable.<br/>**Default**: no<br/>**Hidden**: <ins>if condition is yes</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>var</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><ins>hidden</ins></i></mark></td><td>A first variable.<br/><b>Default</b>: no<br/><b>Hidden</b>: <ins>if condition is yes</ins></td></tr>
|
||||
<tr><td><b>var</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><ins><i>hidden</i></ins></mark></td><td>A first variable.<br/><b>Default</b>: no<br/><b>Hidden</b>: <ins>if condition is yes</ins></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **var**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`<ins>hidden</ins>`* | A first variable.<br/>**Default**: no<br/>**Hidden**: <ins>if condition is yes</ins> |
|
||||
| **var**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` <ins>*`hidden`*</ins> | A first variable.<br/>**Default**: no<br/>**Hidden**: <ins>if condition is yes</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar[0m │ A first variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDefault[0m: no │
|
||||
│ [1;3;4;7mhidden[0m[1;3;7m [0m │ [1mHidden[0m: [4mif condition is yes[0m │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: no │
|
||||
│ [1;3;4;7mhidden[0m[1;7m [0m │ [1mHidden[0m: [4mif condition is yes[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: no │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m hidden [0m │ [1mDefault[0m: the value is always yes │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m │ [1mDefault[0m: the value is always yes │
|
||||
│ [1;7mauto modified [0m │ [1mHidden[0m: only if the variable var1 │
|
||||
│ │ has value "yes" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: value │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable "var1" │
|
||||
│ [1;3;7mdisabled [0m │ has the value "value" │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable "var1" │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ has the value "value" │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A third variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: depends on a calculation │
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: value │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable "var1" │
|
||||
│ [1;3;7mdisabled [0m │ has the value "value" │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: when the variable "var1" │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ has the value "value" │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A third variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: depends on a calculation │
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: value │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A third variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: depends on an undocumented │
|
||||
│ [1;3;7mdisabled [0m │ variable │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: depends on an undocumented │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ variable │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: value │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A third variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: depends on an undocumented │
|
||||
│ [1;3;7mdisabled [0m │ variable │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: depends on an undocumented │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ variable │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: no │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable1[0m │ A first variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: if condition is egal to │
|
||||
│ [1;3;7mdisabled [0m │ "yes" │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: if condition is egal to │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ "yes" │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable2[0m │ A seconde variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: if condition is not egal │
|
||||
│ [1;3;7mdisabled [0m │ to "yes" │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: if condition is not egal │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ to "yes" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: no │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar1[0m │ A first variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m hidden [0m │ [1mHidden[0m: calculation from an unknown │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m │ [1mHidden[0m: calculation from an unknown │
|
||||
│ │ variable │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar2[0m │ A second variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m hidden [0m │ [1mHidden[0m: calculation from an │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m │ [1mHidden[0m: calculation from an │
|
||||
│ │ condition variable │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m │ │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar3[0m │ A second variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m hidden [0m │ [1mHidden[0m: when the variable │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m │ [1mHidden[0m: when the variable │
|
||||
│ │ "condition" is defined and has the │
|
||||
│ │ value "true" │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar4[0m │ A forth variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m hidden [0m │ [1mHidden[0m: when the variable │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m │ [1mHidden[0m: when the variable │
|
||||
│ │ "condition" is defined and has the │
|
||||
│ │ value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" has the value "true" │
|
||||
│ [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 │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" has the value "true" │
|
||||
│ [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 │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" has the value "true" │
|
||||
│ [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 │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: yes │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" has the value "yes" │
|
||||
│ [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 │ "condition" has the value "yes" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: yes │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" hasn't the value "yes" │
|
||||
│ [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 │ "condition" hasn't the value "yes" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "condition" has the value "true" │
|
||||
│ [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 │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: false │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m [1;7m unique [0m [1;7m multiple [0m │ "condition" has the value "true" │
|
||||
│ [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 [1;7m unique [0m [1;7m multiple [0m │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
12
tests/results/test/04_5validators_warnings.adoc
Normal file
12
tests/results/test/04_5validators_warnings.adoc
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**int** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` |
|
||||
An integer. +
|
||||
**Validator**: the max value is 100 +
|
||||
**Default**: 1000
|
||||
|====
|
||||
|
||||
4
tests/results/test/04_5validators_warnings.gitlab.md
Normal file
4
tests/results/test/04_5validators_warnings.gitlab.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
| Variable | Description |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|
|
||||
| **<a id="int" name="int">int</a>**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.<br/>**Validator**: the max value is 100<br/>**Default**: 1000 |
|
||||
|
||||
9
tests/results/test/04_5validators_warnings.html
Normal file
9
tests/results/test/04_5validators_warnings.html
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>int</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>integer</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>An integer.<br/><b>Validator</b>: the max value is 100<br/><b>Default</b>: 1000</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
36
tests/results/test/04_5validators_warnings.json
Normal file
36
tests/results/test/04_5validators_warnings.json
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"int": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": 1000
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "integer"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "standard"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"validators": {
|
||||
"name": "Validator",
|
||||
"values": "the max value is 100"
|
||||
},
|
||||
"path": "int",
|
||||
"names": [
|
||||
"int"
|
||||
],
|
||||
"description": "An integer.",
|
||||
"gen_examples": [
|
||||
1000
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
4
tests/results/test/04_5validators_warnings.md
Normal file
4
tests/results/test/04_5validators_warnings.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **int**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.<br/>**Validator**: the max value is 100<br/>**Default**: 1000 |
|
||||
|
||||
7
tests/results/test/04_5validators_warnings.sh
Normal file
7
tests/results/test/04_5validators_warnings.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mint[0m │ An integer. │
|
||||
│ [1;7m integer [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidator[0m: the max value is 100 │
|
||||
│ │ [1mDefault[0m: 1000 │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
16
tests/results/test/04_5validators_warnings_all.adoc
Normal file
16
tests/results/test/04_5validators_warnings_all.adoc
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
[cols="1a,1a"]
|
||||
|====
|
||||
| Variable | Description
|
||||
|
|
||||
|
||||
**int** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` |
|
||||
An integer. +
|
||||
**Validators**:
|
||||
|
||||
* the minimum value is 10
|
||||
* the maximum value is 100
|
||||
|
||||
**Default**: 1000
|
||||
|====
|
||||
|
||||
4
tests/results/test/04_5validators_warnings_all.gitlab.md
Normal file
4
tests/results/test/04_5validators_warnings_all.gitlab.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
| Variable | Description |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="int" name="int">int</a>**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.<br/>**Validators**: <br/>- the minimum value is 10<br/>- the maximum value is 100<br/>**Default**: 1000 |
|
||||
|
||||
10
tests/results/test/04_5validators_warnings_all.html
Normal file
10
tests/results/test/04_5validators_warnings_all.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>int</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>integer</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>An integer.<br/><b>Validators</b>: <ul><li>the minimum value is 10</li>
|
||||
<li>the maximum value is 100</li></ul><br/><b>Default</b>: 1000 </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
39
tests/results/test/04_5validators_warnings_all.json
Normal file
39
tests/results/test/04_5validators_warnings_all.json
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"int": {
|
||||
"type": "variable",
|
||||
"default": {
|
||||
"name": "Default",
|
||||
"values": 1000
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"type": "type",
|
||||
"name": "integer"
|
||||
},
|
||||
{
|
||||
"type": "mode",
|
||||
"name": "standard"
|
||||
},
|
||||
{
|
||||
"type": "property",
|
||||
"name": "mandatory"
|
||||
}
|
||||
],
|
||||
"validators": {
|
||||
"name": "Validators",
|
||||
"values": [
|
||||
"the minimum value is 10",
|
||||
"the maximum value is 100"
|
||||
]
|
||||
},
|
||||
"path": "int",
|
||||
"names": [
|
||||
"int"
|
||||
],
|
||||
"description": "An integer.",
|
||||
"gen_examples": [
|
||||
1000
|
||||
],
|
||||
"mandatory_without_value": false
|
||||
}
|
||||
}
|
||||
4
tests/results/test/04_5validators_warnings_all.md
Normal file
4
tests/results/test/04_5validators_warnings_all.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **int**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.<br/>**Validators**: <br/>- the minimum value is 10<br/>- the maximum value is 100<br/>**Default**: 1000 |
|
||||
|
||||
9
tests/results/test/04_5validators_warnings_all.sh
Normal file
9
tests/results/test/04_5validators_warnings_all.sh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
|
||||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mint[0m │ An integer. │
|
||||
│ [1;7m integer [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ - the minimum value is 10 │
|
||||
│ │ - the maximum value is 100 │
|
||||
│ │ [1mDefault[0m: 1000 │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
[1mfamily[0m
|
||||
|
||||
|
||||
[1;7m basic [0m [1;3;7m disabled [0m
|
||||
[1;7m basic [0m [1;7m [0m[1;3;7mdisabled[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mDisabled[0m: depends on a calculation
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
[1mfamily[0m
|
||||
|
||||
|
||||
[1;7m basic [0m [1;3;7m hidden [0m
|
||||
[1;7m basic [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mHidden[0m: if condition is yes
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
[1mfamily[0m
|
||||
|
||||
|
||||
[1;7m standard [0m [1;3;7m hidden [0m
|
||||
[1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mHidden[0m: when the variable [32m"condition"[0m has the value [32m"true"[0m
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
[1mfamily[0m
|
||||
|
||||
|
||||
[1;7m basic [0m [1;3;7m hidden [0m
|
||||
[1;7m basic [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mHidden[0m: if condition is yes
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: no │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m mandatory [0m │ [1mMandatory[0m: only if rougail.condition │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mmandatory[0m[1;7m [0m │ [1mMandatory[0m: only if rougail.condition │
|
||||
│ │ has the value "yes" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@
|
|||
│ [1;7m boolean [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: true │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvar[0m │ A variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;3;7m mandatory [0m │ [1mMandatory[0m: when the variable │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m [0m[1;3;7mmandatory[0m[1;7m [0m │ [1mMandatory[0m: when the variable │
|
||||
│ │ "condition" has the value "true" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ This family contains lists of variable blocks
|
|||
│ │ - b │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mleadership.follower[0m │ A follower. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDefault[0m: value │
|
||||
│ [1;3;7mdisabled [0m │ [1mDisabled[0m: depends on a calculation │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: value │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ [1mDisabled[0m: depends on a calculation │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ This family contains lists of variable blocks
|
|||
[1mleader[0m
|
||||
|
||||
|
||||
[1;7m basic [0m [1;3;7m hidden [0m
|
||||
[1;7m basic [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mHidden[0m: if condition is no
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ This family contains lists of variable blocks
|
|||
│ [1;7mmultiple [0m │ │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mleader.follower[0m │ A follower. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: if condition is yes │
|
||||
│ [1;3;7mdisabled [0m │ │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ [1mDisabled[0m: if condition is yes │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ This family builds families dynamically
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mdyn[0m[1;3mval1[0m[1m.var[0m │ A dynamic variable. │
|
||||
│ [1mdyn[0m[1;3mval2[0m[1m.var[0m │ [1mDisabled[0m: when the identifier is │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ "val1" │
|
||||
│ [1;3;7mdisabled [0m │ │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ "val1" │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ This family builds families dynamically
|
|||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mdyn[0m[1;3mval1[0m[1m.var2[0m │ A new variable. │
|
||||
│ [1mdyn[0m[1;3mval2[0m[1m.var2[0m │ [1mDisabled[0m: │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ - when the variable "dyn[3mval1[0m.var1" │
|
||||
│ [1;3;7mdisabled [0m │ has the value "val1" │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;7m [0m │ - when the variable "dyn[3mval1[0m.var1" │
|
||||
│ [1;3;7mdisabled[0m[1;7m [0m │ has the value "val1" │
|
||||
│ │ - when the variable "dyn[3mval2[0m.var1" │
|
||||
│ │ has the value "val1" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -32,6 +32,6 @@ This family builds families dynamically
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar2[0m │ A new variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m [1;3;7m [0m │ [1mDisabled[0m: when the variable │
|
||||
│ [1;3;7mdisabled [0m │ "dyn[3mval1[0m.var1" has the value "val1" │
|
||||
│ [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 │ "dyn[3mval1[0m.var1" has the value "val1" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ This family builds families dynamically
|
|||
[1mdyn[0m[1;3mval2[0m
|
||||
|
||||
|
||||
[1;7m standard [0m [1;3;7m hidden [0m
|
||||
[1;7m standard [0m [1;7m [0m[1;3;7mhidden[0m[1;7m [0m
|
||||
|
||||
|
||||
[1mHidden[0m: if suffix == [32m'val2'[0m
|
||||
|
|
|
|||
1
tests/results/test/warnings_04_5validators_warnings
Normal file
1
tests/results/test/warnings_04_5validators_warnings
Normal file
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
1
tests/results/test/warnings_04_5validators_warnings_all
Normal file
1
tests/results/test/warnings_04_5validators_warnings_all
Normal file
|
|
@ -0,0 +1 @@
|
|||
["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""]
|
||||
7
tests/results/test_examples/04_5validators_warnings.adoc
Normal file
7
tests/results/test_examples/04_5validators_warnings.adoc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
int: 1000 # An integer
|
||||
----
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<details><summary>Example with all variables modifiable</summary>
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000 # An integer
|
||||
```
|
||||
</details>
|
||||
|
||||
3
tests/results/test_examples/04_5validators_warnings.html
Normal file
3
tests/results/test_examples/04_5validators_warnings.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<h1>Example with all variables modifiable</h1>
|
||||
|
||||
<pre>int: 1000 # An integer</pre>
|
||||
6
tests/results/test_examples/04_5validators_warnings.md
Normal file
6
tests/results/test_examples/04_5validators_warnings.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000
|
||||
```
|
||||
8
tests/results/test_examples/04_5validators_warnings.sh
Normal file
8
tests/results/test_examples/04_5validators_warnings.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
[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;34mint[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;34m1000[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# An integer[0m[48;2;39;40;34m [0m
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
int: 1000 # An integer
|
||||
----
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<details><summary>Example with all variables modifiable</summary>
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000 # An integer
|
||||
```
|
||||
</details>
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<h1>Example with all variables modifiable</h1>
|
||||
|
||||
<pre>int: 1000 # An integer</pre>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000
|
||||
```
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
[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;34mint[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;34m1000[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# An integer[0m[48;2;39;40;34m [0m
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
[]
|
||||
|
|
@ -0,0 +1 @@
|
|||
["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""]
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
int: 1000 # An integer
|
||||
----
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<details><summary>Example with all variables modifiable</summary>
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000 # An integer
|
||||
```
|
||||
</details>
|
||||
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<h1>Example with all variables modifiable</h1>
|
||||
|
||||
<pre>int: 1000 # An integer</pre>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# Example with all variables modifiable
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000 # An integer
|
||||
```
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
|
||||
[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;34mint[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;34m1000[0m[38;2;248;248;242;48;2;39;40;34m [0m[38;2;149;144;119;48;2;39;40;34m# An integer[0m[48;2;39;40;34m [0m
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
== Example with all variables modifiable
|
||||
|
||||
[,yaml]
|
||||
----
|
||||
---
|
||||
int: 1000 # An integer
|
||||
----
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<details><summary>Example with all variables modifiable</summary>
|
||||
|
||||
```yaml
|
||||
---
|
||||
int: 1000 # An integer
|
||||
```
|
||||
</details>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue