feat: personalise column number
This commit is contained in:
parent
3cde479202
commit
9eb7b8e818
5714 changed files with 44360 additions and 58214 deletions
96
README.md
96
README.md
|
|
@ -1,43 +1,79 @@
|
|||
# Generate documentation
|
||||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
## Generate documentation from structural files
|
||||
|
||||
> **🛈 Informations**
|
||||
>
|
||||
> **<a id="doc" name="doc">doc</a>**\
|
||||
> `basic` *`disabled`*\
|
||||
> **Disabled**: when "[Generate documentation](#doc)" is not set in "[Select for output](#step.output)"
|
||||
> The structural files contain all the information related to the variables. This output generates the documentation for all or some of these variables.\
|
||||
> **Path**: **doc**\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: if doc is not set in "[Select for output](#step.output)"
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.title_level" name="doc.title_level">doc.title_level</a>**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory`<br/>**Command line**: <a id="doc.title_level" name="doc.title_level">--doc.title_level</a>, -dt<br/>**Environment variable**: <a id="doc.title_level" name="doc.title_level">ROUGAILCLI_DOC.TITLE_LEVEL</a> | Starting title level.<br/>**Default**: 1 |
|
||||
| **<a id="doc.contents" name="doc.contents">doc.contents</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple`<br/>**Command line**: <a id="doc.contents" name="doc.contents">--doc.contents</a><br/>**Environment variable**: <a id="doc.contents" name="doc.contents">ROUGAILCLI_DOC.CONTENTS</a> | Generated content.<br/>**Choices**: <br/>• variables **← (default)**<br/>• example<br/>• changelog |
|
||||
| **<a id="doc.previous_json_file" name="doc.previous_json_file">doc.previous_json_file</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` *`disabled`*<br/>**Command line**: <a id="doc.previous_json_file" name="doc.previous_json_file">--doc.previous_json_file</a><br/>**Environment variable**: <a id="doc.previous_json_file" name="doc.previous_json_file">ROUGAILCLI_DOC.PREVIOUS_JSON_FILE</a> | Previous description file in JSON format.<br/>**Disabled**: changelog is not selected in "[Generated content](#doc.contents)" |
|
||||
| **<a id="doc.without_family" name="doc.without_family">doc.without_family</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <br/>• <a id="doc.without_family" name="doc.without_family">--doc.without_family</a><br/>• <a id="doc.without_family" name="doc.without_family">--doc.no-without_family</a><br/>**Environment variable**: <a id="doc.without_family" name="doc.without_family">ROUGAILCLI_DOC.WITHOUT_FAMILY</a> | Do not add families in documentation.<br/>**Default**: false<br/>**Disabled**: variables is not selected in "[Generated content](#doc.contents)" |
|
||||
| **<a id="doc.root" name="doc.root">doc.root</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard`<br/>**Command line**: <a id="doc.root" name="doc.root">--doc.root</a><br/>**Environment variable**: <a id="doc.root" name="doc.root">ROUGAILCLI_DOC.ROOT</a> | Document the variables from this family. |
|
||||
| **<a id="doc.with_commandline" name="doc.with_commandline">doc.with_commandline</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <br/>• <a id="doc.with_commandline" name="doc.with_commandline">--doc.with_commandline</a><br/>• <a id="doc.with_commandline" name="doc.with_commandline">--doc.no-with_commandline</a><br/>**Environment variable**: <a id="doc.with_commandline" name="doc.with_commandline">ROUGAILCLI_DOC.WITH_COMMANDLINE</a> | Add command line informations in documentation.<br/>**Default**: false<br/>**Disabled**: if "[Generate document in format](#doc.output_format)" is json or variables is not selected in "[Generated content](#doc.contents)" |
|
||||
| **<a id="doc.with_environment" name="doc.with_environment">doc.with_environment</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <br/>• <a id="doc.with_environment" name="doc.with_environment">--doc.with_environment</a><br/>• <a id="doc.with_environment" name="doc.with_environment">--doc.no-with_environment</a><br/>**Environment variable**: <a id="doc.with_environment" name="doc.with_environment">ROUGAILCLI_DOC.WITH_ENVIRONMENT</a> | Add environment variable informations in documentation.<br/>**Default**: false<br/>**Disabled**: if "[Generate document in format](#doc.output_format)" is json or variables is not selected in "[Generated content](#doc.contents)" |
|
||||
| **<a id="doc.environment_default_environment_name" name="doc.environment_default_environment_name">doc.environment_default_environment_name</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <a id="doc.environment_default_environment_name" name="doc.environment_default_environment_name">--doc.environment_default_environment_name</a><br/>**Environment variable**: <a id="doc.environment_default_environment_name" name="doc.environment_default_environment_name">ROUGAILCLI_DOC.ENVIRONMENT_DEFAULT_ENVIRONMENT_NAME</a> | Name of the default environment prefix.<br/>**Validator**: should only user uppercase characters<br/>**Default**: ROUGAIL<br/>**Disabled**: when "__.main_namespace" is not set or "[Add environment variable informations in documentation](#doc.with_environment)" is false |
|
||||
| Variable | Description | Default value | Type | Access control | Validator |
|
||||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------|-----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.output_format" name="doc.output_format">doc.output_format</a>**<br/>**Command line**: -do, --doc.output_format<br/>**Environment variable**: ROUGAILCLI_DOC.OUTPUT_FORMAT | The output format of the generated documentation. | console | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | **Choices**: <br/>• console<br/>• asciidoc<br/>• html<br/>• github<br/>• gitlab<br/>• json |
|
||||
| **<a id="doc.tabular_template" name="doc.tabular_template">doc.tabular_template</a>**<br/>**Command line**: -dm, --doc.tabular_template<br/>**Environment variable**: ROUGAILCLI_DOC.TABULAR_TEMPLATE | Generate document with this tabular model.<br/>The variables are documented with a table view. A template selection allows you to choose the content of each column. | two_columns | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | *`disabled`*<br/>**Disabled**: "[The output format of the generated documentation](#doc.output_format)" in json is not compatible with this variable | **Choices**: <br/>• two_columns<br/>• three_columns<br/>• four_columns<br/>• five_columns<br/>• six_columns |
|
||||
| **<a id="doc.contents" name="doc.contents">doc.contents</a>**<br/>**Command line**: -dc, --doc.contents<br/>**Environment variable**: ROUGAILCLI_DOC.CONTENTS | Generated content.<br/>You can generate three type of document. All variables ("variables"), an example file in YAML format ("example") or change log ("changelog"). | • variables | [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `mandatory` | *`hidden`*<br/>**Hidden**: "[The output format of the generated documentation](#doc.output_format)" in json is not compatible with changelog or example "[Generated content](#doc.contents)" | `unique`<br/>**Choices**: <br/>• variables<br/>• example<br/>• changelog |
|
||||
| **<a id="doc.title_level" name="doc.title_level">doc.title_level</a>**<br/>**Command line**: -dt, --doc.title_level<br/>**Environment variable**: ROUGAILCLI_DOC.TITLE_LEVEL | Starting title level. | 1 | [`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | |
|
||||
| **<a id="doc.default_values" name="doc.default_values">doc.default_values</a>**<br/>**Command line**: <br/>• --doc.default_values<br/>• --doc.no-default_values<br/>**Environment variable**: ROUGAILCLI_DOC.DEFAULT_VALUES | Modify values to document all variables.<br/>To document leadership or dynamic family variables, it is sometimes necessary to generate values, which can change the values in the configuration. Be careful if you reuse this configuration. | true | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | |
|
||||
| **<a id="doc.true_color" name="doc.true_color">doc.true_color</a>**<br/>**Command line**: <br/>• --doc.true_color<br/>• --doc.no-true_color<br/>**Environment variable**: ROUGAILCLI_DOC.TRUE_COLOR | Display documentation in console always with true color terminal. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | *`disabled`*<br/>**Disabled**: when the variable "[The output format of the generated documentation](#doc.output_format)" hasn't the value "console" | |
|
||||
| **<a id="doc.root" name="doc.root">doc.root</a>**<br/>**Command line**: -dr, --doc.root<br/>**Environment variable**: ROUGAILCLI_DOC.ROOT | Document the child variables of the family.<br/>By default, all accessible variables are included in the documentation. It is possible to define the family from which the documentation should be generated. | | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) | | |
|
||||
|
||||
# Families or variables for this family are in an other file name
|
||||
### The variables in this family are documented in another file
|
||||
|
||||
> **🛈 Informations**
|
||||
>
|
||||
> **<a id="doc.other_root_filenames" name="doc.other_root_filenames">doc.other_root_filenames</a>**\
|
||||
> If you separate the variables into different files, the links between the variables will break. Therefore, you must define different filenames for the files containing these variables.\
|
||||
> This family contains lists of variable blocks.\
|
||||
> `basic` *`disabled`*\
|
||||
> **Disabled**: documentation must be splitted
|
||||
> **Path**: **doc.other_root_filenames**\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: when the variable "[Document the child variables of the family](#doc.root)" has the value "null"
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.other_root_filenames.root_path" name="doc.other_root_filenames.root_path">doc.other_root_filenames.root_path</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `unique` `multiple`<br/>**Command line**: <a id="doc.other_root_filenames.root_path" name="doc.other_root_filenames.root_path">--doc.other_root_filenames.root_path</a><br/>**Environment variable**: <a id="doc.other_root_filenames.root_path" name="doc.other_root_filenames.root_path">ROUGAILCLI_DOC.OTHER_ROOT_FILENAMES.ROOT_PATH</a> | Root family name. |
|
||||
| **<a id="doc.other_root_filenames.filename" name="doc.other_root_filenames.filename">doc.other_root_filenames.filename</a>**<br/>[`unix_filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory`<br/>**Command line**: <a id="doc.other_root_filenames.filename" name="doc.other_root_filenames.filename">--doc.other_root_filenames.filename</a><br/>**Environment variable**: <a id="doc.other_root_filenames.filename" name="doc.other_root_filenames.filename">ROUGAILCLI_DOC.OTHER_ROOT_FILENAMES.FILENAME</a> | Name of the file.<br/>**Validators**: <br/>• this filename could be a relative path<br/>• file type allowed: "directory" and "file" |
|
||||
| Variable | Description | Type | Validator |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|-------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.other_root_filenames.root_path" name="doc.other_root_filenames.root_path">doc.other_root_filenames.root_path</a>**<br/>**Command line**: --doc.other_root_filenames.root_path<br/>**Environment variable**: ROUGAILCLI_DOC.OTHER_ROOT_FILENAMES.ROOT_PATH | This file contains child variables of the family. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` | `unique` |
|
||||
| **<a id="doc.other_root_filenames.filename" name="doc.other_root_filenames.filename">doc.other_root_filenames.filename</a>**<br/>**Command line**: --doc.other_root_filenames.filename<br/>**Environment variable**: ROUGAILCLI_DOC.OTHER_ROOT_FILENAMES.FILENAME | Name of the file. | [`UNIX filename`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | • this filename could be a relative path<br/>• file type allowed: "file". |
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.disabled_modes" name="doc.disabled_modes">doc.disabled_modes</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` *`disabled`* `unique` `multiple`<br/>**Command line**: <a id="doc.disabled_modes" name="doc.disabled_modes">--doc.disabled_modes</a><br/>**Environment variable**: <a id="doc.disabled_modes" name="doc.disabled_modes">ROUGAILCLI_DOC.DISABLED_MODES</a> | Disable documentation for variables with those modes.<br/>**Validator**: verify if disable modes already exists<br/>**Disabled**: disabled when there is no mode available |
|
||||
| **<a id="doc.change_default_value" name="doc.change_default_value">doc.change_default_value</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory`<br/>**Command line**: <br/>• <a id="doc.change_default_value" name="doc.change_default_value">--doc.change_default_value</a><br/>• <a id="doc.change_default_value" name="doc.change_default_value">--doc.no-change_default_value</a><br/>**Environment variable**: <a id="doc.change_default_value" name="doc.change_default_value">ROUGAILCLI_DOC.CHANGE_DEFAULT_VALUE</a> | Modify values to document leaderships and dynamics families.<br/>**Default**: true |
|
||||
| **<a id="doc.comment_examples" name="doc.comment_examples">doc.comment_examples</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <br/>• <a id="doc.comment_examples" name="doc.comment_examples">--doc.comment_examples</a><br/>• <a id="doc.comment_examples" name="doc.comment_examples">--doc.no-comment_examples</a><br/>**Environment variable**: <a id="doc.comment_examples" name="doc.comment_examples">ROUGAILCLI_DOC.COMMENT_EXAMPLES</a> | Add description of variables and families when generate examples.<br/>**Default**: false<br/>**Disabled**: disabled when example in not in contents |
|
||||
| **<a id="doc.comment_examples_column" name="doc.comment_examples_column">doc.comment_examples_column</a>**<br/>[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`disabled`*<br/>**Command line**: <a id="doc.comment_examples_column" name="doc.comment_examples_column">--doc.comment_examples_column</a><br/>**Environment variable**: <a id="doc.comment_examples_column" name="doc.comment_examples_column">ROUGAILCLI_DOC.COMMENT_EXAMPLES_COLUMN</a> | Comment in examples starts at column.<br/>**Default**: 30<br/>**Disabled**: when the variable "[Add description of variables and families when generate examples](#doc.comment_examples)" is accessible and has the value "false" |
|
||||
| **<a id="doc.output_format" name="doc.output_format">doc.output_format</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory`<br/>**Command line**: <a id="doc.output_format" name="doc.output_format">--doc.output_format</a>, -do<br/>**Environment variable**: <a id="doc.output_format" name="doc.output_format">ROUGAILCLI_DOC.OUTPUT_FORMAT</a> | Generate document in format.<br/>**Validator**: json output_format is not compatible with "changelog" and "example" contents<br/>**Choices**: <br/>• console **← (default)**<br/>• asciidoc<br/>• html<br/>• github<br/>• gitlab<br/>• json |
|
||||
| **<a id="doc.force_true_color_terminal" name="doc.force_true_color_terminal">doc.force_true_color_terminal</a>**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory`<br/>**Command line**: <br/>• <a id="doc.force_true_color_terminal" name="doc.force_true_color_terminal">--doc.force_true_color_terminal</a><br/>• <a id="doc.force_true_color_terminal" name="doc.force_true_color_terminal">--doc.no-force_true_color_terminal</a><br/>**Environment variable**: <a id="doc.force_true_color_terminal" name="doc.force_true_color_terminal">ROUGAILCLI_DOC.FORCE_TRUE_COLOR_TERMINAL</a> | Force true color terminal.<br/>**Default**: false |
|
||||
### Variable and changelog documentation
|
||||
|
||||
> **🛈 Informations**
|
||||
>
|
||||
> **Path**: **doc.tabulars**\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: if "[The output format of the generated documentation](#doc.output_format)" is json or "[Generated content](#doc.contents)" hasn't variable or changelog
|
||||
|
||||
| Variable | Description | Default value | Type | Access control | Validator |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|-----------------|-------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
|
||||
| **<a id="doc.tabulars.without_family" name="doc.tabulars.without_family">doc.tabulars.without_family</a>**<br/>**Command line**: <br/>• -df, --doc.tabulars.without_family<br/>• -ndf, --doc.tabulars.no-without_family<br/>**Environment variable**: ROUGAILCLI_DOC.TABULARS.WITHOUT_FAMILY | Do not add families in documentation. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | |
|
||||
| **<a id="doc.tabulars.with_commandline" name="doc.tabulars.with_commandline">doc.tabulars.with_commandline</a>**<br/>**Command line**: <br/>• -dw, --doc.tabulars.with_commandline<br/>• -ndw, --doc.tabulars.no-with_commandline<br/>**Environment variable**: ROUGAILCLI_DOC.TABULARS.WITH_COMMANDLINE | Add command line informations in documentation. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | |
|
||||
| **<a id="doc.tabulars.with_environment" name="doc.tabulars.with_environment">doc.tabulars.with_environment</a>**<br/>**Command line**: <br/>• -de, --doc.tabulars.with_environment<br/>• -nde, --doc.tabulars.no-with_environment<br/>**Environment variable**: ROUGAILCLI_DOC.TABULARS.WITH_ENVIRONMENT | Add environment variable informations in documentation. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | | |
|
||||
| **<a id="doc.tabulars.environment_prefix" name="doc.tabulars.environment_prefix">doc.tabulars.environment_prefix</a>**<br/>**Command line**: -dv, --doc.tabulars.environment_prefix<br/>**Environment variable**: ROUGAILCLI_DOC.TABULARS.ENVIRONMENT_PREFIX | Environment variable prefix name. | ROUGAIL | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | *`disabled`*<br/>**Disabled**: if "main_namespace" is not set or "[Add environment variable informations in documentation](#doc.tabulars.with_environment)" is false | Should only use uppercase characters. |
|
||||
|
||||
### Changelog documentation
|
||||
|
||||
> **🛈 Informations**
|
||||
>
|
||||
> **Path**: **doc.changelog**\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: if changelog in not in "[Generated content](#doc.contents)"
|
||||
|
||||
| Variable | Description | Type |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.changelog.previous_json_file" name="doc.changelog.previous_json_file">doc.changelog.previous_json_file</a>**<br/>**Command line**: -dp, --doc.changelog.previous_json_file<br/>**Environment variable**: ROUGAILCLI_DOC.CHANGELOG.PREVIOUS_JSON_FILE | Previous description file in JSON format.<br/>To generate the changelog, you need to compare the old list of variables (in json format) with the current variables. | [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` |
|
||||
|
||||
### Examples configuration
|
||||
|
||||
> **🛈 Informations**
|
||||
>
|
||||
> **Path**: **doc.examples**\
|
||||
> *`disabled`*\
|
||||
> **Disabled**: if example is not in "[Generated content](#doc.contents)"
|
||||
|
||||
| Variable | Description | Default value | Type | Access control |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|-----------------|-------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="doc.examples.comment" name="doc.examples.comment">doc.examples.comment</a>**<br/>**Command line**: <br/>• -dx, --doc.examples.comment<br/>• -ndx, --doc.examples.no-comment<br/>**Environment variable**: ROUGAILCLI_DOC.EXAMPLES.COMMENT | Add description of variables and families when generate examples. | false | [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | |
|
||||
| **<a id="doc.examples.comment_column" name="doc.examples.comment_column">doc.examples.comment_column</a>**<br/>**Command line**: --doc.examples.comment_column<br/>**Environment variable**: ROUGAILCLI_DOC.EXAMPLES.COMMENT_COLUMN | Comment in examples starts at column. | 30 | [`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | *`disabled`*<br/>**Disabled**: when the variable "[Add description of variables and families when generate examples](#doc.examples.comment)" has the value "false" |
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -52,12 +52,6 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
return self.display()
|
||||
|
||||
def parser(self, previous_families, new_families):
|
||||
def add(new):
|
||||
self.formatter.variable_to_string(new, self._added_variables)
|
||||
|
||||
def remove(previous):
|
||||
self._removed_variables.append(previous)
|
||||
|
||||
done = []
|
||||
for element in list(previous_families) + list(new_families):
|
||||
if element in done:
|
||||
|
|
@ -67,28 +61,28 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
new = new_families.get(element)
|
||||
if not previous:
|
||||
if new["type"] == "variable":
|
||||
add(new)
|
||||
self._added_variables.append(new)
|
||||
else:
|
||||
self.parser({}, new["children"])
|
||||
elif not new:
|
||||
if previous["type"] == "variable":
|
||||
if "identifiers" in previous:
|
||||
for identifiers in previous["identifiers"]:
|
||||
remove(calc_path(previous["path"], self.formatter, identifiers))
|
||||
self._removed_variables.append(calc_path(previous["path"], self.formatter, identifiers))
|
||||
else:
|
||||
remove(calc_path(previous["path"], self.formatter))
|
||||
self._removed_variables.append(calc_path(previous["path"], self.formatter))
|
||||
else:
|
||||
self.parser(previous["children"], {})
|
||||
elif previous["type"] != new["type"]:
|
||||
if previous["type"] == "variable":
|
||||
if "identifiers" in previous:
|
||||
for identifiers in previous["identifiers"]:
|
||||
remove(calc_path(previous["path"], self.formatter, identifiers))
|
||||
self._removed_variables.append(calc_path(previous["path"], self.formatter, identifiers))
|
||||
else:
|
||||
remove(calc_path(previous["path"], self.formatter))
|
||||
self._removed_variables.append(calc_path(previous["path"], self.formatter))
|
||||
self.parser({}, new["children"])
|
||||
else:
|
||||
add(new)
|
||||
self._added_variables.append(new)
|
||||
self.parser(previous["children"], {})
|
||||
elif previous["type"] != "variable":
|
||||
self.parser(previous["children"], new["children"])
|
||||
|
|
@ -144,9 +138,7 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
modified_attributes[prop] = (name, prop_previous, prop_new)
|
||||
if not modified_attributes:
|
||||
continue
|
||||
self.formatter.variable_to_string(
|
||||
new, self._modified_variables, modified_attributes
|
||||
)
|
||||
self._modified_variables.append((new, modified_attributes))
|
||||
|
||||
def display(self) -> str:
|
||||
msg = ""
|
||||
|
|
@ -155,10 +147,12 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
title = _("New variable")
|
||||
else:
|
||||
title = _("New variables")
|
||||
for add in self._added_variables:
|
||||
self.formatter.variable_to_string(add)
|
||||
msg += self.formatter._run(
|
||||
[
|
||||
self.formatter.title(title, self.level),
|
||||
self.formatter.table(self._added_variables),
|
||||
self.formatter.table(),
|
||||
self.formatter.end_family(self.level)
|
||||
],
|
||||
self.level,
|
||||
|
|
@ -169,10 +163,12 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods
|
|||
title = _("Modified variable")
|
||||
else:
|
||||
title = _("Modified variables")
|
||||
for mod, modified_attributes in self._modified_variables:
|
||||
self.formatter.variable_to_string(mod, modified_attributes)
|
||||
msg += self.formatter._run(
|
||||
[
|
||||
self.formatter.title(title, self.level),
|
||||
self.formatter.table(self._modified_variables),
|
||||
self.formatter.table(),
|
||||
self.formatter.end_family(self.level)
|
||||
],
|
||||
self.level,
|
||||
|
|
|
|||
|
|
@ -21,28 +21,48 @@ from rougail.utils import load_modules
|
|||
from .i18n import _
|
||||
|
||||
|
||||
ROUGAIL_VARIABLE_TYPE = (
|
||||
"https://rougail.readthedocs.io/en/latest/variable.html#variables-types"
|
||||
)
|
||||
|
||||
|
||||
OUTPUTS = None
|
||||
TABLES = None
|
||||
|
||||
|
||||
def get_outputs() -> None:
|
||||
"""Load all outputs"""
|
||||
module_name = "rougail.output_doc.output"
|
||||
def get_outputs_or_tables(type_) -> None:
|
||||
"""Load all outputs or tables"""
|
||||
module_name = f"rougail.output_doc.{type_}"
|
||||
outputs = {}
|
||||
for path in (Path(__file__).parent / "output").iterdir():
|
||||
names = []
|
||||
for path in (Path(__file__).parent / type_).iterdir():
|
||||
name = path.name
|
||||
if not name.endswith(".py") or name.endswith("__.py"):
|
||||
continue
|
||||
module = load_modules(module_name + "." + name[:-3], str(path))
|
||||
if "Formatter" not in dir(module):
|
||||
continue
|
||||
level = module.Formatter.level
|
||||
if type_ == "output":
|
||||
if "Formatter" not in dir(module):
|
||||
continue
|
||||
obj_class = module.Formatter
|
||||
elif type_ == "table":
|
||||
if "Table" not in dir(module):
|
||||
continue
|
||||
obj_class = module.Table
|
||||
level = obj_class.level
|
||||
if level in outputs:
|
||||
raise ImportError(
|
||||
_('duplicated level rougail-doc for output "{0}": {1} and {2}').format(
|
||||
level, module.Formatter.name, outputs[level].name
|
||||
_('duplicated level rougail-output-doc for {0} "{1}": {2} and {3}').format(
|
||||
type_, level, obj_class.name, outputs[level].name
|
||||
)
|
||||
)
|
||||
outputs[module.Formatter.level] = module.Formatter
|
||||
if obj_class.name in names:
|
||||
raise ImportError(
|
||||
_('duplicated name "{0}" in rougail-output-doc').format(
|
||||
obj_class.name
|
||||
)
|
||||
)
|
||||
names.append(obj_class.name)
|
||||
outputs[level] = obj_class
|
||||
return {outputs[level].name: outputs[level] for level in sorted(outputs)}
|
||||
|
||||
|
||||
|
|
@ -54,13 +74,28 @@ class OutPuts: # pylint: disable=R0903
|
|||
) -> None:
|
||||
global OUTPUTS
|
||||
if OUTPUTS is None:
|
||||
OUTPUTS = get_outputs()
|
||||
OUTPUTS = get_outputs_or_tables("output")
|
||||
|
||||
def get(self) -> dict:
|
||||
"""Get all outputs"""
|
||||
return OUTPUTS
|
||||
|
||||
|
||||
class Tables: # pylint: disable=R0903
|
||||
"""Transformations applied on a object instance"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
) -> None:
|
||||
global TABLES
|
||||
if TABLES is None:
|
||||
TABLES = get_outputs_or_tables("table")
|
||||
|
||||
def get(self) -> dict:
|
||||
"""Get all tables"""
|
||||
return TABLES
|
||||
|
||||
|
||||
def get_rougail_config(
|
||||
*,
|
||||
backward_compatibility=True, # pylint: disable=unused-argument
|
||||
|
|
@ -68,6 +103,8 @@ def get_rougail_config(
|
|||
"""Get documentation for output_doc modules"""
|
||||
outputs = list(OutPuts().get())
|
||||
output_format_default = outputs[0]
|
||||
tables = list(Tables().get())
|
||||
table_default = tables[0]
|
||||
rougail_options = f"""
|
||||
doc:
|
||||
description: {_('Generate documentation')}
|
||||
|
|
@ -85,6 +122,7 @@ doc:
|
|||
|
||||
contents:
|
||||
description: {_('Generated content')}
|
||||
alternative_name: dc
|
||||
choices:
|
||||
- variables
|
||||
- example
|
||||
|
|
@ -94,6 +132,7 @@ doc:
|
|||
|
||||
previous_json_file:
|
||||
description: {_('Previous description file in JSON format')}
|
||||
alternative_name: dp
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{{{ "changelog" not in _.contents }}}}
|
||||
|
|
@ -103,6 +142,7 @@ doc:
|
|||
without_family:
|
||||
description: {_('Do not add families in documentation')}
|
||||
default: false
|
||||
alternative_name: df
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{{{ _.output_format == "json" or ("variables" not in _.contents and "changelog" not in _.contents) }}}}
|
||||
|
|
@ -111,10 +151,12 @@ doc:
|
|||
|
||||
root:
|
||||
description: {_('Document the variables from this family')}
|
||||
alternative_name: dr
|
||||
mandatory: false
|
||||
|
||||
with_commandline:
|
||||
description: {_('Add command line informations in documentation')}
|
||||
alternative_name: dw
|
||||
default: false
|
||||
disabled:
|
||||
jinja: |-
|
||||
|
|
@ -124,6 +166,7 @@ doc:
|
|||
|
||||
with_environment:
|
||||
description: {_('Add environment variable informations in documentation')}
|
||||
alternative_name: de
|
||||
default: false
|
||||
disabled:
|
||||
jinja: |-
|
||||
|
|
@ -133,15 +176,16 @@ doc:
|
|||
|
||||
environment_default_environment_name:
|
||||
description: {_("Name of the default environment prefix")}
|
||||
alternative_name: dd
|
||||
default: ROUGAIL
|
||||
validators:
|
||||
- jinja: |-
|
||||
{{{{ _.environment_default_environment_name | upper != _.environment_default_environment_name }}}}
|
||||
{{{{ (_.environment_default_environment_name | upper) != _.environment_default_environment_name }}}}
|
||||
return_type: boolean
|
||||
description: {_("should only user uppercase characters")}
|
||||
disabled:
|
||||
jinja: |-
|
||||
{{{{ __.main_namespace or _.with_environment is false }}}}
|
||||
{{{{ __.main_namespace == none or _.with_environment is false }}}}
|
||||
return_type: boolean
|
||||
description: {_('when "__.main_namespace" is not set or "_.with_environment" is false')}
|
||||
|
||||
|
|
@ -186,6 +230,7 @@ doc:
|
|||
|
||||
comment_examples:
|
||||
description: {_('Add description of variables and families when generate examples')}
|
||||
alternative_name: dx
|
||||
default: false
|
||||
disabled:
|
||||
jinja: |-
|
||||
|
|
@ -204,7 +249,7 @@ doc:
|
|||
output_format:
|
||||
description: {_('Generate document in format')}
|
||||
alternative_name: do
|
||||
default: output_format_default
|
||||
default: { output_format_default }
|
||||
validators:
|
||||
- jinja: |-
|
||||
{{% if _.output_format == 'json' %}}
|
||||
|
|
@ -214,12 +259,27 @@ doc:
|
|||
{{% endif %}}
|
||||
description: {_('json output_format is not compatible with "changelog" and "example" contents')}
|
||||
choices:
|
||||
""".replace(
|
||||
"output_format_default", output_format_default
|
||||
)
|
||||
"""
|
||||
for output in outputs:
|
||||
rougail_options += f" - {output}\n"
|
||||
rougail_options += f"""
|
||||
table_model:
|
||||
description: {_('Generate document inside table model')}
|
||||
alternative_name: dm
|
||||
default: { table_default }
|
||||
validators:
|
||||
- jinja: |-
|
||||
{{% if _.output_format == 'json' %}}
|
||||
{{% if "changelog" in _.contents or "example" in _.contents %}}
|
||||
cannot add to contents "{{{{ _.contents }}}}" with output_format "json"
|
||||
{{% endif %}}
|
||||
{{% endif %}}
|
||||
description: {_('json output_format is not compatible with "changelog" and "example" contents')}
|
||||
choices:
|
||||
"""
|
||||
for table in tables:
|
||||
rougail_options += f" - {table}\n"
|
||||
rougail_options += f"""
|
||||
force_true_color_terminal:
|
||||
description: {_('Force true color terminal')}
|
||||
default: false
|
||||
|
|
|
|||
|
|
@ -363,12 +363,7 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
else:
|
||||
multi = False
|
||||
if multi:
|
||||
informations["properties"].append(
|
||||
{
|
||||
"type": "multiple",
|
||||
"name": _("multiple"),
|
||||
}
|
||||
)
|
||||
informations["multiple"] = True
|
||||
examples = variable.information.get("examples", None)
|
||||
if examples is None:
|
||||
examples = variable.information.get("test", None)
|
||||
|
|
@ -474,11 +469,9 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
if example is not None:
|
||||
if isinstance(example, tuple):
|
||||
example = list(example)
|
||||
for prop in informations["properties"]:
|
||||
if prop["type"] == "multiple":
|
||||
if not isinstance(example, list):
|
||||
example = [example]
|
||||
break
|
||||
if informations.get("multiple"):
|
||||
if not isinstance(example, list):
|
||||
example = [example]
|
||||
else:
|
||||
if isinstance(example, list):
|
||||
index = variable.index()
|
||||
|
|
@ -497,25 +490,19 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
example = default
|
||||
else:
|
||||
example = self.get_type_default_value(
|
||||
variable, informations["properties"]
|
||||
variable, informations
|
||||
)
|
||||
if leader is not None and variable.isfollower():
|
||||
example = [example] + [undefined] * (len(leader["gen_examples"][-1]) - 1)
|
||||
return example
|
||||
|
||||
def get_type_default_value(self, variable, properties):
|
||||
def get_type_default_value(self, variable, informations):
|
||||
example = self.convert_option.get(variable.information.get("type"), {}).get(
|
||||
"example", None
|
||||
)
|
||||
if example is None:
|
||||
example = "xxx"
|
||||
for prop in properties:
|
||||
if prop["type"] == "multiple":
|
||||
multi = True
|
||||
break
|
||||
else:
|
||||
multi = False
|
||||
if multi:
|
||||
if informations.get("multiple"):
|
||||
example = [example]
|
||||
return example
|
||||
|
||||
|
|
@ -526,12 +513,7 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
):
|
||||
variable_type = child.information.get("type")
|
||||
doc_type = self.convert_option.get(variable_type, {"params": {}})
|
||||
informations["properties"] = [
|
||||
{
|
||||
"type": "type",
|
||||
"name": doc_type.get("msg", variable_type),
|
||||
}
|
||||
]
|
||||
informations["variable_type"] = doc_type.get("msg", variable_type)
|
||||
# extra parameters for types
|
||||
option = child.get()
|
||||
validators = []
|
||||
|
|
@ -561,7 +543,7 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
)
|
||||
)
|
||||
break
|
||||
if child.information.get("type") == "regexp":
|
||||
if variable_type == "regexp":
|
||||
validators.append(
|
||||
_('text based with regular expressions "{0}"').format(child.pattern())
|
||||
)
|
||||
|
|
@ -572,7 +554,7 @@ class RougailOutputDoc(Examples, Changelog):
|
|||
else:
|
||||
key = _("Validators")
|
||||
informations["validators"] = {"name": key, "values": validators}
|
||||
if child.information.get("type") == "choice":
|
||||
if variable_type == "choice":
|
||||
choices = self._to_string(child, "choice", do_not_raise=True)
|
||||
if choices is None:
|
||||
choices = child.value.list()
|
||||
|
|
|
|||
|
|
@ -122,11 +122,11 @@ class Formatter(CommonFormatter):
|
|||
"""Dump yaml part of documentation"""
|
||||
return f"[,yaml]\n----\n---\n{dump(_dump)}\n----\n"
|
||||
|
||||
def table(self, datas: list, with_header: bool = True) -> str:
|
||||
def table(self, with_header: bool = True) -> str:
|
||||
"""Transform list to a table in string format
|
||||
we change the first line because we want that col has the same width
|
||||
"""
|
||||
table = super().table(datas, with_header)
|
||||
table = super().table(with_header)
|
||||
stable = table.split("\n", 1)
|
||||
return '[cols="1a,1a"]\n' + stable[1]
|
||||
|
||||
|
|
|
|||
|
|
@ -175,14 +175,14 @@ class Formatter(CommonFormatter):
|
|||
for l in line.split(self.enter_table):
|
||||
self.max_line = max(self.max_line, len(l) + 1)
|
||||
|
||||
def table(self, datas: list, with_header: bool = True) -> str:
|
||||
def table(self, with_header: bool = True) -> str:
|
||||
"""Transform list to a table in string format"""
|
||||
table = self.rich_table(show_lines=True)
|
||||
if with_header:
|
||||
table.add_column(_("Variable"), width=self.max_line)
|
||||
table.add_column(_("Description"), width=self.max_line)
|
||||
for data in datas:
|
||||
table.add_row(str(data[0]), data[1])
|
||||
for column in self.table_datas.headers():
|
||||
table.add_column(column, width=self.max_line)
|
||||
for data in self.table_datas.get():
|
||||
table.add_row(*data)
|
||||
return table
|
||||
|
||||
def family_informations(self) -> str:
|
||||
|
|
|
|||
|
|
@ -133,9 +133,7 @@ class Formatter(CommonFormatter):
|
|||
|
||||
def table_header(self, lst):
|
||||
"""Manage the header of a table"""
|
||||
return lst[0] + " " * (self.max_line_variable - len(lst[0])), lst[
|
||||
1
|
||||
] + " " * (self.max_line_description - len(lst[1]))
|
||||
return [l + " " * (self.max_line_variable - len(l)) for l in lst]
|
||||
|
||||
def yaml(self, _dump):
|
||||
"""Dump yaml part of documentation"""
|
||||
|
|
|
|||
17
src/rougail/output_doc/tabular/__init__.py
Normal file
17
src/rougail/output_doc/tabular/__init__.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""Loads output
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
78
src/rougail/output_doc/tabular/five_columns.py
Normal file
78
src/rougail/output_doc/tabular/five_columns.py
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ..i18n import _
|
||||
from ..config import ROUGAIL_VARIABLE_TYPE
|
||||
from .four_columns import Table as FourTable
|
||||
|
||||
|
||||
class Table(FourTable):
|
||||
"""The five columns table"""
|
||||
|
||||
name = "five_columns"
|
||||
level = 60
|
||||
|
||||
def clear(self):
|
||||
super().clear()
|
||||
self.five_column = False
|
||||
|
||||
def _add(self) -> tuple:
|
||||
first_column = self.add_first_column()
|
||||
second_column = self.get_column(self.description, self.help_, self.validators, self.choices, self.examples, self.tags)
|
||||
if second_column:
|
||||
self.second_column = True
|
||||
third_column = self.get_column(self.default)
|
||||
if third_column:
|
||||
self.third_column = True
|
||||
types = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["type"],
|
||||
)
|
||||
four_column = self.get_column(types)
|
||||
if four_column:
|
||||
self.four_column = True
|
||||
mode = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["mode", "access_control"],
|
||||
)
|
||||
five_column = self.get_column(mode, *self.calculated_properties)
|
||||
if five_column:
|
||||
self.five_column = True
|
||||
return first_column, second_column, third_column, four_column, five_column
|
||||
|
||||
def headers(self) -> tuple:
|
||||
header = super().headers()
|
||||
if self.five_column:
|
||||
header.append(_("Access control"))
|
||||
return header
|
||||
|
||||
def get_columns(self):
|
||||
for column in self.columns:
|
||||
ret = [column[0]]
|
||||
if self.second_column:
|
||||
ret.append(column[1])
|
||||
if self.third_column:
|
||||
ret.append(column[2])
|
||||
if self.four_column:
|
||||
ret.append(column[3])
|
||||
if self.five_column:
|
||||
ret.append(column[4])
|
||||
yield ret
|
||||
|
||||
def set_properties(self):
|
||||
self.properties = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["properties", "validator"],
|
||||
)
|
||||
63
src/rougail/output_doc/tabular/four_columns.py
Normal file
63
src/rougail/output_doc/tabular/four_columns.py
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ..i18n import _
|
||||
from ..config import ROUGAIL_VARIABLE_TYPE
|
||||
from .three_columns import Table as ThreeTable
|
||||
|
||||
|
||||
class Table(ThreeTable):
|
||||
"""The four columns table"""
|
||||
|
||||
name = "four_columns"
|
||||
level = 50
|
||||
|
||||
def __init__(self, *args) -> None:
|
||||
super().__init__(*args)
|
||||
|
||||
def _add(self) -> tuple:
|
||||
first_column = self.get_column(self.paths, self.properties, self.commandlines, self.environments)
|
||||
if first_column:
|
||||
self.first_column = True
|
||||
second_column = self.get_column(self.description, self.help_, self.validators, self.examples, self.tags, *self.calculated_properties)
|
||||
if second_column:
|
||||
self.second_column = True
|
||||
third_column = self.get_column(self.default)
|
||||
if third_column:
|
||||
self.third_column = True
|
||||
types = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents="type",
|
||||
)
|
||||
four_columns = self.get_column(types, self.choices)
|
||||
return first_column, second_column, third_column, four_columns
|
||||
|
||||
def headers(self) -> tuple:
|
||||
header = super().headers()
|
||||
header.append(_("Type"))
|
||||
return header
|
||||
|
||||
def get_columns(self):
|
||||
if not self.second_column or not self.third_column:
|
||||
raise Exception()
|
||||
return [[col1] for col1, col2, c in self.columns]
|
||||
return self.columns
|
||||
|
||||
def set_properties(self):
|
||||
self.properties = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents="properties",
|
||||
)
|
||||
91
src/rougail/output_doc/tabular/six_columns.py
Normal file
91
src/rougail/output_doc/tabular/six_columns.py
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ..i18n import _
|
||||
from ..config import ROUGAIL_VARIABLE_TYPE
|
||||
from .five_columns import Table as FiveTable
|
||||
|
||||
|
||||
class Table(FiveTable):
|
||||
"""The six columns table"""
|
||||
|
||||
name = "six_columns"
|
||||
level = 70
|
||||
|
||||
def clear(self):
|
||||
super().clear()
|
||||
self.six_column = False
|
||||
|
||||
def _add(self) -> tuple:
|
||||
first_column = self.add_first_column()
|
||||
second_column = self.get_column(self.description, self.help_, self.choices, self.examples, self.tags)
|
||||
if second_column:
|
||||
self.second_column = True
|
||||
third_column = self.get_column(self.default)
|
||||
if third_column:
|
||||
self.third_column = True
|
||||
types = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["type"],
|
||||
)
|
||||
four_column = self.get_column(types)
|
||||
if four_column:
|
||||
self.four_column = True
|
||||
mode = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["mode", "access_control"],
|
||||
)
|
||||
five_column = self.get_column(mode, *self.calculated_properties)
|
||||
if five_column:
|
||||
self.five_column = True
|
||||
validators = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["validator"],
|
||||
)
|
||||
six_column = self.get_column(validators, self.validators)
|
||||
if six_column:
|
||||
self.six_column = True
|
||||
return first_column, second_column, third_column, four_column, five_column, six_column
|
||||
|
||||
def headers(self) -> tuple:
|
||||
header = super().headers()
|
||||
if self.six_column:
|
||||
header.append(_("Validator"))
|
||||
return header
|
||||
|
||||
def get_columns(self):
|
||||
for column in self.columns:
|
||||
ret = [column[0]]
|
||||
if self.second_column:
|
||||
ret.append(column[1])
|
||||
if self.third_column:
|
||||
ret.append(column[2])
|
||||
if self.four_column:
|
||||
ret.append(column[3])
|
||||
if self.five_column:
|
||||
ret.append(column[4])
|
||||
if self.six_column:
|
||||
ret.append(column[5])
|
||||
yield ret
|
||||
|
||||
def set_properties(self):
|
||||
self.properties = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes, contents=["properties"],
|
||||
)
|
||||
|
||||
def set_validators(self):
|
||||
self.validators = self.formatter.convert_section_to_string(
|
||||
"validators", self.informations, self.modified_attributes, multi=True, section_name=False, with_to_phrase=True,
|
||||
)
|
||||
71
src/rougail/output_doc/tabular/three_columns.py
Normal file
71
src/rougail/output_doc/tabular/three_columns.py
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ..i18n import _
|
||||
from ..utils import CommonTable
|
||||
|
||||
|
||||
class Table(CommonTable):
|
||||
"""The three columns table"""
|
||||
|
||||
name = "three_columns"
|
||||
level = 30
|
||||
|
||||
def __init__(self, *args) -> None:
|
||||
super().__init__(*args)
|
||||
self.second_column = False
|
||||
self.third_column = False
|
||||
|
||||
def _add(self) -> tuple:
|
||||
first_column = self.get_column(self.paths, self.properties, self.commandlines, self.environments)
|
||||
if first_column:
|
||||
self.first_column = True
|
||||
second_column = self.get_column(self.description, self.help_, self.validators, self.choices, self.examples, self.tags, *self.calculated_properties)
|
||||
if second_column:
|
||||
self.second_column = True
|
||||
third_column = self.get_column(self.default)
|
||||
if third_column:
|
||||
self.third_column = True
|
||||
return first_column, second_column, third_column
|
||||
|
||||
def headers(self) -> tuple:
|
||||
header = [_("Variable")]
|
||||
if self.second_column:
|
||||
header.append(_("Description"))
|
||||
if self.third_column:
|
||||
header.append(_("Default value"))
|
||||
return header
|
||||
|
||||
def get_columns(self):
|
||||
if not self.second_column or not self.third_column:
|
||||
raise Exception()
|
||||
return [[col1] for col1, col2, c in self.columns]
|
||||
return self.columns
|
||||
|
||||
def set_default(self):
|
||||
if "default" in self.informations:
|
||||
self.default = self.formatter.convert_section_to_string(
|
||||
"default", self.informations, self.modified_attributes, multi=self.multi, section_name=False
|
||||
)
|
||||
else:
|
||||
self.default = None
|
||||
|
||||
def set_choices(self):
|
||||
self.default_is_already_set, self.choices = self.formatter.convert_choices_to_string(
|
||||
self.informations, self.modified_attributes, with_default=False
|
||||
)
|
||||
52
src/rougail/output_doc/tabular/two_columns.py
Normal file
52
src/rougail/output_doc/tabular/two_columns.py
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
"""
|
||||
Silique (https://www.silique.fr)
|
||||
Copyright (C) 2025
|
||||
|
||||
This program is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation, either version 3 of the License, or (at your
|
||||
option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
|
||||
details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
"""
|
||||
|
||||
from ..i18n import _
|
||||
from ..utils import CommonTable
|
||||
|
||||
|
||||
class Table(CommonTable):
|
||||
"""The two columns table"""
|
||||
|
||||
name = "two_columns"
|
||||
level = 10
|
||||
|
||||
def __init__(self, *args) -> None:
|
||||
super().__init__(*args)
|
||||
self.second_column = False
|
||||
|
||||
def _add(self) -> tuple:
|
||||
default = self.default if not self.default_is_already_set else None
|
||||
first_column = self.get_column(self.paths, self.properties, self.commandlines, self.environments)
|
||||
if first_column:
|
||||
self.first_column = True
|
||||
second_column = self.get_column(self.description, self.help_, self.validators, self.choices, default, self.examples, self.tags, *self.calculated_properties)
|
||||
if second_column:
|
||||
self.second_column = True
|
||||
return first_column, second_column
|
||||
|
||||
def headers(self) -> tuple:
|
||||
header = [_("Variable")]
|
||||
if self.second_column:
|
||||
header.append(_("Description"))
|
||||
return header
|
||||
|
||||
def get_columns(self):
|
||||
if not self.second_column:
|
||||
return [[col1] for col1, col2 in self.columns]
|
||||
return self.columns
|
||||
|
|
@ -32,11 +32,7 @@ except:
|
|||
gen_argument_name = None
|
||||
|
||||
from .i18n import _
|
||||
|
||||
|
||||
ROUGAIL_VARIABLE_TYPE = (
|
||||
"https://rougail.readthedocs.io/en/latest/variable.html#variables-types"
|
||||
)
|
||||
from .config import Tables, ROUGAIL_VARIABLE_TYPE
|
||||
|
||||
|
||||
ENTER = "\n\n"
|
||||
|
|
@ -75,6 +71,116 @@ def to_phrase(msg, type_="variable"):
|
|||
return msg[0].upper() + msg[1:]
|
||||
|
||||
|
||||
class CommonTable:
|
||||
"""Class with common function for table"""
|
||||
|
||||
def __init__(self, formatter: "CommonFormatter") -> None:
|
||||
self.formatter = formatter
|
||||
self.clear()
|
||||
|
||||
def clear(self):
|
||||
self.columns = []
|
||||
|
||||
def get(self):
|
||||
columns = self.get_columns()
|
||||
self.clear()
|
||||
return columns
|
||||
|
||||
def add(self, informations: dict, modified_attributes: dict, force_identifiers: Optional[str]) -> tuple:
|
||||
self.informations = informations
|
||||
self.modified_attributes = modified_attributes
|
||||
self.force_identifiers = force_identifiers
|
||||
self.calculated_properties = []
|
||||
self.set_description()
|
||||
self.set_type()
|
||||
self.set_choices()
|
||||
self.set_properties()
|
||||
self.set_default()
|
||||
self.set_examples()
|
||||
self.set_paths()
|
||||
self.set_commandline()
|
||||
self.set_environment()
|
||||
self.set_validators()
|
||||
self.set_tags()
|
||||
self.columns.append(self._add())
|
||||
|
||||
def set_description(self):
|
||||
if "description" in self.informations:
|
||||
self.description = self.formatter.get_description(
|
||||
"variable", self.informations, self.modified_attributes, self.force_identifiers,
|
||||
)
|
||||
else:
|
||||
self.description = None
|
||||
self.help_ = self.formatter.convert_list_to_string("help", self.informations, self.modified_attributes)
|
||||
|
||||
def set_choices(self):
|
||||
self.default_is_already_set, self.choices = self.formatter.convert_choices_to_string(
|
||||
self.informations, self.modified_attributes
|
||||
)
|
||||
|
||||
def set_type(self):
|
||||
self.multi = self.informations.get("multiple", True)
|
||||
self.type = self.informations["variable_type"]
|
||||
|
||||
def set_default(self):
|
||||
if "default" in self.informations:
|
||||
self.default = self.formatter.convert_section_to_string(
|
||||
"default", self.informations, self.modified_attributes, multi=self.multi
|
||||
)
|
||||
else:
|
||||
self.default = None
|
||||
|
||||
def set_examples(self):
|
||||
self.examples = self.formatter.convert_section_to_string(
|
||||
"examples", self.informations, self.modified_attributes, multi=True
|
||||
)
|
||||
|
||||
def set_paths(self):
|
||||
self.paths = self.formatter.join(self.formatter.display_paths(self.informations, self.modified_attributes, self.force_identifiers, is_variable=True))
|
||||
|
||||
def set_commandline(self):
|
||||
if self.formatter.with_commandline and not self.informations.get('not_for_commandline', False):
|
||||
commandlines = self.formatter.display_paths(self.informations, self.modified_attributes, self.force_identifiers, is_variable=True, is_bold=False, variable_prefix="--")
|
||||
if self.type == 'boolean':
|
||||
for path in list(commandlines):
|
||||
commandlines.append("--" + gen_argument_name(path[2:], False, True, False))
|
||||
if "alternative_name" in self.informations:
|
||||
alternative_name = self.informations["alternative_name"]
|
||||
commandlines[0] = f"-{alternative_name}, {commandlines[0]}"
|
||||
if self.type == 'boolean':
|
||||
commandlines[1] = "-" + gen_argument_name(alternative_name, True, True, False) + f", {commandlines[1]}"
|
||||
self.commandlines = self.formatter.section(_("Command line"), commandlines)
|
||||
else:
|
||||
self.commandlines = None
|
||||
|
||||
def set_environment(self):
|
||||
if self.formatter.with_environment:
|
||||
environments = self.formatter.display_paths(self.informations, self.modified_attributes, self.force_identifiers, is_variable=True, is_bold=False, is_upper=True, variable_prefix=self.formatter.prefix)
|
||||
self.environments = self.formatter.section(_("Environment variable"), environments)
|
||||
else:
|
||||
self.environments = None
|
||||
|
||||
def set_properties(self):
|
||||
self.properties = self.formatter.property_to_string(
|
||||
self.informations, self.calculated_properties, self.modified_attributes,
|
||||
)
|
||||
|
||||
def set_validators(self):
|
||||
self.validators = self.formatter.convert_section_to_string(
|
||||
"validators", self.informations, self.modified_attributes, multi=True
|
||||
)
|
||||
|
||||
def set_tags(self):
|
||||
self.tags = self.formatter.convert_section_to_string(
|
||||
"tags", self.informations, self.modified_attributes, multi=True
|
||||
)
|
||||
|
||||
def get_column(self, *args):
|
||||
contents = [arg for arg in args if arg]
|
||||
self.formatter.columns(contents)
|
||||
return self.formatter.join(contents)
|
||||
|
||||
|
||||
class CommonFormatter:
|
||||
"""Class with common function for formatter"""
|
||||
|
||||
|
|
@ -125,6 +231,8 @@ class CommonFormatter:
|
|||
else:
|
||||
if other_root_filenames:
|
||||
self.other_root_filenames = dict(zip(other_root_filenames["root_path"], other_root_filenames["filename"]))
|
||||
table_model = self.rougailconfig["doc.table_model"]
|
||||
self.table_datas = Tables().get()[table_model](self)
|
||||
|
||||
def compute(self, data):
|
||||
return "".join([d for d in data if d])
|
||||
|
|
@ -287,15 +395,10 @@ class CommonFormatter:
|
|||
dico: dict,
|
||||
level: int,
|
||||
*,
|
||||
ori_table_datas: list = None,
|
||||
init: bool = False,
|
||||
) -> str:
|
||||
"""Parse the dict to transform to dict"""
|
||||
msg = []
|
||||
if ori_table_datas is not None:
|
||||
table_datas = ori_table_datas
|
||||
else:
|
||||
table_datas = []
|
||||
ori_level = None
|
||||
if init and self.root:
|
||||
if self.with_family:
|
||||
|
|
@ -303,25 +406,23 @@ class CommonFormatter:
|
|||
dico = dico["children"]
|
||||
for value in dico.values():
|
||||
if value["type"] == "variable":
|
||||
self.variable_to_string(value, table_datas)
|
||||
else:
|
||||
if self.with_family:
|
||||
if value["type"] == "namespace":
|
||||
namespace = ori_level is None
|
||||
else:
|
||||
namespace = False
|
||||
if table_datas:
|
||||
msg.append(self.table(table_datas))
|
||||
table_datas = []
|
||||
msg.extend(self.family_to_string(value["informations"], level, namespace))
|
||||
msg.extend(self.dict_to_dict(value["children"], level + 1))
|
||||
msg.append(self.end_family(level))
|
||||
self.variable_to_string(value)
|
||||
elif self.with_family:
|
||||
if value["type"] == "namespace":
|
||||
namespace = ori_level is None
|
||||
else:
|
||||
self.dict_to_dict(
|
||||
value["children"], level + 1, ori_table_datas=table_datas
|
||||
)
|
||||
if (init or ori_table_datas is None) and table_datas:
|
||||
msg.append(self.table(table_datas))
|
||||
namespace = False
|
||||
if self.table_datas.columns:
|
||||
msg.append(self.table())
|
||||
msg.extend(self.family_to_string(value["informations"], level, namespace))
|
||||
msg.extend(self.dict_to_dict(value["children"], level + 1))
|
||||
msg.append(self.end_family(level))
|
||||
else:
|
||||
self.dict_to_dict(
|
||||
value["children"], level + 1,
|
||||
)
|
||||
if self.table_datas.columns and (init or self.with_family):
|
||||
msg.append(self.table())
|
||||
return msg
|
||||
|
||||
# FAMILY
|
||||
|
|
@ -347,7 +448,7 @@ class CommonFormatter:
|
|||
for help_ in helps:
|
||||
msg.append(to_phrase(help_.strip()))
|
||||
calculated_properties = []
|
||||
property_str = self.property_to_string(informations, calculated_properties, {})[1]
|
||||
property_str = self.property_to_string(informations, calculated_properties, {})
|
||||
if property_str:
|
||||
msg.append(property_str)
|
||||
if calculated_properties:
|
||||
|
|
@ -452,132 +553,18 @@ class CommonFormatter:
|
|||
|
||||
# VARIABLE
|
||||
def variable_to_string(
|
||||
self, informations: dict, table_datas: list, modified_attributes: dict = {}, force_identifiers: Optional[str]=None
|
||||
self, informations: dict, modified_attributes: dict = {}, force_identifiers: Optional[str]=None
|
||||
) -> None:
|
||||
"""Manage variable"""
|
||||
calculated_properties = []
|
||||
multi, first_column = self.variable_first_column(
|
||||
informations, calculated_properties, modified_attributes, force_identifiers
|
||||
)
|
||||
table_datas.append(
|
||||
[
|
||||
self.join(first_column),
|
||||
self.join(
|
||||
self.variable_second_column(
|
||||
informations,
|
||||
calculated_properties,
|
||||
modified_attributes,
|
||||
multi,
|
||||
force_identifiers,
|
||||
)
|
||||
),
|
||||
]
|
||||
)
|
||||
|
||||
def variable_first_column(
|
||||
self,
|
||||
informations: dict,
|
||||
calculated_properties: list,
|
||||
modified_attributes: Optional[dict],
|
||||
force_identifiers: Optional[str],
|
||||
) -> list:
|
||||
"""Collect string for the first column"""
|
||||
multi, properties = self.property_to_string(
|
||||
informations, calculated_properties, modified_attributes,
|
||||
)
|
||||
paths = self.display_paths(informations, modified_attributes, force_identifiers, is_variable=True)
|
||||
first_col = [
|
||||
self.join(paths),
|
||||
properties,
|
||||
]
|
||||
if self.with_commandline and not informations.get('not_for_commandline', False):
|
||||
paths = self.display_paths(informations, modified_attributes, force_identifiers, is_variable=True, is_bold=False, variable_prefix="--")
|
||||
variable_type = informations["properties"][0]["name"]
|
||||
if variable_type == 'boolean':
|
||||
for path in list(paths):
|
||||
paths.append("--" + gen_argument_name(path[2:], False, True, False))
|
||||
if "alternative_name" in informations:
|
||||
alternative_name = informations["alternative_name"]
|
||||
paths[0] += f", -{alternative_name}"
|
||||
if variable_type == 'boolean':
|
||||
paths[1] += ", -" + gen_argument_name(alternative_name, True, True, False)
|
||||
first_col.append(self.section(_("Command line"), paths))
|
||||
if self.with_environment:
|
||||
paths = self.display_paths(informations, modified_attributes, force_identifiers, is_variable=True, is_bold=False, is_upper=True, variable_prefix=self.prefix)
|
||||
first_col.append(self.section(_("Environment variable"), paths))
|
||||
self.columns(first_col)
|
||||
return multi, first_col
|
||||
|
||||
def variable_second_column(
|
||||
self,
|
||||
informations: dict,
|
||||
calculated_properties: list,
|
||||
modified_attributes: dict,
|
||||
multi: bool,
|
||||
force_identifiers: Optional[str],
|
||||
) -> list:
|
||||
"""Collect string for the second column"""
|
||||
second_col = []
|
||||
#
|
||||
if "description" in informations:
|
||||
description = self.get_description(
|
||||
"variable", informations, modified_attributes, force_identifiers,
|
||||
)
|
||||
second_col.append(description)
|
||||
#
|
||||
help_ = self.convert_list_to_string("help", informations, modified_attributes)
|
||||
if help_:
|
||||
second_col.append(help_)
|
||||
#
|
||||
validators = self.convert_section_to_string(
|
||||
"validators", informations, modified_attributes, multi=True
|
||||
)
|
||||
if validators:
|
||||
second_col.append(validators)
|
||||
default_is_already_set, choices = self.convert_choices_to_string(
|
||||
informations, modified_attributes
|
||||
)
|
||||
if choices:
|
||||
second_col.append(choices)
|
||||
if not default_is_already_set and "default" in informations:
|
||||
self.convert_section_to_string(
|
||||
"default", informations, modified_attributes, multi=multi
|
||||
)
|
||||
second_col.append(
|
||||
self.convert_section_to_string(
|
||||
"default", informations, modified_attributes, multi=multi
|
||||
)
|
||||
)
|
||||
examples = self.convert_section_to_string(
|
||||
"examples", informations, modified_attributes, multi=True
|
||||
)
|
||||
if examples:
|
||||
second_col.append(examples)
|
||||
tags = self.convert_section_to_string(
|
||||
"tags", informations, modified_attributes, multi=True
|
||||
)
|
||||
if tags:
|
||||
second_col.append(tags)
|
||||
second_col.extend(calculated_properties)
|
||||
self.columns(second_col)
|
||||
return second_col
|
||||
self.table_datas.add(informations, modified_attributes, force_identifiers)
|
||||
|
||||
def convert_section_to_string(
|
||||
self, attribute: str, informations: dict, modified_attributes: dict, multi: bool
|
||||
self, attribute: str, informations: dict, modified_attributes: dict, multi: bool, *, section_name: bool = True,
|
||||
) -> str():
|
||||
values = []
|
||||
submessage = ""
|
||||
if modified_attributes and attribute in modified_attributes:
|
||||
name, previous, new = modified_attributes[attribute]
|
||||
# if "identifiers" in modified_attributes:
|
||||
# iname, iprevious, inew = modified_attributes["identifiers"]
|
||||
# identifiers = iprevious.copy()
|
||||
# for identifier in informations.get("identifiers", []):
|
||||
# if identifier not in inew:
|
||||
# identifiers.append(identifier)
|
||||
#
|
||||
# else:
|
||||
# identifiers = informations.get("identifiers", [])
|
||||
if isinstance(previous, list):
|
||||
for p in previous:
|
||||
submessage, m = self.message_to_string(p, submessage)
|
||||
|
|
@ -612,10 +599,10 @@ class CommonFormatter:
|
|||
if old["values"] in new:
|
||||
values = self.underline(values)
|
||||
if values != []:
|
||||
return self.section(name, values, submessage=submessage)
|
||||
return self.section(name, values, submessage=submessage, section_name=section_name)
|
||||
|
||||
def convert_choices_to_string(
|
||||
self, informations: dict, modified_attributes: dict
|
||||
self, informations: dict, modified_attributes: dict, with_default: bool = True,
|
||||
) -> str():
|
||||
default_is_already_set = False
|
||||
if "choices" in informations:
|
||||
|
|
@ -683,7 +670,7 @@ class CommonFormatter:
|
|||
for choice in reversed(previous):
|
||||
if isinstance(choice, dict):
|
||||
choice = self.message_to_string(choice, None)[1]
|
||||
if choice in old_default:
|
||||
if with_default and choice in old_default:
|
||||
choices_values.insert(
|
||||
0, self.delete(dump(choice) + " ← " + _("(default)"))
|
||||
)
|
||||
|
|
@ -692,11 +679,11 @@ class CommonFormatter:
|
|||
else:
|
||||
new = []
|
||||
for idx, val in enumerate(choices_values):
|
||||
if val in old_default:
|
||||
if with_default and val in old_default:
|
||||
choices_values[idx] = (
|
||||
dump(val) + " " + self.delete("← " + _("(default)"))
|
||||
)
|
||||
elif val in default:
|
||||
elif with_default and val in default:
|
||||
if val in new_default:
|
||||
if val in new:
|
||||
choices_values[idx] = self.underline(
|
||||
|
|
@ -729,51 +716,60 @@ class CommonFormatter:
|
|||
informations: dict,
|
||||
calculated_properties: list,
|
||||
modified_attributes: dict,
|
||||
contents: str="all"
|
||||
) -> str:
|
||||
"""Transform properties to string"""
|
||||
properties = []
|
||||
modified_properties = []
|
||||
if contents in ["all", "type"]:
|
||||
if "type" in modified_attributes:
|
||||
modified_properties.append(self.prop(modified_attributes["type"], italic=False, delete=True, underline=False))
|
||||
if "multi" in modified_attributes:
|
||||
modified_properties.append(self.prop("multiple", italic=False, delete=True, underline=False))
|
||||
if "properties" in modified_attributes and contents in ["all", "properties"]:
|
||||
modified_properties.extend(modified_attributes["properties"])
|
||||
local_calculated_properties = {}
|
||||
multi = False
|
||||
if "properties" in modified_attributes:
|
||||
if modified_properties:
|
||||
previous, new = self.get_modified_properties(
|
||||
*modified_attributes["properties"][1:]
|
||||
*modified_properties
|
||||
)
|
||||
for p, annotation in previous.items():
|
||||
if p not in new:
|
||||
properties.append(self.prop(p, italic=False, delete=True, underline=False))
|
||||
if annotation is not None:
|
||||
local_calculated_properties[p] = [{"annotation": annotation, "delete": True}]
|
||||
|
||||
else:
|
||||
previous = new = []
|
||||
for prop in informations.get("properties", []):
|
||||
others = []
|
||||
if contents in ["all", "type"] and "variable_type" in informations:
|
||||
others.append({"name": informations["variable_type"]})
|
||||
if informations.get("multiple"):
|
||||
others.append({"name": "multiple"})
|
||||
if contents in ["all", "properties"] and "properties" in informations:
|
||||
others.extend(informations["properties"])
|
||||
for prop in others:
|
||||
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, underline))
|
||||
else:
|
||||
if prop["type"] == "multiple":
|
||||
multi = True
|
||||
if "annotation" in prop:
|
||||
italic = True
|
||||
prop_annotation = prop["annotation"]
|
||||
if prop_name in new and (
|
||||
prop_name not in previous
|
||||
or new[prop_name] != previous[prop_name]
|
||||
):
|
||||
underline_ = True
|
||||
if "annotation" in prop:
|
||||
italic = True
|
||||
prop_annotation = prop["annotation"]
|
||||
if prop_name in new and (
|
||||
prop_name not in previous
|
||||
or new[prop_name] != previous[prop_name]
|
||||
):
|
||||
underline_ = True
|
||||
# prop_annotation = self.underline(prop_annotation)
|
||||
else:
|
||||
underline_ = False
|
||||
local_calculated_properties.setdefault(prop["name"], []).append(
|
||||
{"annotation": prop_annotation, "underline": underline_}
|
||||
)
|
||||
else:
|
||||
italic = False
|
||||
properties.append(self.prop(prop_name, italic=italic, delete=False, underline=underline))
|
||||
underline_ = False
|
||||
local_calculated_properties.setdefault(prop["name"], []).append(
|
||||
{"annotation": prop_annotation, "underline": underline_}
|
||||
)
|
||||
else:
|
||||
italic = False
|
||||
properties.append(self.prop(prop_name, italic=italic, delete=False, underline=underline))
|
||||
if local_calculated_properties:
|
||||
for (
|
||||
calculated_property_name,
|
||||
|
|
@ -798,8 +794,8 @@ class CommonFormatter:
|
|||
)
|
||||
)
|
||||
if not properties:
|
||||
return multi, ""
|
||||
return multi, " ".join(properties)
|
||||
return ""
|
||||
return " ".join(properties)
|
||||
|
||||
def get_modified_properties(
|
||||
self, previous: List[dict], new: List[dict]
|
||||
|
|
@ -816,21 +812,20 @@ class CommonFormatter:
|
|||
"""Manage column"""
|
||||
return
|
||||
|
||||
def table(self, datas: list, with_header: bool = True) -> str:
|
||||
def table(self, with_header: bool = True) -> str:
|
||||
"""Transform list to a table in string format"""
|
||||
if with_header:
|
||||
headers = self.table_header([_("Variable"), _("Description")])
|
||||
headers = self.table_header(self.table_datas.headers())
|
||||
else:
|
||||
headers = ()
|
||||
msg = (
|
||||
tabulate(
|
||||
datas,
|
||||
self.table_datas.get(),
|
||||
headers=headers,
|
||||
tablefmt=self._table_name,
|
||||
)
|
||||
+ "\n\n"
|
||||
)
|
||||
datas.clear()
|
||||
return msg
|
||||
|
||||
def message_to_string(self, msg, ret, identifiers=[]):
|
||||
|
|
@ -875,6 +870,7 @@ class CommonFormatter:
|
|||
msg: str,
|
||||
submessage: str = "",
|
||||
type_ = "variable",
|
||||
section_name=True,
|
||||
) -> str:
|
||||
"""Return something like Name: msg"""
|
||||
submessage, msg = self.message_to_string(msg, submessage)
|
||||
|
|
@ -896,7 +892,9 @@ class CommonFormatter:
|
|||
submessage += dump(msg)
|
||||
else:
|
||||
submessage += msg
|
||||
return _("{0}: {1}").format(self.bold(name), submessage)
|
||||
if section_name:
|
||||
return _("{0}: {1}").format(self.bold(name), submessage)
|
||||
return submessage
|
||||
|
||||
|
||||
def calc_path(path, formatter=None, identifiers: List[str] = None) -> str:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
**Default**: string4 +
|
||||
**Example**: string5
|
||||
| **family2.subfamily.variable** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | Fourth variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | Fourth variable. +
|
||||
**Default**:
|
||||
|
||||
* the value of the variable "var1"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<details><summary>New variables</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family2.var2" name="family2.var2">family2.var2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable2.<br/>**Default**: the value of the variable "[A second variable](#family.var2)" |
|
||||
| **<a id="family2.var3" name="family2.var3">family2.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: string4<br/>**Example**: string5 |
|
||||
| **<a id="family2.subfamily.variable" name="family2.subfamily.variable">family2.subfamily.variable</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Fourth variable.<br/>**Default**: <br/>• the value of the variable "[First variable](#var1)"<br/>• the value of the variable "[A second variable](#family.var2)"<br/>• the value of the variable "[A third variable](#family2.var3)" |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family2.var2" name="family2.var2">family2.var2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable2.<br/>**Default**: the value of the variable "[A second variable](#family.var2)" |
|
||||
| **<a id="family2.var3" name="family2.var3">family2.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: string4<br/>**Example**: string5 |
|
||||
| **<a id="family2.subfamily.variable" name="family2.subfamily.variable">family2.subfamily.variable</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | Fourth variable.<br/>**Default**: <br/>• the value of the variable "[First variable](#var1)"<br/>• the value of the variable "[A second variable](#family.var2)"<br/>• the value of the variable "[A third variable](#family2.var3)" |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<tbody>
|
||||
<tr><td><b>family2.var2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A variable2.<br/><b>Default</b>: the value of the variable "family.var2" </td></tr>
|
||||
<tr><td><b>family2.var3</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>A third variable.<br/><b>Default</b>: string4<br/><b>Example</b>: string5</td></tr>
|
||||
<tr><td><b>family2.subfamily.variable</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>unique</mark> <mark>multiple</mark></td><td>Fourth variable.<br/><b>Default</b>: <ul><li>the value of the variable "var1"</li>
|
||||
<tr><td><b>family2.subfamily.variable</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>multiple</mark> <mark>standard</mark> <mark>mandatory</mark> <mark>unique</mark></td><td>Fourth variable.<br/><b>Default</b>: <ul><li>the value of the variable "var1"</li>
|
||||
<li>the value of the variable "family.var2"</li>
|
||||
<li>the value of the variable "family2.var3"</li></ul> </td></tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# New variables
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family2.var2" name="family2.var2">family2.var2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable2.<br/>**Default**: the value of the variable "[A second variable](#family.var2)" |
|
||||
| **<a id="family2.var3" name="family2.var3">family2.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: string4<br/>**Example**: string5 |
|
||||
| **<a id="family2.subfamily.variable" name="family2.subfamily.variable">family2.subfamily.variable</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | Fourth variable.<br/>**Default**: <br/>• the value of the variable "[First variable](#var1)"<br/>• the value of the variable "[A second variable](#family.var2)"<br/>• the value of the variable "[A third variable](#family2.var3)" |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family2.var2" name="family2.var2">family2.var2</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable2.<br/>**Default**: the value of the variable "[A second variable](#family.var2)" |
|
||||
| **<a id="family2.var3" name="family2.var3">family2.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A third variable.<br/>**Default**: string4<br/>**Example**: string5 |
|
||||
| **<a id="family2.subfamily.variable" name="family2.subfamily.variable">family2.subfamily.variable</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | Fourth variable.<br/>**Default**: <br/>• the value of the variable "[First variable](#var1)"<br/>• the value of the variable "[A second variable](#family.var2)"<br/>• the value of the variable "[A third variable](#family2.var3)" |
|
||||
|
||||
|
|
|
|||
|
|
@ -12,11 +12,11 @@
|
|||
│ │ [1mExample[0m: string5 │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mfamily2.subfamily.variable[0m │ Fourth variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7munique [0m [1;7m multiple [0m │ • the value of the variable "var1" │
|
||||
│ │ • the value of the variable │
|
||||
│ [1;7m string [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7mmandatory [0m [1;7m unique [0m │ • the value of the variable "var1" │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "family.var2" │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "family2.var3" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# New variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_to_family" name="variable_to_family">variable_to_family</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable that became a family. |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|
|
||||
| **<a id="variable_to_family" name="variable_to_family">variable_to_family</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable that became a family. |
|
||||
|
||||
# Deleted variable
|
||||
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
[1;4;96mDeleted variable[0m
|
||||
|
||||
|
||||
• variable_to_family.var
|
||||
• variable_to_family.var
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# New variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family.var3" name="family.var3">family.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A third variable. |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------|
|
||||
| **<a id="family.var3" name="family.var3">family.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A third variable. |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# New variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_to_family.var" name="variable_to_family.var">variable_to_family.var</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A second variable. |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
|
||||
| **<a id="variable_to_family.var" name="variable_to_family.var">variable_to_family.var</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A second variable. |
|
||||
|
||||
# Deleted variable
|
||||
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@
|
|||
[1;4;96mDeleted variable[0m
|
||||
|
||||
|
||||
• variable_to_family
|
||||
• variable_to_family
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# New variables
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="family.var3" name="family.var3">family.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A third variable. |
|
||||
| **<a id="family2.var4" name="family2.var4">family2.var4</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A fourth variable. |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------|
|
||||
| **<a id="family.var3" name="family.var3">family.var3</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A third variable. |
|
||||
| **<a id="family2.var4" name="family2.var4">family2.var4</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A fourth variable. |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• family2.var2
|
||||
• family2.var3
|
||||
• family2.subfamily.variable
|
||||
• family2.var2
|
||||
• family2.var3
|
||||
• family2.subfamily.variable
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[1;4;96mDeleted variable[0m
|
||||
|
||||
|
||||
• family.var3
|
||||
• family.var3
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[1;4;96mDeleted variables[0m
|
||||
|
||||
|
||||
• family.var3
|
||||
• family2.var4
|
||||
• family.var3
|
||||
• family2.var4
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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> |
|
||||
| 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> |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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` | ~~First variable.~~<br/><ins>New description.</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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/>~~First help.~~<br/><ins>Modified help.</ins> |
|
||||
| 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/>~~First help.~~<br/><ins>Modified help.</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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/>**Validator**: ~~"not valid1" is not allowed~~<br/><ins>"not valid2" is not allowed</ins> |
|
||||
| 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/>**Validator**: ~~"not valid1" is not allowed~~<br/><ins>"not valid2" is not allowed</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -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/>**Validators**: <br/>• ~~"not valid2" is not allowed~~<br/>• "not valid1" is not allowed<br/>• <ins>"not valid3" is not allowed</ins> |
|
||||
| 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/>**Validators**: <br/>• ~~"not valid2" is not allowed~~<br/>• "not valid1" is not allowed<br/>• <ins>"not valid3" is not allowed</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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/>**Validators**: <br/>• ~~"not valid2" is not allowed~~<br/>• "not valid1" is not allowed<br/>• <ins>"not valid3" is not allowed</ins> |
|
||||
| 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/>**Validators**: <br/>• ~~"not valid2" is not allowed~~<br/>• "not valid1" is not allowed<br/>• <ins>"not valid3" is not allowed</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • [9m"not valid2" is not allowed[0m │
|
||||
│ │ • "not valid1" is not allowed │
|
||||
│ │ • [4m"not valid3" is not allowed[0m │
|
||||
│ │ • [9m"not valid2" is not allowed[0m │
|
||||
│ │ • "not valid1" is not allowed │
|
||||
│ │ • [4m"not valid3" is not allowed[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -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/>**Validators**: <br/>• ~~"not valid1" is not allowed~~<br/>• ~~"not valid3" is not allowed~~<br/>• <ins>"not valid4" is not allowed</ins><br/>• "not valid2" is not allowed<br/>• <ins>"not valid5" is not allowed</ins> |
|
||||
| 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/>**Validators**: <br/>• ~~"not valid1" is not allowed~~<br/>• ~~"not valid3" is not allowed~~<br/>• <ins>"not valid4" is not allowed</ins><br/>• "not valid2" is not allowed<br/>• <ins>"not valid5" is not allowed</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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/>**Validators**: <br/>• ~~"not valid1" is not allowed~~<br/>• ~~"not valid3" is not allowed~~<br/>• <ins>"not valid4" is not allowed</ins><br/>• "not valid2" is not allowed<br/>• <ins>"not valid5" is not allowed</ins> |
|
||||
| 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/>**Validators**: <br/>• ~~"not valid1" is not allowed~~<br/>• ~~"not valid3" is not allowed~~<br/>• <ins>"not valid4" is not allowed</ins><br/>• "not valid2" is not allowed<br/>• <ins>"not valid5" is not allowed</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m string [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mValidators[0m: │
|
||||
│ │ • [9m"not valid1" is not allowed[0m │
|
||||
│ │ • [9m"not valid3" is not allowed[0m │
|
||||
│ │ • [4m"not valid4" is not allowed[0m │
|
||||
│ │ • "not valid2" is not allowed │
|
||||
│ │ • [4m"not valid5" is not allowed[0m │
|
||||
│ │ • [9m"not valid1" is not allowed[0m │
|
||||
│ │ • [9m"not valid3" is not allowed[0m │
|
||||
│ │ • [4m"not valid4" is not allowed[0m │
|
||||
│ │ • "not valid2" is not allowed │
|
||||
│ │ • [4m"not valid5" is not allowed[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • val1 [9m← (default)[0m │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
│ │ • val1 [9m← (default)[0m │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1 ← (default)~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" **← (default)**<br/>• the value of the variable "[The second source variable](#source_variable_2)" |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1 ← (default)~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" **← (default)**<br/>• the value of the variable "[The second source variable](#source_variable_2)" |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1 ← (default)~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" **← (default)**<br/>• the value of the variable "[The second source variable](#source_variable_2)" |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1 ← (default)~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" **← (default)**<br/>• the value of the variable "[The second source variable](#source_variable_2)" |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ A variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mval1 ← (default)[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • [9mval1 ← (default)[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "source_variable_1" [1m← (default)[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "source_variable_2" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• ~~the value of the variable "[The second source variable](#source_variable_2)"~~<br/>• <ins>val1 **← (default)**</ins><br/>• <ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• ~~the value of the variable "[The second source variable](#source_variable_2)"~~<br/>• <ins>val1 **← (default)**</ins><br/>• <ins>val2</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• ~~the value of the variable "[The second source variable](#source_variable_2)"~~<br/>• <ins>val1 **← (default)**</ins><br/>• <ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• ~~the value of the variable "[The second source variable](#source_variable_2)"~~<br/>• <ins>val1 **← (default)**</ins><br/>• <ins>val2</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ A variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ [9m"source_variable_1"[0m │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ [9m"source_variable_2"[0m │
|
||||
│ │ • [4mval1 [0m[1;4m← (default)[0m │
|
||||
│ │ • [4mval2[0m │
|
||||
│ │ • [4mval1 [0m[1;4m← (default)[0m │
|
||||
│ │ • [4mval2[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)" |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ A variable. │
|
||||
│ [1;7m choice [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mval1[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • [9mval1[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "source_variable_1" │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• <ins>val1</ins><br/>• <ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• <ins>val1</ins><br/>• <ins>val2</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• <ins>val1</ins><br/>• <ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~the value of the variable "[The first source variable](#source_variable_1)"~~<br/>• <ins>val1</ins><br/>• <ins>val2</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ A variable. │
|
||||
│ [1;7m choice [0m [1;7m basic [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ • [9mthe value of the variable [0m │
|
||||
│ │ [9m"source_variable_1"[0m │
|
||||
│ │ • [4mval1[0m │
|
||||
│ │ • [4mval2[0m │
|
||||
│ │ • [4mval1[0m │
|
||||
│ │ • [4mval2[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **var1** +
|
||||
`+++basic+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `#standard#` `mandatory` | First variable. +
|
||||
`+++(None, ['basic'], ['standard'])+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` | First variable. +
|
||||
**Choices**:
|
||||
|
||||
* val1
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</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><del>basic</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark><ins>standard</ins></mark> <mark>mandatory</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1</li>
|
||||
<tr><td><b>var1</b><br/><mark><del>(None, ['basic'], ['standard'])</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1</li>
|
||||
<li>val2 <ins><b>← (default)</b></ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m choice [0m [1;7m [0m[1;4;7mstandard[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7mmandatory [0m │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
│ [1;7m [0m[1;7;9m(None, ['basic'], ['standard'])[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7mchoice [0m [1;7m standard [0m [1;7m mandatory [0m │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **var1** +
|
||||
`+++basic+++` `+++mandatory+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `#standard#` | First variable. +
|
||||
`+++(None, ['basic'], ['standard'])+++` `+++mandatory+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` | First variable. +
|
||||
**Choices**:
|
||||
|
||||
* null +++← (default)+++
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</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><del>basic</del></mark> <mark><del>mandatory</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark><ins>standard</ins></mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>null <del>← (default)</del></li>
|
||||
<tr><td><b>var1</b><br/><mark><del>(None, ['basic'], ['standard'])</del></mark> <mark><del>mandatory</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>standard</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>null <del>← (default)</del></li>
|
||||
<li>val1</li>
|
||||
<li>val2 <ins><b>← (default)</b></ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>~~`(None, ['basic'], ['standard'])`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.<br/>**Choices**: <br/>• null ~~← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m [0m[1;7;9mbasic[0m[1;7m [0m [1;7m [0m[1;7;9mmandatory[0m[1;7m [0m [1;7m choice [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;4;7mstandard[0m[1;7m [0m │ • null [9m← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
│ [1;7m [0m[1;7;9m(None, ['basic'], ['standard'])[0m[1;7m [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7;9mmandatory[0m[1;7m [0m [1;7m choice [0m [1;7m standard [0m │ • null [9m← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3 ← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3 ← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3 ← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3 ← (default)~~<br/>• val1<br/>• val2 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mval3 ← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
│ │ • [9mval3 ← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3~~<br/>• val1<br/>• val2 **← (default)** |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3~~<br/>• val1<br/>• val2 **← (default)** |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3~~<br/>• val1<br/>• val2 **← (default)** |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• ~~val3~~<br/>• val1<br/>• val2 **← (default)** |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mval3[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
│ │ • [9mval3[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 **← (default)**<br/>• <ins>val3</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 **← (default)**<br/>• <ins>val3</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 **← (default)**<br/>• <ins>val3</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 **← (default)**<br/>• <ins>val3</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
│ │ • [4mval3[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
│ │ • [4mval3[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 ~~← (default)~~<br/>• <ins>val3 **← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 ~~← (default)~~<br/>• <ins>val3 **← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 ~~← (default)~~<br/>• <ins>val3 **← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-----------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.<br/>**Choices**: <br/>• val1<br/>• val2 ~~← (default)~~<br/>• <ins>val3 **← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [9m← (default)[0m │
|
||||
│ │ • [4mval3 [0m[1;4m← (default)[0m │
|
||||
│ │ • val1 │
|
||||
│ │ • val2 [9m← (default)[0m │
|
||||
│ │ • [4mval3 [0m[1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **var1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` `unique` `multiple` | First variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `multiple` `standard` `mandatory` `unique` | First variable. +
|
||||
**Choices**:
|
||||
|
||||
* val1 +++← (default)+++
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 **← (default)**<br/>• val3 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 **← (default)**<br/>• val3 <ins>**← (default)**</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<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'>choice</a></mark> <mark>standard</mark> <mark>mandatory</mark> <mark>unique</mark> <mark>multiple</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1 <del>← (default)</del></li>
|
||||
<tr><td><b>var1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>choice</a></mark> <mark>multiple</mark> <mark>standard</mark> <mark>mandatory</mark> <mark>unique</mark></td><td>First variable.<br/><b>Choices</b>: <ul><li>val1 <del>← (default)</del></li>
|
||||
<li>val2 <b>← (default)</b></li>
|
||||
<li>val3 <ins><b>← (default)</b></ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 **← (default)**<br/>• val3 <ins>**← (default)**</ins> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="var1" name="var1">var1</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | First variable.<br/>**Choices**: <br/>• val1 ~~← (default)~~<br/>• val2 **← (default)**<br/>• val3 <ins>**← (default)**</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvar1[0m │ First variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7munique [0m [1;7m multiple [0m │ • val1 [9m← (default)[0m │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
│ │ • val3 [1;4m← (default)[0m │
|
||||
│ [1;7m choice [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m │ [1mChoices[0m: │
|
||||
│ [1;7mmandatory [0m [1;7m unique [0m │ • val1 [9m← (default)[0m │
|
||||
│ │ • val2 [1m← (default)[0m │
|
||||
│ │ • val3 [1;4m← (default)[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<details><summary>Modified variable</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)"<br/>• the value of the variable "[The second source variable](#source_variable_2)"<br/>**Default**: val1 |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)"<br/>• the value of the variable "[The second source variable](#source_variable_2)"<br/>**Default**: val1 |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)"<br/>• the value of the variable "[The second source variable](#source_variable_2)"<br/>**Default**: val1 |
|
||||
| Variable | Description |
|
||||
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="my_variable" name="my_variable">my_variable</a>**<br/>[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable.<br/>**Choices**: <br/>• ~~val1~~<br/>• ~~val2~~<br/>• the value of the variable "[The first source variable](#source_variable_1)"<br/>• the value of the variable "[The second source variable](#source_variable_2)"<br/>**Default**: val1 |
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@
|
|||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mmy_variable[0m │ A variable. │
|
||||
│ [1;7m choice [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mChoices[0m: │
|
||||
│ │ • [9mval1[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • [9mval1[0m │
|
||||
│ │ • [9mval2[0m │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "source_variable_1" │
|
||||
│ │ • the value of the variable │
|
||||
│ │ • the value of the variable │
|
||||
│ │ "source_variable_2" │
|
||||
│ │ [1mDefault[0m: val1 │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **variable_1** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` | The first variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | The first variable. +
|
||||
**Default**:
|
||||
|
||||
* +++val1+++
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<details><summary>Modified variables</summary>
|
||||
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The first variable.<br/>**Default**: <br/>• ~~val1~~<br/>• val2<br/>• <ins>val3</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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | The first variable.<br/>**Default**: <br/>• ~~val1~~<br/>• val2<br/>• <ins>val3</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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>val2</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>variable_1</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>unique</mark> <mark>multiple</mark></td><td>The first variable.<br/><b>Default</b>: <ul><li><del>val1</del></li>
|
||||
<tr><td><b>variable_1</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>multiple</mark> <mark>standard</mark> <mark>mandatory</mark> <mark>unique</mark></td><td>The first variable.<br/><b>Default</b>: <ul><li><del>val1</del></li>
|
||||
<li>val2</li>
|
||||
<li><ins>val3</ins></li></ul> </td></tr>
|
||||
<tr><td><b>variable_2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>The second variable.<br/><b>Default</b>: <del>val1</del><br/><ins>val2</ins></td></tr>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Modified variables
|
||||
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The first variable.<br/>**Default**: <br/>• ~~val1~~<br/>• val2<br/>• <ins>val3</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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>val2</ins> |
|
||||
| Variable | Description |
|
||||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | The first variable.<br/>**Default**: <br/>• ~~val1~~<br/>• val2<br/>• <ins>val3</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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>val2</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable_1[0m │ The first variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7munique [0m [1;7m multiple [0m │ • [9mval1[0m │
|
||||
│ │ • val2 │
|
||||
│ │ • [4mval3[0m │
|
||||
│ [1;7m string [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7mmandatory [0m [1;7m unique [0m │ • [9mval1[0m │
|
||||
│ │ • val2 │
|
||||
│ │ • [4mval3[0m │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable_2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m │ [1mDefault[0m: [9mval1[0m │
|
||||
|
|
|
|||
|
|
@ -4,10 +4,10 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **variable_1** +
|
||||
`+++unique+++` `+++multiple+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | The first variable. +
|
||||
`+++unique+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | The first variable. +
|
||||
**Default**: val1
|
||||
| **variable_2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `#unique#` `#multiple#` | The second variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `#unique#` | The second variable. +
|
||||
**Default**:
|
||||
|
||||
* val1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<details><summary>Modified variables</summary>
|
||||
|
||||
| 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 |
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ [`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) `multiple` `standard` `mandatory` <ins>`unique`</ins> | The second variable.<br/>**Default**: <br/>• val1 |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>variable_1</b><br/><mark><del>unique</del></mark> <mark><del>multiple</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>The first variable.<br/><b>Default</b>: val1 </td></tr>
|
||||
<tr><td><b>variable_2</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>unique</ins></mark> <mark><ins>multiple</ins></mark></td><td>The second variable.<br/><b>Default</b>: <ul><li>val1</li></ul></td></tr>
|
||||
<tr><td><b>variable_1</b><br/><mark><del>unique</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>The first variable.<br/><b>Default</b>: val1 </td></tr>
|
||||
<tr><td><b>variable_2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>multiple</mark> <mark>standard</mark> <mark>mandatory</mark> <mark><ins>unique</ins></mark></td><td>The second variable.<br/><b>Default</b>: <ul><li>val1</li></ul></td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Modified variables
|
||||
|
||||
| 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 |
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ [`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) `multiple` `standard` `mandatory` <ins>`unique`</ins> | The second variable.<br/>**Default**: <br/>• val1 |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable_1[0m │ The first variable. │
|
||||
│ [1;7m [0m[1;7;9munique[0m[1;7m [0m [1;7m [0m[1;7;9mmultiple[0m[1;7m [0m [1;7m string [0m [1;7m [0m │ [1mDefault[0m: val1 │
|
||||
│ [1;7mstandard [0m [1;7m mandatory [0m │ │
|
||||
│ [1;7m [0m[1;7;9munique[0m[1;7m [0m [1;7m string [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: val1 │
|
||||
│ [1;7mmandatory [0m │ │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable_2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;4;7munique[0m[1;7m [0m [1;7m [0m[1;4;7mmultiple[0m[1;7m [0m │ • val1 │
|
||||
│ [1;7m string [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7mmandatory [0m [1;7m [0m[1;4;7munique[0m[1;7m [0m │ • val1 │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **variable_1** +
|
||||
`+++unique+++` `+++multiple+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | The first variable. +
|
||||
`+++unique+++` `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | The first variable. +
|
||||
**Default**: +++val2+++ +
|
||||
val1
|
||||
| **variable_2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `#unique#` `#multiple#` | The second variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `#unique#` | The second variable. +
|
||||
**Default**:
|
||||
|
||||
* val1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<details><summary>Modified variables</summary>
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ [`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) `multiple` `standard` `mandatory` <ins>`unique`</ins> | The second variable.<br/>**Default**: <br/>• val1<br/>• <ins>val2</ins> |
|
||||
|
||||
</details>
|
||||
|
||||
|
|
|
|||
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
<table>
|
||||
<thead>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
<tr><th>Variable </th><th>Description </th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td><b>variable_1</b><br/><mark><del>unique</del></mark> <mark><del>multiple</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark></td><td>The first variable.<br/><b>Default</b>: <del>val2</del><br/>val1</td></tr>
|
||||
<tr><td><b>variable_2</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>unique</ins></mark> <mark><ins>multiple</ins></mark></td><td>The second variable.<br/><b>Default</b>: <ul><li>val1</li>
|
||||
<tr><td><b>variable_1</b><br/><mark><del>unique</del></mark> <mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>standard</mark> <mark>mandatory</mark> </td><td>The first variable.<br/><b>Default</b>: <del>val2</del><br/>val1</td></tr>
|
||||
<tr><td><b>variable_2</b><br/><mark><a href='https://rougail.readthedocs.io/en/latest/variable.html#variables-types'>string</a></mark> <mark>multiple</mark> <mark>standard</mark> <mark>mandatory</mark> <mark><ins>unique</ins></mark></td><td>The second variable.<br/><b>Default</b>: <ul><li>val1</li>
|
||||
<li><ins>val2</ins></li></ul> </td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Modified variables
|
||||
|
||||
| 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> |
|
||||
| Variable | Description |
|
||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
|
||||
| **<a id="variable_1" name="variable_1">variable_1</a>**<br/>~~`unique`~~ [`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) `multiple` `standard` `mandatory` <ins>`unique`</ins> | The second variable.<br/>**Default**: <br/>• val1<br/>• <ins>val2</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@
|
|||
┃[1m [0m[1mVariable [0m[1m [0m┃[1m [0m[1mDescription [0m[1m [0m┃
|
||||
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
|
||||
│ [1mvariable_1[0m │ The first variable. │
|
||||
│ [1;7m [0m[1;7;9munique[0m[1;7m [0m [1;7m [0m[1;7;9mmultiple[0m[1;7m [0m [1;7m string [0m [1;7m [0m │ [1mDefault[0m: [9mval2[0m │
|
||||
│ [1;7mstandard [0m [1;7m mandatory [0m │ val1 │
|
||||
│ [1;7m [0m[1;7;9munique[0m[1;7m [0m [1;7m string [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: [9mval2[0m │
|
||||
│ [1;7mmandatory [0m │ val1 │
|
||||
├───────────────────────────────────────┼──────────────────────────────────────┤
|
||||
│ [1mvariable_2[0m │ The second variable. │
|
||||
│ [1;7m string [0m [1;7m standard [0m [1;7m mandatory [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;4;7munique[0m[1;7m [0m [1;7m [0m[1;4;7mmultiple[0m[1;7m [0m │ • val1 │
|
||||
│ │ • [4mval2[0m │
|
||||
│ [1;7m string [0m [1;7m multiple [0m [1;7m standard [0m [1;7m [0m │ [1mDefault[0m: │
|
||||
│ [1;7mmandatory [0m [1;7m [0m[1;4;7munique[0m[1;7m [0m │ • val1 │
|
||||
│ │ • [4mval2[0m │
|
||||
└───────────────────────────────────────┴──────────────────────────────────────┘
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
# Modified variable
|
||||
|
||||
| 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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>the value of the variable "[The first variable](#variable_1)"</ins> |
|
||||
| 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` | The second variable.<br/>**Default**: ~~val1~~<br/><ins>the value of the variable "[The first variable](#variable_1)"</ins> |
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|====
|
||||
| Variable | Description
|
||||
| **variable_2** +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `#unique#` `#multiple#` | The second variable. +
|
||||
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `#unique#` | The second variable. +
|
||||
**Default**:
|
||||
|
||||
* +++val1+++
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue