From 5f5cb9aa0873499cbdb2c2bc66e0b8379cf3e62e Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 4 May 2026 10:44:40 +0200 Subject: [PATCH] fix: get unrestraint default value --- src/rougail/output_doc/collect.py | 2 +- tests/result_tutorial/081/doc.json | 27 -- tests/result_tutorial/081/doc.sh | 5 - tests/result_tutorial/081/doc_changelog.sh | 5 - tests/result_tutorial/082/doc.json | 48 +-- tests/result_tutorial/082/doc.sh | 22 +- tests/result_tutorial/082/doc_changelog.sh | 45 +-- tests/result_tutorial/083/doc.json | 20 +- tests/result_tutorial/083/doc.sh | 20 +- tests/result_tutorial/083/doc_changelog.sh | 73 +--- tests/result_tutorial/084/doc.json | 340 +++++++++++++++++ tests/result_tutorial/084/doc.sh | 121 ++++++ tests/result_tutorial/084/doc_changelog.sh | 71 ++++ tests/result_tutorial/085/doc.json | 344 ++++++++++++++++++ tests/result_tutorial/085/doc.sh | 125 +++++++ tests/result_tutorial/085/doc_changelog.sh | 46 +++ .../60_5family_dynamic_calc_identifier.adoc | 3 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 5 +- .../60_5family_dynamic_calc_identifier.json | 20 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 3 - ...5family_dynamic_calc_identifier_multi.adoc | 3 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 5 +- ...5family_dynamic_calc_identifier_multi.json | 20 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 3 - .../60_5family_dynamic_calc_identifier.adoc | 1 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 1 - ...5family_dynamic_calc_identifier_multi.adoc | 1 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 1 - .../60_5family_dynamic_calc_identifier.adoc | 1 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 1 - ...5family_dynamic_calc_identifier_multi.adoc | 1 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 1 - .../60_5family_dynamic_calc_identifier.adoc | 3 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 5 +- .../60_5family_dynamic_calc_identifier.json | 20 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 3 - ...5family_dynamic_calc_identifier_multi.adoc | 3 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 5 +- ...5family_dynamic_calc_identifier_multi.json | 20 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 3 - ...5family_dynamic_calc_suffix_disabled2.adoc | 28 ++ ...ly_dynamic_calc_suffix_disabled2.gitlab.md | 2 +- ...5family_dynamic_calc_suffix_disabled2.html | 14 + ...5family_dynamic_calc_suffix_disabled2.json | 72 ++++ ...0_5family_dynamic_calc_suffix_disabled2.md | 12 + ...0_5family_dynamic_calc_suffix_disabled2.sh | 23 ++ ...5family_dynamic_calc_suffix_disabled3.adoc | 24 ++ ...ly_dynamic_calc_suffix_disabled3.gitlab.md | 15 + ...5family_dynamic_calc_suffix_disabled3.html | 14 + ...5family_dynamic_calc_suffix_disabled3.json | 66 ++++ ...0_5family_dynamic_calc_suffix_disabled3.md | 12 + ...0_5family_dynamic_calc_suffix_disabled3.sh | 21 ++ .../60_6family_dynamic_inside_identifier.adoc | 57 +++ .../60_6family_dynamic_inside_identifier.html | 30 ++ .../60_6family_dynamic_inside_identifier.json | 239 ++++++++++++ .../60_6family_dynamic_inside_identifier.md | 30 ++ .../60_6family_dynamic_inside_identifier.sh | 53 +++ ...s_60_5family_dynamic_calc_suffix_disabled3 | 1 + .../60_5family_dynamic_calc_identifier.adoc | 1 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 1 - ...5family_dynamic_calc_identifier_multi.adoc | 1 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 1 - ...5family_dynamic_calc_suffix_disabled2.adoc | 11 + ...ly_dynamic_calc_suffix_disabled2.gitlab.md | 10 - ...5family_dynamic_calc_suffix_disabled2.html | 8 + ...0_5family_dynamic_calc_suffix_disabled2.md | 10 + ...0_5family_dynamic_calc_suffix_disabled2.sh | 9 + ...5family_dynamic_calc_suffix_disabled3.adoc | 11 + ...ly_dynamic_calc_suffix_disabled3.gitlab.md | 12 + ...5family_dynamic_calc_suffix_disabled3.html | 8 + ...0_5family_dynamic_calc_suffix_disabled3.md | 10 + ...0_5family_dynamic_calc_suffix_disabled3.sh | 9 + .../60_6family_dynamic_inside_identifier.adoc | 20 + .../60_6family_dynamic_inside_identifier.html | 17 + .../60_6family_dynamic_inside_identifier.md | 19 + .../60_6family_dynamic_inside_identifier.sh | 18 + ...s_60_5family_dynamic_calc_suffix_disabled3 | 1 + .../60_5family_dynamic_calc_identifier.adoc | 1 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 1 - ...5family_dynamic_calc_identifier_multi.adoc | 1 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 1 - ...5family_dynamic_calc_suffix_disabled2.adoc | 11 + ...ly_dynamic_calc_suffix_disabled2.gitlab.md | 10 - ...5family_dynamic_calc_suffix_disabled2.html | 8 + ...0_5family_dynamic_calc_suffix_disabled2.md | 10 + ...0_5family_dynamic_calc_suffix_disabled2.sh | 9 + ...5family_dynamic_calc_suffix_disabled3.adoc | 11 + ...ly_dynamic_calc_suffix_disabled3.gitlab.md | 12 + ...5family_dynamic_calc_suffix_disabled3.html | 8 + ...0_5family_dynamic_calc_suffix_disabled3.md | 10 + ...0_5family_dynamic_calc_suffix_disabled3.sh | 9 + .../60_6family_dynamic_inside_identifier.adoc | 20 + .../60_6family_dynamic_inside_identifier.html | 17 + .../60_6family_dynamic_inside_identifier.md | 19 + .../60_6family_dynamic_inside_identifier.sh | 18 + ...s_60_5family_dynamic_calc_suffix_disabled3 | 1 + .../60_5family_dynamic_calc_identifier.adoc | 3 - ...ily_dynamic_calc_identifier.changelog.adoc | 3 - ...ynamic_calc_identifier.changelog.gitlab.md | 1 - ...ily_dynamic_calc_identifier.changelog.html | 1 - ...amily_dynamic_calc_identifier.changelog.md | 1 - ...amily_dynamic_calc_identifier.changelog.sh | 3 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.json | 20 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 3 - ...5family_dynamic_calc_identifier_multi.adoc | 3 - ...namic_calc_identifier_multi.changelog.adoc | 3 - ..._calc_identifier_multi.changelog.gitlab.md | 1 - ...namic_calc_identifier_multi.changelog.html | 1 - ...dynamic_calc_identifier_multi.changelog.md | 1 - ...dynamic_calc_identifier_multi.changelog.sh | 3 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...5family_dynamic_calc_identifier_multi.json | 20 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 3 - ...5family_dynamic_calc_suffix_disabled2.adoc | 17 + ...namic_calc_suffix_disabled2.changelog.adoc | 19 + ..._calc_suffix_disabled2.changelog.gitlab.md | 2 +- ...namic_calc_suffix_disabled2.changelog.html | 12 + ...dynamic_calc_suffix_disabled2.changelog.md | 6 + ...dynamic_calc_suffix_disabled2.changelog.sh | 17 + ...ly_dynamic_calc_suffix_disabled2.gitlab.md | 2 +- ...5family_dynamic_calc_suffix_disabled2.html | 10 + ...5family_dynamic_calc_suffix_disabled2.json | 72 ++++ ...0_5family_dynamic_calc_suffix_disabled2.md | 4 + ...0_5family_dynamic_calc_suffix_disabled2.sh | 15 + ...5family_dynamic_calc_suffix_disabled3.adoc | 13 + ...namic_calc_suffix_disabled3.changelog.adoc | 15 + ..._calc_suffix_disabled3.changelog.gitlab.md | 8 + ...namic_calc_suffix_disabled3.changelog.html | 12 + ...dynamic_calc_suffix_disabled3.changelog.md | 6 + ...dynamic_calc_suffix_disabled3.changelog.sh | 15 + ...ly_dynamic_calc_suffix_disabled3.gitlab.md | 4 + ...5family_dynamic_calc_suffix_disabled3.html | 10 + ...5family_dynamic_calc_suffix_disabled3.json | 66 ++++ ...0_5family_dynamic_calc_suffix_disabled3.md | 4 + ...0_5family_dynamic_calc_suffix_disabled3.sh | 13 + .../60_6family_dynamic_inside_identifier.adoc | 26 ++ ...y_dynamic_inside_identifier.changelog.adoc | 28 ++ ...y_dynamic_inside_identifier.changelog.html | 15 + ...ily_dynamic_inside_identifier.changelog.md | 9 + ...ily_dynamic_inside_identifier.changelog.sh | 32 ++ .../60_6family_dynamic_inside_identifier.html | 13 + .../60_6family_dynamic_inside_identifier.json | 239 ++++++++++++ .../60_6family_dynamic_inside_identifier.md | 7 + .../60_6family_dynamic_inside_identifier.sh | 30 ++ ...s_60_5family_dynamic_calc_suffix_disabled3 | 1 + .../60_5family_dynamic_calc_identifier.adoc | 3 - ...ily_dynamic_calc_identifier.changelog.adoc | 3 - ...ynamic_calc_identifier.changelog.gitlab.md | 1 - ...ily_dynamic_calc_identifier.changelog.html | 1 - ...amily_dynamic_calc_identifier.changelog.md | 1 - ...amily_dynamic_calc_identifier.changelog.sh | 3 - ..._5family_dynamic_calc_identifier.gitlab.md | 1 - .../60_5family_dynamic_calc_identifier.html | 1 - .../60_5family_dynamic_calc_identifier.json | 20 - .../60_5family_dynamic_calc_identifier.md | 1 - .../60_5family_dynamic_calc_identifier.sh | 3 - ...5family_dynamic_calc_identifier_multi.adoc | 3 - ...namic_calc_identifier_multi.changelog.adoc | 3 - ..._calc_identifier_multi.changelog.gitlab.md | 1 - ...namic_calc_identifier_multi.changelog.html | 1 - ...dynamic_calc_identifier_multi.changelog.md | 1 - ...dynamic_calc_identifier_multi.changelog.sh | 3 - ...ly_dynamic_calc_identifier_multi.gitlab.md | 1 - ...5family_dynamic_calc_identifier_multi.html | 1 - ...5family_dynamic_calc_identifier_multi.json | 20 - ...0_5family_dynamic_calc_identifier_multi.md | 1 - ...0_5family_dynamic_calc_identifier_multi.sh | 3 - tests/test_load.py | 6 +- 205 files changed, 2893 insertions(+), 552 deletions(-) create mode 100644 tests/result_tutorial/084/doc.json create mode 100644 tests/result_tutorial/084/doc.sh create mode 100644 tests/result_tutorial/084/doc_changelog.sh create mode 100644 tests/result_tutorial/085/doc.json create mode 100644 tests/result_tutorial/085/doc.sh create mode 100644 tests/result_tutorial/085/doc_changelog.sh create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.adoc create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.html create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.md create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.sh create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.adoc create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.gitlab.md create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.html create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.json create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.md create mode 100644 tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.sh create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier.adoc create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier.html create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier.json create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier.md create mode 100644 tests/results/test_namespace/60_6family_dynamic_inside_identifier.sh create mode 100644 tests/results/test_namespace/warnings_60_5family_dynamic_calc_suffix_disabled3 create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.adoc create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.html create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.md create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.sh create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.adoc create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.gitlab.md create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.html create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.md create mode 100644 tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.sh create mode 100644 tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.adoc create mode 100644 tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.html create mode 100644 tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.md create mode 100644 tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.sh create mode 100644 tests/results/test_namespace_examples/warnings_60_5family_dynamic_calc_suffix_disabled3 create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.adoc create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.html create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.md create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.sh create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.adoc create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.gitlab.md create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.html create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.md create mode 100644 tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.sh create mode 100644 tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.adoc create mode 100644 tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.html create mode 100644 tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.md create mode 100644 tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.sh create mode 100644 tests/results/test_namespace_examples_comment/warnings_60_5family_dynamic_calc_suffix_disabled3 create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.adoc create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.adoc create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.html create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.sh create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.html create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.json create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.sh create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.adoc create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.adoc create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.gitlab.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.html create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.sh create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.gitlab.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.html create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.json create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.md create mode 100644 tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.sh create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.adoc create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.adoc create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.html create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.md create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.sh create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.html create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.json create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.md create mode 100644 tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.sh create mode 100644 tests/results/test_namespace_without_family/warnings_60_5family_dynamic_calc_suffix_disabled3 diff --git a/src/rougail/output_doc/collect.py b/src/rougail/output_doc/collect.py index 72ec57c30..a338a72a5 100644 --- a/src/rougail/output_doc/collect.py +++ b/src/rougail/output_doc/collect.py @@ -270,7 +270,7 @@ class _ToString: ): isfollower = not variable.isoptiondescription() and variable.isfollower() if not isfollower and self.is_inaccessible_user_data(variable): - uncalculated = variable.value.default(uncalculated=True) + uncalculated = variable.unrestraint.value.default(uncalculated=True) if uncalculated and not isinstance(uncalculated, Calculation): if isinstance(uncalculated, list): return { diff --git a/tests/result_tutorial/081/doc.json b/tests/result_tutorial/081/doc.json index 219e47d28..220c84ab9 100644 --- a/tests/result_tutorial/081/doc.json +++ b/tests/result_tutorial/081/doc.json @@ -273,33 +273,6 @@ "private ports (greater than 49152) are allowed" ] } - }, - "version": { - "path": "manual.socks_proxy.version", - "name": "version", - "description": "SOCKS host version used by proxy.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "v5" - }, - "variable_type": "choice", - "choices": { - "name": "Choices", - "values": [ - "v4", - "v5" - ] - } } } } diff --git a/tests/result_tutorial/081/doc.sh b/tests/result_tutorial/081/doc.sh index 2bbebc134..e03a10d9c 100644 --- a/tests/result_tutorial/081/doc.sh +++ b/tests/result_tutorial/081/doc.sh @@ -106,10 +106,5 @@ │ │ • private ports (greater than 49152) │ │ │ are allowed │ │ │ Default: 8080 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.version │ SOCKS host version used by proxy. │ -│  choice   standard   mandatory  │ Choices: │ -│ │ • v4 │ -│ │ • v5 ← (default) │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/result_tutorial/081/doc_changelog.sh b/tests/result_tutorial/081/doc_changelog.sh index d0e4a4683..e1e616991 100644 --- a/tests/result_tutorial/081/doc_changelog.sh +++ b/tests/result_tutorial/081/doc_changelog.sh @@ -32,11 +32,6 @@ │ │ • private ports (greater than 49152) │ │ │ are allowed │ │ │ Default: 8080 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.version │ SOCKS host version used by proxy. │ -│  choice   standard   mandatory  │ Choices: │ -│ │ • v4 │ -│ │ • v5 ← (default) │ └───────────────────────────────────────┴──────────────────────────────────────┘ Deleted variables diff --git a/tests/result_tutorial/082/doc.json b/tests/result_tutorial/082/doc.json index fa8affa95..219e47d28 100644 --- a/tests/result_tutorial/082/doc.json +++ b/tests/result_tutorial/082/doc.json @@ -157,7 +157,7 @@ } } ], - "mode": "standard" + "mode": "basic" }, "children": { "address": { @@ -172,19 +172,8 @@ "access_control": false } ], - "mode": "standard", + "mode": "basic", "type": "variable", - "default": { - "name": "Default", - "values": { - "message": "the value of the variable {0}.", - "path": { - "path": "manual.http_proxy.address", - "type": "variable" - }, - "description": "Proxy address" - } - }, "variable_type": "domainname", "validators": { "name": "Validators", @@ -210,14 +199,7 @@ "type": "variable", "default": { "name": "Default", - "values": { - "message": "the value of the variable {0}.", - "path": { - "path": "manual.http_proxy.port", - "type": "variable" - }, - "description": "Proxy port" - } + "values": "8080" }, "variable_type": "port", "validators": { @@ -238,7 +220,7 @@ "name": "socks_proxy", "description": "SOCKS Proxy", "properties": [], - "mode": "standard" + "mode": "basic" }, "children": { "address": { @@ -253,19 +235,8 @@ "access_control": false } ], - "mode": "standard", + "mode": "basic", "type": "variable", - "default": { - "name": "Default", - "values": { - "message": "the value of the variable {0}.", - "path": { - "path": "manual.http_proxy.address", - "type": "variable" - }, - "description": "Proxy address" - } - }, "variable_type": "domainname", "validators": { "name": "Validators", @@ -291,14 +262,7 @@ "type": "variable", "default": { "name": "Default", - "values": { - "message": "the value of the variable {0}.", - "path": { - "path": "manual.http_proxy.port", - "type": "variable" - }, - "description": "Proxy port" - } + "values": "8080" }, "variable_type": "port", "validators": { diff --git a/tests/result_tutorial/082/doc.sh b/tests/result_tutorial/082/doc.sh index bec683612..2bbebc134 100644 --- a/tests/result_tutorial/082/doc.sh +++ b/tests/result_tutorial/082/doc.sh @@ -59,7 +59,7 @@ ▌ 🛈 Informations ▌  ▌ Path: manual.https_proxy -▌  standard   hidden  +▌  basic   hidden  ▌ Hidden: when the variable "Also use this proxy for HTTPS" ▌ (manual.use_for_https) has the value "true". @@ -67,12 +67,9 @@ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ manual.https_proxy.address │ Proxy address. │ -│  domainname   standard   mandatory  │ Validators: │ +│  domainname   basic   mandatory  │ Validators: │ │ │ • type domainname │ │ │ • the domain name can be an IP │ -│ │ Default: the value of the variable │ -│ │ "Proxy address" │ -│ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ manual.https_proxy.port │ Proxy port. │ │  port   standard   mandatory  │ Validators: │ @@ -82,9 +79,7 @@ │ │ are allowed │ │ │ • private ports (greater than 49152) │ │ │ are allowed │ -│ │ Default: the value of the variable │ -│ │ "Proxy port" │ -│ │ (manual.http_proxy.port). │ +│ │ Default: 8080 │ └───────────────────────────────────────┴──────────────────────────────────────┘ SOCKS Proxy @@ -92,18 +87,15 @@ ▌ 🛈 Informations ▌  ▌ Path: manual.socks_proxy -▌  standard  +▌  basic  ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ manual.socks_proxy.address │ Proxy address. │ -│  domainname   standard   mandatory  │ Validators: │ +│  domainname   basic   mandatory  │ Validators: │ │ │ • type domainname │ │ │ • the domain name can be an IP │ -│ │ Default: the value of the variable │ -│ │ "Proxy address" │ -│ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ manual.socks_proxy.port │ Proxy port. │ │  port   standard   mandatory  │ Validators: │ @@ -113,9 +105,7 @@ │ │ are allowed │ │ │ • private ports (greater than 49152) │ │ │ are allowed │ -│ │ Default: the value of the variable │ -│ │ "Proxy port" │ -│ │ (manual.http_proxy.port). │ +│ │ Default: 8080 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ manual.socks_proxy.version │ SOCKS host version used by proxy. │ │  choice   standard   mandatory  │ Choices: │ diff --git a/tests/result_tutorial/082/doc_changelog.sh b/tests/result_tutorial/082/doc_changelog.sh index 01011cb4a..57040fb46 100644 --- a/tests/result_tutorial/082/doc_changelog.sh +++ b/tests/result_tutorial/082/doc_changelog.sh @@ -1,46 +1,11 @@ -Modified variables +New variable ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ manual.https_proxy.address │ Proxy address. │ -│  basic   standard   domainname    │ Validators: │ -│ standard   mandatory  │ • type domainname │ -│ │ • the domain name can be an IP │ -│ │ Default: the value of the variable  │ -│ │ "Proxy address"  │ -│ │ (manual.http_proxy.address). │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.https_proxy.port │ Proxy port. │ -│  port   standard   mandatory  │ Validators: │ -│ │ • well-known ports (1 to 1023) are │ -│ │ allowed │ -│ │ • registred ports (1024 to 49151) │ -│ │ are allowed │ -│ │ • private ports (greater than 49152) │ -│ │ are allowed │ -│ │ Default: 8080 │ -│ │ the value of the variable "Proxy  │ -│ │ port" (manual.http_proxy.port). │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.address │ Proxy address. │ -│  basic   standard   domainname    │ Validators: │ -│ standard   mandatory  │ • type domainname │ -│ │ • the domain name can be an IP │ -│ │ Default: the value of the variable  │ -│ │ "Proxy address"  │ -│ │ (manual.http_proxy.address). │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.port │ Proxy port. │ -│  port   standard   mandatory  │ Validators: │ -│ │ • well-known ports (1 to 1023) are │ -│ │ allowed │ -│ │ • registred ports (1024 to 49151) │ -│ │ are allowed │ -│ │ • private ports (greater than 49152) │ -│ │ are allowed │ -│ │ Default: 8080 │ -│ │ the value of the variable "Proxy  │ -│ │ port" (manual.http_proxy.port). │ +│ manual.socks_proxy.version │ SOCKS host version used by proxy. │ +│  choice   standard   mandatory  │ Choices: │ +│ │ • v4 │ +│ │ • v5 ← (default) │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/result_tutorial/083/doc.json b/tests/result_tutorial/083/doc.json index 20de78d26..fa8affa95 100644 --- a/tests/result_tutorial/083/doc.json +++ b/tests/result_tutorial/083/doc.json @@ -66,7 +66,7 @@ "address": { "path": "manual.http_proxy.address", "name": "address", - "description": "HTTP proxy address.", + "description": "Proxy address.", "properties": [ { "type": "property", @@ -89,7 +89,7 @@ "port": { "path": "manual.http_proxy.port", "name": "port", - "description": "HTTP proxy port.", + "description": "Proxy port.", "properties": [ { "type": "property", @@ -163,7 +163,7 @@ "address": { "path": "manual.https_proxy.address", "name": "address", - "description": "HTTPS proxy address.", + "description": "Proxy address.", "properties": [ { "type": "property", @@ -182,7 +182,7 @@ "path": "manual.http_proxy.address", "type": "variable" }, - "description": "HTTP proxy address" + "description": "Proxy address" } }, "variable_type": "domainname", @@ -197,7 +197,7 @@ "port": { "path": "manual.https_proxy.port", "name": "port", - "description": "HTTPS proxy port.", + "description": "Proxy port.", "properties": [ { "type": "property", @@ -216,7 +216,7 @@ "path": "manual.http_proxy.port", "type": "variable" }, - "description": "HTTP proxy port" + "description": "Proxy port" } }, "variable_type": "port", @@ -244,7 +244,7 @@ "address": { "path": "manual.socks_proxy.address", "name": "address", - "description": "SOCKS proxy address.", + "description": "Proxy address.", "properties": [ { "type": "property", @@ -263,7 +263,7 @@ "path": "manual.http_proxy.address", "type": "variable" }, - "description": "HTTP proxy address" + "description": "Proxy address" } }, "variable_type": "domainname", @@ -278,7 +278,7 @@ "port": { "path": "manual.socks_proxy.port", "name": "port", - "description": "SOCKS proxy port.", + "description": "Proxy port.", "properties": [ { "type": "property", @@ -297,7 +297,7 @@ "path": "manual.http_proxy.port", "type": "variable" }, - "description": "HTTP proxy port" + "description": "Proxy port" } }, "variable_type": "port", diff --git a/tests/result_tutorial/083/doc.sh b/tests/result_tutorial/083/doc.sh index b60aea2e8..bec683612 100644 --- a/tests/result_tutorial/083/doc.sh +++ b/tests/result_tutorial/083/doc.sh @@ -31,12 +31,12 @@ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ manual.http_proxy.address │ HTTP proxy address. │ +│ manual.http_proxy.address │ Proxy address. │ │  domainname   basic   mandatory  │ Validators: │ │ │ • type domainname │ │ │ • the domain name can be an IP │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.http_proxy.port │ HTTP proxy port. │ +│ manual.http_proxy.port │ Proxy port. │ │  port   standard   mandatory  │ Validators: │ │ │ • well-known ports (1 to 1023) are │ │ │ allowed │ @@ -66,15 +66,15 @@ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ manual.https_proxy.address │ HTTPS proxy address. │ +│ manual.https_proxy.address │ Proxy address. │ │  domainname   standard   mandatory  │ Validators: │ │ │ • type domainname │ │ │ • the domain name can be an IP │ │ │ Default: the value of the variable │ -│ │ "HTTP proxy address" │ +│ │ "Proxy address" │ │ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.https_proxy.port │ HTTPS proxy port. │ +│ manual.https_proxy.port │ Proxy port. │ │  port   standard   mandatory  │ Validators: │ │ │ • well-known ports (1 to 1023) are │ │ │ allowed │ @@ -83,7 +83,7 @@ │ │ • private ports (greater than 49152) │ │ │ are allowed │ │ │ Default: the value of the variable │ -│ │ "HTTP proxy port" │ +│ │ "Proxy port" │ │ │ (manual.http_proxy.port). │ └───────────────────────────────────────┴──────────────────────────────────────┘ @@ -97,15 +97,15 @@ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ manual.socks_proxy.address │ SOCKS proxy address. │ +│ manual.socks_proxy.address │ Proxy address. │ │  domainname   standard   mandatory  │ Validators: │ │ │ • type domainname │ │ │ • the domain name can be an IP │ │ │ Default: the value of the variable │ -│ │ "HTTP proxy address" │ +│ │ "Proxy address" │ │ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.port │ SOCKS proxy port. │ +│ manual.socks_proxy.port │ Proxy port. │ │  port   standard   mandatory  │ Validators: │ │ │ • well-known ports (1 to 1023) are │ │ │ allowed │ @@ -114,7 +114,7 @@ │ │ • private ports (greater than 49152) │ │ │ are allowed │ │ │ Default: the value of the variable │ -│ │ "HTTP proxy port" │ +│ │ "Proxy port" │ │ │ (manual.http_proxy.port). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ manual.socks_proxy.version │ SOCKS host version used by proxy. │ diff --git a/tests/result_tutorial/083/doc_changelog.sh b/tests/result_tutorial/083/doc_changelog.sh index d85ecf5b6..01011cb4a 100644 --- a/tests/result_tutorial/083/doc_changelog.sh +++ b/tests/result_tutorial/083/doc_changelog.sh @@ -3,77 +3,44 @@ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ manual.http_proxy.address │ Proxy address. │ -│  domainname   basic   mandatory  │ HTTP proxy address. │ -│ │ Validators: │ -│ │ • type domainname │ +│ manual.https_proxy.address │ Proxy address. │ +│  basic   standard   domainname    │ Validators: │ +│ standard   mandatory  │ • type domainname │ │ │ • the domain name can be an IP │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.http_proxy.port │ Proxy port. │ -│  port   standard   mandatory  │ HTTP proxy port. │ -│ │ Validators: │ -│ │ • well-known ports (1 to 1023) are │ -│ │ allowed │ -│ │ • registred ports (1024 to 49151) │ -│ │ are allowed │ -│ │ • private ports (greater than 49152) │ -│ │ are allowed │ -│ │ Default: 8080 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.https_proxy.address │ Proxy address. │ -│  domainname   standard   mandatory  │ HTTPS proxy address. │ -│ │ Validators: │ -│ │ • type domainname │ -│ │ • the domain name can be an IP │ -│ │ Default: the value of the variable  │ -│ │ "Proxy address"  │ -│ │ (manual.http_proxy.address). │ -│ │ the value of the variable "HTTP  │ -│ │ proxy address"  │ +│ │ Default: the value of the variable  │ +│ │ "Proxy address"  │ │ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.https_proxy.port │ Proxy port. │ -│  port   standard   mandatory  │ HTTPS proxy port. │ -│ │ Validators: │ +│ manual.https_proxy.port │ Proxy port. │ +│  port   standard   mandatory  │ Validators: │ │ │ • well-known ports (1 to 1023) are │ │ │ allowed │ │ │ • registred ports (1024 to 49151) │ │ │ are allowed │ │ │ • private ports (greater than 49152) │ │ │ are allowed │ -│ │ Default: the value of the variable  │ -│ │ "Proxy port"  │ -│ │ (manual.http_proxy.port). │ -│ │ the value of the variable "HTTP  │ -│ │ proxy port"  │ -│ │ (manual.http_proxy.port). │ +│ │ Default: 8080 │ +│ │ the value of the variable "Proxy  │ +│ │ port" (manual.http_proxy.port). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.address │ Proxy address. │ -│  domainname   standard   mandatory  │ SOCKS proxy address. │ -│ │ Validators: │ -│ │ • type domainname │ +│ manual.socks_proxy.address │ Proxy address. │ +│  basic   standard   domainname    │ Validators: │ +│ standard   mandatory  │ • type domainname │ │ │ • the domain name can be an IP │ -│ │ Default: the value of the variable  │ -│ │ "Proxy address"  │ -│ │ (manual.http_proxy.address). │ -│ │ the value of the variable "HTTP  │ -│ │ proxy address"  │ +│ │ Default: the value of the variable  │ +│ │ "Proxy address"  │ │ │ (manual.http_proxy.address). │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ manual.socks_proxy.port │ Proxy port. │ -│  port   standard   mandatory  │ SOCKS proxy port. │ -│ │ Validators: │ +│ manual.socks_proxy.port │ Proxy port. │ +│  port   standard   mandatory  │ Validators: │ │ │ • well-known ports (1 to 1023) are │ │ │ allowed │ │ │ • registred ports (1024 to 49151) │ │ │ are allowed │ │ │ • private ports (greater than 49152) │ │ │ are allowed │ -│ │ Default: the value of the variable  │ -│ │ "Proxy port"  │ -│ │ (manual.http_proxy.port). │ -│ │ the value of the variable "HTTP  │ -│ │ proxy port"  │ -│ │ (manual.http_proxy.port). │ +│ │ Default: 8080 │ +│ │ the value of the variable "Proxy  │ +│ │ port" (manual.http_proxy.port). │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/result_tutorial/084/doc.json b/tests/result_tutorial/084/doc.json new file mode 100644 index 000000000..e96b99ef7 --- /dev/null +++ b/tests/result_tutorial/084/doc.json @@ -0,0 +1,340 @@ +{ + "proxy_mode": { + "path": "proxy_mode", + "name": "proxy_mode", + "description": "Configure Proxy Access to the Internet.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "No proxy" + }, + "variable_type": "choice", + "choices": { + "name": "Choices", + "values": [ + "No proxy", + "Auto-detect proxy settings for this network", + "Use system proxy settings", + "Manual proxy configuration", + "Automatic proxy configuration URL" + ] + } + }, + "manual": { + "type": "family", + "informations": { + "path": "manual", + "name": "manual", + "description": "Manual proxy configuration", + "properties": [ + { + "type": "property", + "name": "disabled", + "ori_name": "disabled", + "access_control": true, + "annotation": { + "message": "when the variable {0} hasn't the value \"Manual proxy configuration\".", + "path": { + "path": "proxy_mode" + }, + "description": "Configure Proxy Access to the Internet" + } + } + ], + "mode": "basic" + }, + "children": { + "http_proxy": { + "type": "family", + "informations": { + "path": "manual.http_proxy", + "name": "http_proxy", + "description": "HTTP Proxy", + "properties": [], + "mode": "basic" + }, + "children": { + "address": { + "path": "manual.http_proxy.address", + "name": "address", + "description": "HTTP proxy address.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "basic", + "type": "variable", + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.http_proxy.port", + "name": "port", + "description": "HTTP proxy port.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "8080" + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + } + } + }, + "use_for_https": { + "path": "manual.use_for_https", + "name": "use_for_https", + "description": "Also use this proxy for HTTPS.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "variable_type": "boolean" + }, + "https_proxy": { + "type": "family", + "informations": { + "path": "manual.https_proxy", + "name": "https_proxy", + "description": "HTTPS Proxy", + "properties": [ + { + "type": "property", + "name": "hidden", + "ori_name": "hidden", + "access_control": true, + "annotation": { + "message": "when the variable {0} has the value \"true\".", + "path": { + "path": "manual.use_for_https" + }, + "description": "Also use this proxy for HTTPS" + } + } + ], + "mode": "standard" + }, + "children": { + "address": { + "path": "manual.https_proxy.address", + "name": "address", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.address", + "type": "variable" + }, + "description": "HTTP proxy address" + } + }, + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.https_proxy.port", + "name": "port", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.port", + "type": "variable" + }, + "description": "HTTP proxy port" + } + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + } + } + }, + "socks_proxy": { + "type": "family", + "informations": { + "path": "manual.socks_proxy", + "name": "socks_proxy", + "description": "SOCKS Proxy", + "properties": [], + "mode": "standard" + }, + "children": { + "address": { + "path": "manual.socks_proxy.address", + "name": "address", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.address", + "type": "variable" + }, + "description": "HTTP proxy address" + } + }, + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.socks_proxy.port", + "name": "port", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.port", + "type": "variable" + }, + "description": "HTTP proxy port" + } + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + }, + "version": { + "path": "manual.socks_proxy.version", + "name": "version", + "description": "SOCKS host version used by proxy.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "v5" + }, + "variable_type": "choice", + "choices": { + "name": "Choices", + "values": [ + "v4", + "v5" + ] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/result_tutorial/084/doc.sh b/tests/result_tutorial/084/doc.sh new file mode 100644 index 000000000..1e5ecf550 --- /dev/null +++ b/tests/result_tutorial/084/doc.sh @@ -0,0 +1,121 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ proxy_mode │ Configure Proxy Access to the │ +│  choice   standard   mandatory  │ Internet. │ +│ │ Choices: │ +│ │ • No proxy ← (default) │ +│ │ • Auto-detect proxy settings for │ +│ │ this network │ +│ │ • Use system proxy settings │ +│ │ • Manual proxy configuration │ +│ │ • Automatic proxy configuration URL │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + +Manual proxy configuration + +▌ 🛈 Informations +▌  +▌ Path: manual +▌  basic   disabled  +▌ Disabled: when the variable "Configure Proxy Access to the Internet" +▌ (proxy_mode) hasn't the value "Manual proxy configuration". + + HTTP Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.http_proxy +▌  basic  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.http_proxy.address │ HTTP proxy address. │ +│  domainname   basic   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.http_proxy.port │ HTTP proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: 8080 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.use_for_https │ Also use this proxy for HTTPS. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + + HTTPS Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.https_proxy +▌  standard   hidden  +▌ Hidden: when the variable "Also use this proxy for HTTPS" +▌ (manual.use_for_https) has the value "true". + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.https_proxy.address │ Validators: │ +│  domainname   standard   mandatory  │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.https_proxy.port │ Validators: │ +│  port   standard   mandatory  │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + + SOCKS Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.socks_proxy +▌  standard  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.socks_proxy.address │ Validators: │ +│  domainname   standard   mandatory  │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.port │ Validators: │ +│  port   standard   mandatory  │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.version │ SOCKS host version used by proxy. │ +│  choice   standard   mandatory  │ Choices: │ +│ │ • v4 │ +│ │ • v5 ← (default) │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/result_tutorial/084/doc_changelog.sh b/tests/result_tutorial/084/doc_changelog.sh new file mode 100644 index 000000000..b1bb1d4e2 --- /dev/null +++ b/tests/result_tutorial/084/doc_changelog.sh @@ -0,0 +1,71 @@ +Modified variables + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.http_proxy.address │ Proxy address. │ +│  domainname   basic   mandatory  │ HTTP proxy address. │ +│ │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.http_proxy.port │ Proxy port. │ +│  port   standard   mandatory  │ HTTP proxy port. │ +│ │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: 8080 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.https_proxy.address │ Validators: │ +│  domainname   standard   mandatory  │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable  │ +│ │ "Proxy address"  │ +│ │ (manual.http_proxy.address). │ +│ │ the value of the variable "HTTP  │ +│ │ proxy address"  │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.https_proxy.port │ Validators: │ +│  port   standard   mandatory  │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable  │ +│ │ "Proxy port"  │ +│ │ (manual.http_proxy.port). │ +│ │ the value of the variable "HTTP  │ +│ │ proxy port"  │ +│ │ (manual.http_proxy.port). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.address │ Validators: │ +│  domainname   standard   mandatory  │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable  │ +│ │ "Proxy address"  │ +│ │ (manual.http_proxy.address). │ +│ │ the value of the variable "HTTP  │ +│ │ proxy address"  │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.port │ Validators: │ +│  port   standard   mandatory  │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable  │ +│ │ "Proxy port"  │ +│ │ (manual.http_proxy.port). │ +│ │ the value of the variable "HTTP  │ +│ │ proxy port"  │ +│ │ (manual.http_proxy.port). │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/result_tutorial/085/doc.json b/tests/result_tutorial/085/doc.json new file mode 100644 index 000000000..20de78d26 --- /dev/null +++ b/tests/result_tutorial/085/doc.json @@ -0,0 +1,344 @@ +{ + "proxy_mode": { + "path": "proxy_mode", + "name": "proxy_mode", + "description": "Configure Proxy Access to the Internet.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "No proxy" + }, + "variable_type": "choice", + "choices": { + "name": "Choices", + "values": [ + "No proxy", + "Auto-detect proxy settings for this network", + "Use system proxy settings", + "Manual proxy configuration", + "Automatic proxy configuration URL" + ] + } + }, + "manual": { + "type": "family", + "informations": { + "path": "manual", + "name": "manual", + "description": "Manual proxy configuration", + "properties": [ + { + "type": "property", + "name": "disabled", + "ori_name": "disabled", + "access_control": true, + "annotation": { + "message": "when the variable {0} hasn't the value \"Manual proxy configuration\".", + "path": { + "path": "proxy_mode" + }, + "description": "Configure Proxy Access to the Internet" + } + } + ], + "mode": "basic" + }, + "children": { + "http_proxy": { + "type": "family", + "informations": { + "path": "manual.http_proxy", + "name": "http_proxy", + "description": "HTTP Proxy", + "properties": [], + "mode": "basic" + }, + "children": { + "address": { + "path": "manual.http_proxy.address", + "name": "address", + "description": "HTTP proxy address.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "basic", + "type": "variable", + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.http_proxy.port", + "name": "port", + "description": "HTTP proxy port.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "8080" + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + } + } + }, + "use_for_https": { + "path": "manual.use_for_https", + "name": "use_for_https", + "description": "Also use this proxy for HTTPS.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": true + }, + "variable_type": "boolean" + }, + "https_proxy": { + "type": "family", + "informations": { + "path": "manual.https_proxy", + "name": "https_proxy", + "description": "HTTPS Proxy", + "properties": [ + { + "type": "property", + "name": "hidden", + "ori_name": "hidden", + "access_control": true, + "annotation": { + "message": "when the variable {0} has the value \"true\".", + "path": { + "path": "manual.use_for_https" + }, + "description": "Also use this proxy for HTTPS" + } + } + ], + "mode": "standard" + }, + "children": { + "address": { + "path": "manual.https_proxy.address", + "name": "address", + "description": "HTTPS proxy address.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.address", + "type": "variable" + }, + "description": "HTTP proxy address" + } + }, + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.https_proxy.port", + "name": "port", + "description": "HTTPS proxy port.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.port", + "type": "variable" + }, + "description": "HTTP proxy port" + } + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + } + } + }, + "socks_proxy": { + "type": "family", + "informations": { + "path": "manual.socks_proxy", + "name": "socks_proxy", + "description": "SOCKS Proxy", + "properties": [], + "mode": "standard" + }, + "children": { + "address": { + "path": "manual.socks_proxy.address", + "name": "address", + "description": "SOCKS proxy address.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.address", + "type": "variable" + }, + "description": "HTTP proxy address" + } + }, + "variable_type": "domainname", + "validators": { + "name": "Validators", + "values": [ + "type domainname", + "the domain name can be an IP" + ] + } + }, + "port": { + "path": "manual.socks_proxy.port", + "name": "port", + "description": "SOCKS proxy port.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}.", + "path": { + "path": "manual.http_proxy.port", + "type": "variable" + }, + "description": "HTTP proxy port" + } + }, + "variable_type": "port", + "validators": { + "name": "Validators", + "values": [ + "well-known ports (1 to 1023) are allowed", + "registred ports (1024 to 49151) are allowed", + "private ports (greater than 49152) are allowed" + ] + } + }, + "version": { + "path": "manual.socks_proxy.version", + "name": "version", + "description": "SOCKS host version used by proxy.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": "v5" + }, + "variable_type": "choice", + "choices": { + "name": "Choices", + "values": [ + "v4", + "v5" + ] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/result_tutorial/085/doc.sh b/tests/result_tutorial/085/doc.sh new file mode 100644 index 000000000..b60aea2e8 --- /dev/null +++ b/tests/result_tutorial/085/doc.sh @@ -0,0 +1,125 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ proxy_mode │ Configure Proxy Access to the │ +│  choice   standard   mandatory  │ Internet. │ +│ │ Choices: │ +│ │ • No proxy ← (default) │ +│ │ • Auto-detect proxy settings for │ +│ │ this network │ +│ │ • Use system proxy settings │ +│ │ • Manual proxy configuration │ +│ │ • Automatic proxy configuration URL │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + +Manual proxy configuration + +▌ 🛈 Informations +▌  +▌ Path: manual +▌  basic   disabled  +▌ Disabled: when the variable "Configure Proxy Access to the Internet" +▌ (proxy_mode) hasn't the value "Manual proxy configuration". + + HTTP Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.http_proxy +▌  basic  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.http_proxy.address │ HTTP proxy address. │ +│  domainname   basic   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.http_proxy.port │ HTTP proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: 8080 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.use_for_https │ Also use this proxy for HTTPS. │ +│  boolean   standard   mandatory  │ Default: true │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + + HTTPS Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.https_proxy +▌  standard   hidden  +▌ Hidden: when the variable "Also use this proxy for HTTPS" +▌ (manual.use_for_https) has the value "true". + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.https_proxy.address │ HTTPS proxy address. │ +│  domainname   standard   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.https_proxy.port │ HTTPS proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + + SOCKS Proxy + +▌ 🛈 Informations +▌  +▌ Path: manual.socks_proxy +▌  standard  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.socks_proxy.address │ SOCKS proxy address. │ +│  domainname   standard   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.port │ SOCKS proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.version │ SOCKS host version used by proxy. │ +│  choice   standard   mandatory  │ Choices: │ +│ │ • v4 │ +│ │ • v5 ← (default) │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/result_tutorial/085/doc_changelog.sh b/tests/result_tutorial/085/doc_changelog.sh new file mode 100644 index 000000000..113c4600e --- /dev/null +++ b/tests/result_tutorial/085/doc_changelog.sh @@ -0,0 +1,46 @@ +Modified variables + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ manual.https_proxy.address │ HTTPS proxy address. │ +│  domainname   standard   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.https_proxy.port │ HTTPS proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.address │ SOCKS proxy address. │ +│  domainname   standard   mandatory  │ Validators: │ +│ │ • type domainname │ +│ │ • the domain name can be an IP │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy address" │ +│ │ (manual.http_proxy.address). │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ manual.socks_proxy.port │ SOCKS proxy port. │ +│  port   standard   mandatory  │ Validators: │ +│ │ • well-known ports (1 to 1023) are │ +│ │ allowed │ +│ │ • registred ports (1024 to 49151) │ +│ │ are allowed │ +│ │ • private ports (greater than 49152) │ +│ │ are allowed │ +│ │ Default: the value of the variable │ +│ │ "HTTP proxy port" │ +│ │ (manual.http_proxy.port). │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.adoc b/tests/results/test/60_5family_dynamic_calc_identifier.adoc index 19a515e4e..4220a1ba0 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test/60_5family_dynamic_calc_identifier.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 |==== == dyn__val1__ or dyn__val2__ diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test/60_5family_dynamic_calc_identifier.gitlab.md index 27d37d45f..f20920fd7 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test/60_5family_dynamic_calc_identifier.gitlab.md @@ -1,7 +1,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
**Default**:
• val1
• val2 | -| **var2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
**Default**: val1 |
dynval1 or dynval2 diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.html b/tests/results/test/60_5family_dynamic_calc_identifier.html index c42e08bad..aa3baf095 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test/60_5family_dynamic_calc_identifier.html @@ -1,11 +1,10 @@ - + - +
  • val2
  • Variable Description
    Variable Description
    var1
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • -
    • val2
    var2
    string standard mandatory
    A suffix variable2.
    Default: val1
    diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.json b/tests/results/test/60_5family_dynamic_calc_identifier.json index 498d47e75..7eff83904 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.json +++ b/tests/results/test/60_5family_dynamic_calc_identifier.json @@ -29,26 +29,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.md b/tests/results/test/60_5family_dynamic_calc_identifier.md index 3afb02e03..8014e37e0 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test/60_5family_dynamic_calc_identifier.md @@ -1,7 +1,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | # dyn*val1* or dyn*val2* diff --git a/tests/results/test/60_5family_dynamic_calc_identifier.sh b/tests/results/test/60_5family_dynamic_calc_identifier.sh index 3e8fb9d4c..2642464ef 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test/60_5family_dynamic_calc_identifier.sh @@ -5,9 +5,6 @@ │  string   multiple   standard    │ Default: │ │ mandatory   unique  │ • val1 │ │ │ • val2 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ └───────────────────────────────────────┴──────────────────────────────────────┘ dynval1 or dynval2 diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test/60_5family_dynamic_calc_identifier_multi.adoc index 7f67d3d18..b314ed9c7 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 |==== == dyn__val1__ or dyn__val2__ diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test/60_5family_dynamic_calc_identifier_multi.gitlab.md index f8c317d89..b08ba83f7 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -1,7 +1,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 |
    dynval1 or dynval2 diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test/60_5family_dynamic_calc_identifier_multi.html index 82ddc9c49..d30926eb0 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.html @@ -1,11 +1,10 @@ - + - +
  • val2
  • Variable Description
    Variable Description
    var1
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • -
    • val2
    var2
    string standard mandatory
    A suffix variable2.
    Default: val1
    diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.json b/tests/results/test/60_5family_dynamic_calc_identifier_multi.json index 1bca1278c..163cd7d6e 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.json +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.json @@ -29,26 +29,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test/60_5family_dynamic_calc_identifier_multi.md index a2853d169..76d286bc3 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.md @@ -1,7 +1,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | # dyn*val1* or dyn*val2* diff --git a/tests/results/test/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test/60_5family_dynamic_calc_identifier_multi.sh index 6edfe6e8d..6a9030bff 100644 --- a/tests/results/test/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test/60_5family_dynamic_calc_identifier_multi.sh @@ -5,9 +5,6 @@ │  string   multiple   standard    │ Default: │ │ mandatory   unique  │ • val1 │ │ │ • val2 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ └───────────────────────────────────────┴──────────────────────────────────────┘ dynval1 or dynval2 diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_examples/60_5family_dynamic_calc_identifier.adoc index 5437ee767..503cb3192 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier.adoc @@ -6,7 +6,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_examples/60_5family_dynamic_calc_identifier.gitlab.md index 7ec806e18..eb5c6ffcc 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier.gitlab.md @@ -5,7 +5,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier.html b/tests/results/test_examples/60_5family_dynamic_calc_identifier.html index f189260b2..d720a77fd 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier.html @@ -4,7 +4,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier.md b/tests/results/test_examples/60_5family_dynamic_calc_identifier.md index 9d42de4f8..82573119b 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier.md @@ -5,7 +5,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier.sh b/tests/results/test_examples/60_5family_dynamic_calc_identifier.sh index 13984159e..089a942a4 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier.sh @@ -4,7 +4,6 @@ var1:   - val1   - val2  -var2: val1  dynval1:   var: val1  dynval2:  diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.adoc index cc2a2df44..95fc9b8a9 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.adoc @@ -6,7 +6,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md index 2fcd64b08..3289ed284 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -5,7 +5,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.html index f4f353f62..e8a8caf23 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.html @@ -4,7 +4,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.md index 57365f12a..93f18ff6e 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.md @@ -5,7 +5,6 @@ var1: - val1 - val2 -var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.sh index 1bece5d8e..a76f194a8 100644 --- a/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_examples/60_5family_dynamic_calc_identifier_multi.sh @@ -4,7 +4,6 @@ var1:   - val1   - val2  -var2: val1  dynval1:   var:   - val1  diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.adoc index 234a22d9d..caaa5e7d3 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.adoc @@ -6,7 +6,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md index 5f2e56c85..afe4f2cc8 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md @@ -5,7 +5,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.html b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.html index 6509f1aab..48ef87f04 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.html @@ -4,7 +4,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.md b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.md index 9878358f3..28d0ae96e 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.md @@ -5,7 +5,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.sh b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.sh index d23b4a296..e657d2a34 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier.sh @@ -4,7 +4,6 @@ var1: # A suffix variable   - val1   - val2  -var2: val1 # A suffix variable2  dynval1:   var: val1 # A dynamic variable  dynval2:  diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc index 13d5dccaf..e7f33b132 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc @@ -6,7 +6,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md index 3a285f6d5..32cce5c69 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -5,7 +5,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.html index 10fb0b703..dffc0031e 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.html @@ -4,7 +4,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.md index 45d960c94..c54313b2c 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.md @@ -5,7 +5,6 @@ var1: # A suffix variable - val1 - val2 -var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.sh index a5b9cf315..40b402027 100644 --- a/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_examples_comment/60_5family_dynamic_calc_identifier_multi.sh @@ -4,7 +4,6 @@ var1: # A suffix variable   - val1   - val2  -var2: val1 # A suffix variable2  dynval1:   var: # A dynamic variable   - val1  diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.adoc index b8f271897..de0cbaabf 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.adoc @@ -18,9 +18,6 @@ This family is a namespace. + * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 |==== === dyn__val1__ or dyn__val2__ diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.gitlab.md index da0191e18..587b4f712 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.gitlab.md @@ -10,7 +10,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 |
    dynval1 or dynval2 diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.html b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.html index 2bbb23465..fdb03ba9c 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.html @@ -4,12 +4,11 @@ This family is a namespace.
    Path: rougail
    standard - + - +
  • val2
  • Variable Description
    Variable Description
    rougail.var1
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • -
    • val2
    rougail.var2
    string standard mandatory
    A suffix variable2.
    Default: val1
    diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.json index 2f26e73bd..b73700da8 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.json @@ -42,26 +42,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "rougail.var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.md b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.md index 03599f5b8..e8faae08b 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.md @@ -9,7 +9,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | ## dyn*val1* or dyn*val2* diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.sh b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.sh index 0b1dfa277..f83ba3d04 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier.sh @@ -13,9 +13,6 @@ │  string   multiple   standard    │ Default: │ │ mandatory   unique  │ • val1 │ │ │ • val2 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ └───────────────────────────────────────┴──────────────────────────────────────┘ dynval1 or dynval2 diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.adoc index 6f6bd3dfd..73cefb53e 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.adoc @@ -18,9 +18,6 @@ This family is a namespace. + * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 |==== === dyn__val1__ or dyn__val2__ diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.gitlab.md index 9b4d1f7c1..53e1e08bc 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -10,7 +10,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 |
    dynval1 or dynval2 diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.html index 016ca0c7b..173549e2b 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.html @@ -4,12 +4,11 @@ This family is a namespace.
    Path: rougail
    standard - + - +
  • val2
  • Variable Description
    Variable Description
    rougail.var1
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • -
    • val2
    rougail.var2
    string standard mandatory
    A suffix variable2.
    Default: val1
    diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.json b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.json index 3bdce0212..9beb99aa8 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.json +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.json @@ -42,26 +42,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "rougail.var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.md index 12f2c5ea5..91a6faacf 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.md @@ -9,7 +9,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | ## dyn*val1* or dyn*val2* diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.sh index 0340b69e8..7641b83c4 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_identifier_multi.sh @@ -13,9 +13,6 @@ │  string   multiple   standard    │ Default: │ │ mandatory   unique  │ • val1 │ │ │ • val2 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ └───────────────────────────────────────┴──────────────────────────────────────┘ dynval1 or dynval2 diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.adoc new file mode 100644 index 000000000..3192a558e --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.adoc @@ -0,0 +1,28 @@ +== Rougail + +==== +**🛈 Informations** + +This family is a namespace. + +**Path**: rougail + +`basic` + +==== + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Default**: + +* val1 + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.gitlab.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.gitlab.md index ef5ff1d2c..506e9ef3d 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.gitlab.md +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.gitlab.md @@ -10,6 +10,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of an undocumented variable | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable |
    \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.html b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.html new file mode 100644 index 000000000..85a7cbfdd --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.html @@ -0,0 +1,14 @@ +

    Rougail

    + +This family is a namespace.
    Path: rougail
    basic + + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Default:
    • val1

    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.json new file mode 100644 index 000000000..7503cf63e --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.json @@ -0,0 +1,72 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "basic", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var1": { + "path": "rougail.var1", + "name": "var1", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1" + ] + }, + "variable_type": "string", + "multiple": true, + "examples": { + "name": "Examples", + "values": [ + "val1", + "val2" + ] + } + }, + "var2": { + "path": "rougail.var2", + "name": "var2", + "description": "A variable calculated.", + "properties": [], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of an undocumented variable", + "path": { + "path": "rougail.dyn{{ identifier }}.var", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "A dynamic variable" + } + }, + "variable_type": "string" + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.md new file mode 100644 index 000000000..56c8f2658 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.md @@ -0,0 +1,12 @@ +# Rougail + +> [!NOTE] +> +> This family is a namespace.\ +> **Path**: rougail\ +> `basic` + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.sh b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.sh new file mode 100644 index 000000000..54ceea018 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled2.sh @@ -0,0 +1,23 @@ +Rougail + +▌ 🛈 Informations +▌  +▌ This family is a namespace. +▌ Path: rougail +▌  basic  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ unique  │ • val1 │ +│ │ Examples: │ +│ │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.adoc b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.adoc new file mode 100644 index 000000000..5395b4116 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.adoc @@ -0,0 +1,24 @@ +== Rougail + +==== +**🛈 Informations** + +This family is a namespace. + +**Path**: rougail + +`basic` + +==== + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.gitlab.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.gitlab.md new file mode 100644 index 000000000..2bddbb845 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.gitlab.md @@ -0,0 +1,15 @@ +
    Rougail + +> [!note] 🛈 Informations +> This family is a namespace. +> +> **Path**: rougail +> +> `basic` + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | + +
    \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.html b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.html new file mode 100644 index 000000000..e954730b6 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.html @@ -0,0 +1,14 @@ +

    Rougail

    + +This family is a namespace.
    Path: rougail
    basic + + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.json b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.json new file mode 100644 index 000000000..e337c244b --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.json @@ -0,0 +1,66 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "basic", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var1": { + "path": "rougail.var1", + "name": "var1", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "variable_type": "string", + "multiple": true, + "examples": { + "name": "Examples", + "values": [ + "val1", + "val2" + ] + } + }, + "var2": { + "path": "rougail.var2", + "name": "var2", + "description": "A variable calculated.", + "properties": [], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of an undocumented variable", + "path": { + "path": "rougail.dyn{{ identifier }}.var", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "A dynamic variable" + } + }, + "variable_type": "string" + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.md b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.md new file mode 100644 index 000000000..6a1765bd8 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.md @@ -0,0 +1,12 @@ +# Rougail + +> [!NOTE] +> +> This family is a namespace.\ +> **Path**: rougail\ +> `basic` + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.sh b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.sh new file mode 100644 index 000000000..2c3a6dbb5 --- /dev/null +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled3.sh @@ -0,0 +1,21 @@ +Rougail + +▌ 🛈 Informations +▌  +▌ This family is a namespace. +▌ Path: rougail +▌  basic  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Examples: │ +│ unique  │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier.adoc b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.adoc new file mode 100644 index 000000000..40ac6a05e --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.adoc @@ -0,0 +1,57 @@ +== Rougail + +==== +**🛈 Informations** + +This family is a namespace. + +**Path**: rougail + +`standard` + +==== + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A suffix variable. + +**Default**: + +* val1 +* val2 +|==== + +=== A dynamic family + +==== +**🛈 Informations** + +This family builds families dynamically. + +**Path**: + +* rougail.__val1___dyn +* rougail.__val2___dyn + +`standard` + +**Identifiers**: the value of the variable "a suffix variable" (rougail.var). + +==== + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.__val1___dyn.var1** + +**rougail.__val2___dyn.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is suffix for __val1__ or __val2__. + +**Default**: the value of the identifier. +| **rougail.__val1___dyn.var2** + +**rougail.__val2___dyn.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var3** + +**rougail.__val2___dyn.var3** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is relative first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var4** + +**rougail.__val2___dyn.var4** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable of val1. + +**Default**: the value of the variable "value is suffix for __val1__" (rougail.__val1___dyn.var1) +|==== \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier.html b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.html new file mode 100644 index 000000000..428b033db --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.html @@ -0,0 +1,30 @@ +

    Rougail

    + +This family is a namespace.
    Path: rougail
    standard + + + + + + + + +
    Variable Description
    rougail.var
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • +
    • val2
    + +

    A dynamic family

    + +This family builds families dynamically.
    Path:
    • rougail.val1_dyn
    • +
    • rougail.val2_dyn

    standard
    Identifiers: the value of the variable "a suffix variable" (rougail.var). + + + + + + + + + + + +
    Variable Description
    rougail.val1_dyn.var1
    rougail.val2_dyn.var1
    string standard mandatory
    Value is suffix for val1 or val2.
    Default: the value of the identifier.
    rougail.val1_dyn.var2
    rougail.val2_dyn.var2
    string standard mandatory
    Value is first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var3
    rougail.val2_dyn.var3
    string standard mandatory
    Value is relative first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var4
    rougail.val2_dyn.var4
    string standard mandatory
    Value is first variable of val1.
    Default: the value of the variable "value is suffix for val1" (rougail.val1_dyn.var1)
    \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier.json b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.json new file mode 100644 index 000000000..73c5f04aa --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.json @@ -0,0 +1,239 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "standard", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var": { + "path": "rougail.var", + "name": "var", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + }, + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1", + "val2" + ] + }, + "variable_type": "string", + "multiple": true + }, + "{{ identifier }}_dyn": { + "type": "dynamic", + "informations": { + "path": "rougail.{{ identifier }}_dyn", + "name": "{{ identifier }}_dyn", + "description": "A dynamic family", + "properties": [], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "help": [ + "This family builds families dynamically" + ], + "identifier": [ + { + "message": "the value of the variable {0}.", + "path": { + "path": "rougail.var", + "type": "variable" + }, + "description": "a suffix variable" + } + ] + }, + "children": { + "var1": { + "path": "rougail.{{ identifier }}_dyn.var1", + "name": "var1", + "description": "Value is suffix for {{ identifier }}.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": "the value of the identifier." + }, + "variable_type": "string" + }, + "var2": { + "path": "rougail.{{ identifier }}_dyn.var2", + "name": "var2", + "description": "Value is first variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "inside" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + }, + "var3": { + "path": "rougail.{{ identifier }}_dyn.var3", + "name": "var3", + "description": "Value is relative first variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "inside" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + }, + "var4": { + "path": "rougail.{{ identifier }}_dyn.var4", + "name": "var4", + "description": "Value is first variable of val1.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier.md b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.md new file mode 100644 index 000000000..dc0224418 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.md @@ -0,0 +1,30 @@ +# Rougail + +> [!NOTE] +> +> This family is a namespace.\ +> **Path**: rougail\ +> `standard` + +| Variable | Description | +|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------| +| **rougail.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | + +## A dynamic family + +> [!NOTE] +> +> This family builds families dynamically.\ +> **Path**: \ +> - rougail.*val1*_dyn\ + +> - rougail.*val2*_dyn\ +> `standard`\ +> **Identifiers**: the value of the variable "[a suffix variable](#rougail.var)". + +| Variable | Description | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.*val1*_dyn.var1**
    **rougail.*val2*_dyn.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is suffix for *val1* or *val2*.
    **Default**: the value of the identifier. | +| **rougail.*val1*_dyn.var2**
    **rougail.*val2*_dyn.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var3**
    **rougail.*val2*_dyn.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var4**
    **rougail.*val2*_dyn.var4**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable of val1.
    **Default**: the value of the variable "[value is suffix for *val1*](#rougail.:::identifier:::_dyn.var1)" | \ No newline at end of file diff --git a/tests/results/test_namespace/60_6family_dynamic_inside_identifier.sh b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.sh new file mode 100644 index 000000000..eef9078f4 --- /dev/null +++ b/tests/results/test_namespace/60_6family_dynamic_inside_identifier.sh @@ -0,0 +1,53 @@ +Rougail + +▌ 🛈 Informations +▌  +▌ This family is a namespace. +▌ Path: rougail +▌  standard  + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ mandatory   unique  │ • val1 │ +│ │ • val2 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + + A dynamic family + +▌ 🛈 Informations +▌  +▌ This family builds families dynamically. +▌ Path: +▌  • rougail.val1_dyn +▌  • rougail.val2_dyn +▌  standard  +▌ Identifiers: the value of the variable "a suffix variable" (rougail.var). + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.val1_dyn.var1 │ Value is suffix for val1 or val2. │ +│ rougail.val2_dyn.var1 │ Default: the value of the │ +│  string   standard   mandatory  │ identifier. │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var2 │ Value is first variable. │ +│ rougail.val2_dyn.var2 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var3 │ Value is relative first variable. │ +│ rougail.val2_dyn.var3 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var4 │ Value is first variable of val1. │ +│ rougail.val2_dyn.var4 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1" │ +│ │ (rougail.val1_dyn.var1) │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace/warnings_60_5family_dynamic_calc_suffix_disabled3 b/tests/results/test_namespace/warnings_60_5family_dynamic_calc_suffix_disabled3 new file mode 100644 index 000000000..08c4706c1 --- /dev/null +++ b/tests/results/test_namespace/warnings_60_5family_dynamic_calc_suffix_disabled3 @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.dyn{{ identifier }}\" in \"../../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled3/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.adoc index 394707dd3..f311be75a 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.adoc @@ -7,7 +7,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.gitlab.md index 7627b6d63..ada91d558 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.gitlab.md @@ -6,7 +6,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.html b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.html index 9522b8b17..73bfb8de5 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.html @@ -5,7 +5,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.md index bd6dc74b2..6c9a71423 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.md @@ -6,7 +6,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: val1 dynval2: diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.sh b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.sh index 76cbe29fe..cf6ae3afd 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier.sh @@ -5,7 +5,6 @@  var1:   - val1   - val2  - var2: val1   dynval1:   var: val1   dynval2:  diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.adoc index 905676092..caed2fe53 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.adoc @@ -7,7 +7,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md index 0d0568f9a..3ea004cec 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -6,7 +6,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.html index 23cc79d00..aada41f35 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.html @@ -5,7 +5,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.md index 530cf7665..3354dcec7 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.md @@ -6,7 +6,6 @@ rougail: var1: - val1 - val2 - var2: val1 dynval1: var: - val1 diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.sh index b8aecf9f3..76abac91a 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_identifier_multi.sh @@ -5,7 +5,6 @@  var1:   - val1   - val2  - var2: val1   dynval1:   var:   - val1  diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.adoc b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.adoc new file mode 100644 index 000000000..59bfe7e97 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.adoc @@ -0,0 +1,11 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: + var1: + - val1 + - val2 + var2: example +---- diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.gitlab.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.gitlab.md index aea35eaa0..bba94d153 100644 --- a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.gitlab.md +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.gitlab.md @@ -1,13 +1,3 @@ -
    Example with mandatory variables not filled in - -```yaml ---- -rougail: - var2: example -``` - -
    -
    Example with all variables modifiable ```yaml diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.html b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.html new file mode 100644 index 000000000..e20c3223a --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.html @@ -0,0 +1,8 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:
    +  var1:
    +    - val1
    +    - val2
    +  var2: example
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.md new file mode 100644 index 000000000..a6c431fb1 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.md @@ -0,0 +1,10 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + var1: + - val1 + - val2 + var2: example +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.sh b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.sh new file mode 100644 index 000000000..95f838525 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled2.sh @@ -0,0 +1,9 @@ +Example with all variables modifiable + +---  +rougail:  + var1:  + - val1  + - val2  + var2: example  + diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.adoc b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.adoc new file mode 100644 index 000000000..59bfe7e97 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.adoc @@ -0,0 +1,11 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: + var1: + - val1 + - val2 + var2: example +---- diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.gitlab.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.gitlab.md new file mode 100644 index 000000000..bba94d153 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.gitlab.md @@ -0,0 +1,12 @@ +
    Example with all variables modifiable + +```yaml +--- +rougail: + var1: + - val1 + - val2 + var2: example +``` + +
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.html b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.html new file mode 100644 index 000000000..e20c3223a --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.html @@ -0,0 +1,8 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:
    +  var1:
    +    - val1
    +    - val2
    +  var2: example
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.md b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.md new file mode 100644 index 000000000..a6c431fb1 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.md @@ -0,0 +1,10 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + var1: + - val1 + - val2 + var2: example +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.sh b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.sh new file mode 100644 index 000000000..95f838525 --- /dev/null +++ b/tests/results/test_namespace_examples/60_5family_dynamic_calc_suffix_disabled3.sh @@ -0,0 +1,9 @@ +Example with all variables modifiable + +---  +rougail:  + var1:  + - val1  + - val2  + var2: example  + diff --git a/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.adoc b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.adoc new file mode 100644 index 000000000..f8b3336b3 --- /dev/null +++ b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.adoc @@ -0,0 +1,20 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: + var: + - val1 + - val2 + val1_dyn: + var1: val1 + var2: val1 + var3: val1 + var4: val1 + val2_dyn: + var1: val2 + var2: val2 + var3: val2 + var4: val1 +---- diff --git a/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.html b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.html new file mode 100644 index 000000000..870598584 --- /dev/null +++ b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.html @@ -0,0 +1,17 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:
    +  var:
    +    - val1
    +    - val2
    +  val1_dyn:
    +    var1: val1
    +    var2: val1
    +    var3: val1
    +    var4: val1
    +  val2_dyn:
    +    var1: val2
    +    var2: val2
    +    var3: val2
    +    var4: val1
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.md b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.md new file mode 100644 index 000000000..b1287bcd6 --- /dev/null +++ b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.md @@ -0,0 +1,19 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + var: + - val1 + - val2 + val1_dyn: + var1: val1 + var2: val1 + var3: val1 + var4: val1 + val2_dyn: + var1: val2 + var2: val2 + var3: val2 + var4: val1 +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.sh b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.sh new file mode 100644 index 000000000..692d12dec --- /dev/null +++ b/tests/results/test_namespace_examples/60_6family_dynamic_inside_identifier.sh @@ -0,0 +1,18 @@ +Example with all variables modifiable + +---  +rougail:  + var:  + - val1  + - val2  + val1_dyn:  + var1: val1  + var2: val1  + var3: val1  + var4: val1  + val2_dyn:  + var1: val2  + var2: val2  + var3: val2  + var4: val1  + diff --git a/tests/results/test_namespace_examples/warnings_60_5family_dynamic_calc_suffix_disabled3 b/tests/results/test_namespace_examples/warnings_60_5family_dynamic_calc_suffix_disabled3 new file mode 100644 index 000000000..08c4706c1 --- /dev/null +++ b/tests/results/test_namespace_examples/warnings_60_5family_dynamic_calc_suffix_disabled3 @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.dyn{{ identifier }}\" in \"../../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled3/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.adoc index c6784b8d2..9d51f2d26 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.adoc @@ -7,7 +7,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md index 2cca012f5..81f817af1 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.gitlab.md @@ -6,7 +6,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.html b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.html index 43dc13639..f247ac9d2 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.html @@ -5,7 +5,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.md index dff7617fe..ffd3ec56f 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.md @@ -6,7 +6,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: val1 # A dynamic variable dynval2: diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.sh b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.sh index 271398466..634fee0d5 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier.sh @@ -5,7 +5,6 @@  var1: # A suffix variable   - val1   - val2  - var2: val1 # A suffix variable2   dynval1:   var: val1 # A dynamic variable   dynval2:  diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc index de390dc68..a738a4246 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.adoc @@ -7,7 +7,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md index 025044b3e..e3f156323 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -6,7 +6,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.html index 2cd1fa346..359bba143 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.html @@ -5,7 +5,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.md index c9b231775..d21a7a27e 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.md @@ -6,7 +6,6 @@ rougail: # Rougail var1: # A suffix variable - val1 - val2 - var2: val1 # A suffix variable2 dynval1: var: # A dynamic variable - val1 diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.sh index 41147e5c0..79dc5f452 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_identifier_multi.sh @@ -5,7 +5,6 @@  var1: # A suffix variable   - val1   - val2  - var2: val1 # A suffix variable2   dynval1:   var: # A dynamic variable   - val1  diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.adoc b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.adoc new file mode 100644 index 000000000..edae58d9c --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.adoc @@ -0,0 +1,11 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + var1: # A suffix variable + - val1 + - val2 + var2: example # A variable calculated +---- diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.gitlab.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.gitlab.md index e92e75b9b..2fceeea29 100644 --- a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.gitlab.md +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.gitlab.md @@ -1,13 +1,3 @@ -
    Example with mandatory variables not filled in - -```yaml ---- -rougail: # Rougail - var2: example # A variable calculated -``` - -
    -
    Example with all variables modifiable ```yaml diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.html b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.html new file mode 100644 index 000000000..b6a0ab0d4 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.html @@ -0,0 +1,8 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:                      # Rougail
    +  var1:                       # A suffix variable
    +    - val1
    +    - val2
    +  var2: example               # A variable calculated
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.md new file mode 100644 index 000000000..20393edbc --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.md @@ -0,0 +1,10 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + var1: # A suffix variable + - val1 + - val2 + var2: example # A variable calculated +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.sh b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.sh new file mode 100644 index 000000000..c270d03ce --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled2.sh @@ -0,0 +1,9 @@ +Example with all variables modifiable + +---  +rougail: # Rougail  + var1: # A suffix variable  + - val1  + - val2  + var2: example # A variable calculated  + diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.adoc b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.adoc new file mode 100644 index 000000000..edae58d9c --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.adoc @@ -0,0 +1,11 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + var1: # A suffix variable + - val1 + - val2 + var2: example # A variable calculated +---- diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.gitlab.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.gitlab.md new file mode 100644 index 000000000..2fceeea29 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.gitlab.md @@ -0,0 +1,12 @@ +
    Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + var1: # A suffix variable + - val1 + - val2 + var2: example # A variable calculated +``` + +
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.html b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.html new file mode 100644 index 000000000..b6a0ab0d4 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.html @@ -0,0 +1,8 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:                      # Rougail
    +  var1:                       # A suffix variable
    +    - val1
    +    - val2
    +  var2: example               # A variable calculated
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.md b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.md new file mode 100644 index 000000000..20393edbc --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.md @@ -0,0 +1,10 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + var1: # A suffix variable + - val1 + - val2 + var2: example # A variable calculated +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.sh b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.sh new file mode 100644 index 000000000..c270d03ce --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_5family_dynamic_calc_suffix_disabled3.sh @@ -0,0 +1,9 @@ +Example with all variables modifiable + +---  +rougail: # Rougail  + var1: # A suffix variable  + - val1  + - val2  + var2: example # A variable calculated  + diff --git a/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.adoc b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.adoc new file mode 100644 index 000000000..9fe030025 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.adoc @@ -0,0 +1,20 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + var: # A suffix variable + - val1 + - val2 + val1_dyn: # A dynamic family + var1: val1 # Value is suffix for val1 + var2: val1 # Value is first variable + var3: val1 # Value is relative first variable + var4: val1 # Value is first variable of val1 + val2_dyn: # A dynamic family + var1: val2 # Value is suffix for val2 + var2: val2 # Value is first variable + var3: val2 # Value is relative first variable + var4: val1 # Value is first variable of val1 +---- diff --git a/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.html b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.html new file mode 100644 index 000000000..6dd259f7c --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.html @@ -0,0 +1,17 @@ +

    Example with all variables modifiable

    + +
    ---
    +rougail:                      # Rougail
    +  var:                        # A suffix variable
    +    - val1
    +    - val2
    +  val1_dyn:                   # A dynamic family
    +    var1: val1                # Value is suffix for val1
    +    var2: val1                # Value is first variable
    +    var3: val1                # Value is relative first variable
    +    var4: val1                # Value is first variable of val1
    +  val2_dyn:                   # A dynamic family
    +    var1: val2                # Value is suffix for val2
    +    var2: val2                # Value is first variable
    +    var3: val2                # Value is relative first variable
    +    var4: val1                # Value is first variable of val1
    \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.md b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.md new file mode 100644 index 000000000..23006daaa --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.md @@ -0,0 +1,19 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + var: # A suffix variable + - val1 + - val2 + val1_dyn: # A dynamic family + var1: val1 # Value is suffix for val1 + var2: val1 # Value is first variable + var3: val1 # Value is relative first variable + var4: val1 # Value is first variable of val1 + val2_dyn: # A dynamic family + var1: val2 # Value is suffix for val2 + var2: val2 # Value is first variable + var3: val2 # Value is relative first variable + var4: val1 # Value is first variable of val1 +``` \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.sh b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.sh new file mode 100644 index 000000000..b1a408f34 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/60_6family_dynamic_inside_identifier.sh @@ -0,0 +1,18 @@ +Example with all variables modifiable + +---  +rougail: # Rougail  + var: # A suffix variable  + - val1  + - val2  + val1_dyn: # A dynamic family  + var1: val1 # Value is suffix for val1  + var2: val1 # Value is first variable  + var3: val1 # Value is relative first variable  + var4: val1 # Value is first variable of val1  + val2_dyn: # A dynamic family  + var1: val2 # Value is suffix for val2  + var2: val2 # Value is first variable  + var3: val2 # Value is relative first variable  + var4: val1 # Value is first variable of val1  + diff --git a/tests/results/test_namespace_examples_comment/warnings_60_5family_dynamic_calc_suffix_disabled3 b/tests/results/test_namespace_examples_comment/warnings_60_5family_dynamic_calc_suffix_disabled3 new file mode 100644 index 000000000..08c4706c1 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/warnings_60_5family_dynamic_calc_suffix_disabled3 @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.dyn{{ identifier }}\" in \"../../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled3/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.adoc index 746dfc404..bc0a4e7a7 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **rougail.dyn__val1__.var** + **rougail.dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A dynamic variable. + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.adoc index 2a5220be0..38ba1f989 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.adoc +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.adoc @@ -9,9 +9,6 @@ * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **rougail.dyn__val1__.var** + **rougail.dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A dynamic variable. + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md index e505a7a41..98a6dd5f6 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md @@ -3,7 +3,6 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.html index 5a6555cfb..ba4eb7333 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.html +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.html @@ -7,7 +7,6 @@ rougail.var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -rougail.var2
    string standard mandatory A suffix variable2.
    Default: val1 rougail.dynval1.var
    rougail.dynval2.var
    string standard mandatoryA dynamic variable.
    Default: the value of the identifier. rougail.var3
    string standard mandatory A variable calculated.
    Default:
    • the value of the variable "A dynamic variable" (rougail.dynval1.var)
    • the value of the variable "A dynamic variable" (rougail.dynval2.var)
    diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.md index c5e717a8d..a57ab04a6 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.md @@ -3,6 +3,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.sh index ac9cbb881..40b24d1ee 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.changelog.sh @@ -8,9 +8,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Default: the value of the │ │  string   standard   mandatory  │ identifier. │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.gitlab.md index 9117bb7ae..244c07e6e 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.gitlab.md @@ -1,6 +1,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.html index b9016ca66..0c3bc90cf 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.html @@ -5,7 +5,6 @@ rougail.var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -rougail.var2
    string standard mandatory A suffix variable2.
    Default: val1 rougail.dynval1.var
    rougail.dynval2.var
    string standard mandatoryA dynamic variable.
    Default: the value of the identifier. rougail.var3
    string standard mandatory A variable calculated.
    Default:
    • the value of the variable "A dynamic variable" (rougail.dynval1.var)
    • the value of the variable "A dynamic variable" (rougail.dynval2.var)
    diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.json b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.json index 2f26e73bd..b73700da8 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.json +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.json @@ -42,26 +42,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "rougail.var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.md index 9117bb7ae..244c07e6e 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.md @@ -1,6 +1,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.sh index 76d992645..e25922b21 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier.sh @@ -6,9 +6,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Default: the value of the │ │  string   standard   mandatory  │ identifier. │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.adoc index 9cbcb23d9..77a9bd945 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **rougail.dyn__val1__.var** + **rougail.dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A dynamic variable. + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc index 8ca04082d..c7f30b7c7 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc @@ -9,9 +9,6 @@ * val1 * val2 -| **rougail.var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **rougail.dyn__val1__.var** + **rougail.dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A dynamic variable. + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md index 9909a03d8..5d1830b30 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md @@ -3,7 +3,6 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html index d85ffb144..f6cc02cd2 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html @@ -7,7 +7,6 @@ rougail.var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -rougail.var2
    string standard mandatory A suffix variable2.
    Default: val1 rougail.dynval1.var
    rougail.dynval2.var
    string multiple standard mandatory uniqueA dynamic variable.
    Default:
    • the value of the identifier
    rougail.var3
    string multiple standard mandatory unique A variable calculated.
    Default:
    • the value of the variable "A dynamic variable" (rougail.dynval1.var)
    • the value of the variable "A dynamic variable" (rougail.dynval2.var)
    diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md index 141af68c3..36fdac32a 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md @@ -3,6 +3,5 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh index 85ec28c63..f59007e12 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh @@ -8,9 +8,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Default: │ │  string   multiple   standard    │ • the value of the identifier │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md index 0e71edece..b242ffe17 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -1,6 +1,5 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.html index 7d3f16bfa..d5e3f8a76 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.html @@ -5,7 +5,6 @@ rougail.var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -rougail.var2
    string standard mandatory A suffix variable2.
    Default: val1 rougail.dynval1.var
    rougail.dynval2.var
    string multiple standard mandatory uniqueA dynamic variable.
    Default:
    • the value of the identifier
    rougail.var3
    string multiple standard mandatory unique A variable calculated.
    Default:
    • the value of the variable "A dynamic variable" (rougail.dynval1.var)
    • the value of the variable "A dynamic variable" (rougail.dynval2.var)
    diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.json b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.json index 3bdce0212..9beb99aa8 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.json +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.json @@ -42,26 +42,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "rougail.var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.md index 0e71edece..b242ffe17 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.md @@ -1,6 +1,5 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **rougail.dyn*val1*.var**
    **rougail.dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **rougail.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**:
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)"
    • the value of the variable "[A dynamic variable](#rougail.dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.sh index 3a3c85f44..97576201d 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_identifier_multi.sh @@ -6,9 +6,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ rougail.var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Default: │ │  string   multiple   standard    │ • the value of the identifier │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.adoc new file mode 100644 index 000000000..49a83adb7 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.adoc @@ -0,0 +1,17 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Default**: + +* val1 + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.adoc new file mode 100644 index 000000000..1d63e74e2 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.adoc @@ -0,0 +1,19 @@ +== New variables + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Default**: + +* val1 + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.gitlab.md index e82152034..6d36f0721 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.gitlab.md @@ -3,6 +3,6 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of an undocumented variable | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable |
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.html new file mode 100644 index 000000000..19beacbc9 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.html @@ -0,0 +1,12 @@ +

    New variables

    + + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Default:
    • val1

    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.md new file mode 100644 index 000000000..bc555593a --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.md @@ -0,0 +1,6 @@ +# New variables + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.sh new file mode 100644 index 000000000..4e986af00 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.changelog.sh @@ -0,0 +1,17 @@ +New variables + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ unique  │ • val1 │ +│ │ Examples: │ +│ │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.gitlab.md index e4c0802a5..3c41ac808 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.gitlab.md +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.gitlab.md @@ -1,4 +1,4 @@ | Variable | Description | |-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| | **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | -| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.html new file mode 100644 index 000000000..49c5ae980 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.html @@ -0,0 +1,10 @@ + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Default:
    • val1

    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.json b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.json new file mode 100644 index 000000000..7503cf63e --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.json @@ -0,0 +1,72 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "basic", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var1": { + "path": "rougail.var1", + "name": "var1", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1" + ] + }, + "variable_type": "string", + "multiple": true, + "examples": { + "name": "Examples", + "values": [ + "val1", + "val2" + ] + } + }, + "var2": { + "path": "rougail.var2", + "name": "var2", + "description": "A variable calculated.", + "properties": [], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of an undocumented variable", + "path": { + "path": "rougail.dyn{{ identifier }}.var", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "A dynamic variable" + } + }, + "variable_type": "string" + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.md new file mode 100644 index 000000000..3c41ac808 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.md @@ -0,0 +1,4 @@ +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Default**:
    • val1
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.sh new file mode 100644 index 000000000..e3b0e13d8 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled2.sh @@ -0,0 +1,15 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ unique  │ • val1 │ +│ │ Examples: │ +│ │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.adoc new file mode 100644 index 000000000..ecff02606 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.adoc @@ -0,0 +1,13 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.adoc b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.adoc new file mode 100644 index 000000000..92432a0c4 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.adoc @@ -0,0 +1,15 @@ +== New variables + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `unique` | A suffix variable. + +**Examples**: + +* val1 +* val2 +| **rougail.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` | A variable calculated. + +**Default**: the value of an undocumented variable +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.gitlab.md new file mode 100644 index 000000000..5c4fb2ea5 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.gitlab.md @@ -0,0 +1,8 @@ +
    New variables + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | + +
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.html new file mode 100644 index 000000000..3409a444f --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.html @@ -0,0 +1,12 @@ +

    New variables

    + + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.md new file mode 100644 index 000000000..e138ac6bb --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.md @@ -0,0 +1,6 @@ +# New variables + +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.sh new file mode 100644 index 000000000..0b6df24c3 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.changelog.sh @@ -0,0 +1,15 @@ +New variables + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Examples: │ +│ unique  │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.gitlab.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.gitlab.md new file mode 100644 index 000000000..1bb13841e --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.html b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.html new file mode 100644 index 000000000..a8e55f3f8 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.html @@ -0,0 +1,10 @@ + + + + + + + + +
    Variable Description
    rougail.var1
    string multiple standard unique
    A suffix variable.
    Examples:
    • val1
    • +
    • val2
    rougail.var2
    string standard
    A variable calculated.
    Default: the value of an undocumented variable
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.json b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.json new file mode 100644 index 000000000..e337c244b --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.json @@ -0,0 +1,66 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "basic", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var1": { + "path": "rougail.var1", + "name": "var1", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "variable_type": "string", + "multiple": true, + "examples": { + "name": "Examples", + "values": [ + "val1", + "val2" + ] + } + }, + "var2": { + "path": "rougail.var2", + "name": "var2", + "description": "A variable calculated.", + "properties": [], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of an undocumented variable", + "path": { + "path": "rougail.dyn{{ identifier }}.var", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "A dynamic variable" + } + }, + "variable_type": "string" + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.md b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.md new file mode 100644 index 000000000..1bb13841e --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.md @@ -0,0 +1,4 @@ +| Variable | Description | +|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| +| **rougail.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `unique` | A suffix variable.
    **Examples**:
    • val1
    • val2 | +| **rougail.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | A variable calculated.
    **Default**: the value of an undocumented variable | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.sh new file mode 100644 index 000000000..72d1076c8 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled3.sh @@ -0,0 +1,13 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var1 │ A suffix variable. │ +│  string   multiple   standard    │ Examples: │ +│ unique  │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.var2 │ A variable calculated. │ +│  string   standard  │ Default: the value of an │ +│ │ undocumented variable │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.adoc b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.adoc new file mode 100644 index 000000000..0310673d3 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.adoc @@ -0,0 +1,26 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A suffix variable. + +**Default**: + +* val1 +* val2 +| **rougail.__val1___dyn.var1** + +**rougail.__val2___dyn.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is suffix for __val1__ or __val2__. + +**Default**: the value of the identifier. +| **rougail.__val1___dyn.var2** + +**rougail.__val2___dyn.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var3** + +**rougail.__val2___dyn.var3** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is relative first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var4** + +**rougail.__val2___dyn.var4** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable of val1. + +**Default**: the value of the variable "value is suffix for __val1__" (rougail.__val1___dyn.var1) +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.adoc b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.adoc new file mode 100644 index 000000000..9b5311401 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.adoc @@ -0,0 +1,28 @@ +== New variables + +[cols="1a,1a"] +|==== +| Variable | Description +| **rougail.var** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A suffix variable. + +**Default**: + +* val1 +* val2 +| **rougail.__val1___dyn.var1** + +**rougail.__val2___dyn.var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is suffix for __val1__ or __val2__. + +**Default**: the value of the identifier. +| **rougail.__val1___dyn.var2** + +**rougail.__val2___dyn.var2** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var3** + +**rougail.__val2___dyn.var3** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is relative first variable. + +**Default**: the value of the variable "value is suffix for __val1__ or __val2__" (rougail.__val1___dyn.var1 or rougail.__val2___dyn.var1) +| **rougail.__val1___dyn.var4** + +**rougail.__val2___dyn.var4** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | Value is first variable of val1. + +**Default**: the value of the variable "value is suffix for __val1__" (rougail.__val1___dyn.var1) +|==== \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.html b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.html new file mode 100644 index 000000000..db2c2e3a3 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.html @@ -0,0 +1,15 @@ +

    New variables

    + + + + + + + + + + + + +
    Variable Description
    rougail.var
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • +
    • val2
    rougail.val1_dyn.var1
    rougail.val2_dyn.var1
    string standard mandatory
    Value is suffix for val1 or val2.
    Default: the value of the identifier.
    rougail.val1_dyn.var2
    rougail.val2_dyn.var2
    string standard mandatory
    Value is first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var3
    rougail.val2_dyn.var3
    string standard mandatory
    Value is relative first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var4
    rougail.val2_dyn.var4
    string standard mandatory
    Value is first variable of val1.
    Default: the value of the variable "value is suffix for val1" (rougail.val1_dyn.var1)
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.md b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.md new file mode 100644 index 000000000..330d152ba --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.md @@ -0,0 +1,9 @@ +# New variables + +| Variable | Description | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | +| **rougail.*val1*_dyn.var1**
    **rougail.*val2*_dyn.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is suffix for *val1* or *val2*.
    **Default**: the value of the identifier. | +| **rougail.*val1*_dyn.var2**
    **rougail.*val2*_dyn.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var3**
    **rougail.*val2*_dyn.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var4**
    **rougail.*val2*_dyn.var4**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable of val1.
    **Default**: the value of the variable "[value is suffix for *val1*](#rougail.:::identifier:::_dyn.var1)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.sh b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.sh new file mode 100644 index 000000000..f4e578951 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.changelog.sh @@ -0,0 +1,32 @@ +New variables + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ mandatory   unique  │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var1 │ Value is suffix for val1 or val2. │ +│ rougail.val2_dyn.var1 │ Default: the value of the │ +│  string   standard   mandatory  │ identifier. │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var2 │ Value is first variable. │ +│ rougail.val2_dyn.var2 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var3 │ Value is relative first variable. │ +│ rougail.val2_dyn.var3 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var4 │ Value is first variable of val1. │ +│ rougail.val2_dyn.var4 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1" │ +│ │ (rougail.val1_dyn.var1) │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.html b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.html new file mode 100644 index 000000000..7ac53fde5 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.html @@ -0,0 +1,13 @@ + + + + + + + + + + + +
    Variable Description
    rougail.var
    string multiple standard mandatory unique
    A suffix variable.
    Default:
    • val1
    • +
    • val2
    rougail.val1_dyn.var1
    rougail.val2_dyn.var1
    string standard mandatory
    Value is suffix for val1 or val2.
    Default: the value of the identifier.
    rougail.val1_dyn.var2
    rougail.val2_dyn.var2
    string standard mandatory
    Value is first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var3
    rougail.val2_dyn.var3
    string standard mandatory
    Value is relative first variable.
    Default: the value of the variable "value is suffix for val1 or val2" (rougail.val1_dyn.var1 or rougail.val2_dyn.var1)
    rougail.val1_dyn.var4
    rougail.val2_dyn.var4
    string standard mandatory
    Value is first variable of val1.
    Default: the value of the variable "value is suffix for val1" (rougail.val1_dyn.var1)
    \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.json b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.json new file mode 100644 index 000000000..73c5f04aa --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.json @@ -0,0 +1,239 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "name": "rougail", + "description": "Rougail", + "properties": [], + "mode": "standard", + "help": [ + "This family is a namespace" + ] + }, + "children": { + "var": { + "path": "rougail.var", + "name": "var", + "description": "A suffix variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + }, + { + "type": "property", + "name": "unique", + "ori_name": "unique", + "access_control": false + } + ], + "mode": "standard", + "type": "variable", + "default": { + "name": "Default", + "values": [ + "val1", + "val2" + ] + }, + "variable_type": "string", + "multiple": true + }, + "{{ identifier }}_dyn": { + "type": "dynamic", + "informations": { + "path": "rougail.{{ identifier }}_dyn", + "name": "{{ identifier }}_dyn", + "description": "A dynamic family", + "properties": [], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "help": [ + "This family builds families dynamically" + ], + "identifier": [ + { + "message": "the value of the variable {0}.", + "path": { + "path": "rougail.var", + "type": "variable" + }, + "description": "a suffix variable" + } + ] + }, + "children": { + "var1": { + "path": "rougail.{{ identifier }}_dyn.var1", + "name": "var1", + "description": "Value is suffix for {{ identifier }}.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": "the value of the identifier." + }, + "variable_type": "string" + }, + "var2": { + "path": "rougail.{{ identifier }}_dyn.var2", + "name": "var2", + "description": "Value is first variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "inside" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + }, + "var3": { + "path": "rougail.{{ identifier }}_dyn.var3", + "name": "var3", + "description": "Value is relative first variable.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "inside" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + }, + "var4": { + "path": "rougail.{{ identifier }}_dyn.var4", + "name": "var4", + "description": "Value is first variable of val1.", + "properties": [ + { + "type": "property", + "name": "mandatory", + "ori_name": "mandatory", + "access_control": false + } + ], + "mode": "standard", + "identifiers": [ + [ + "val1" + ], + [ + "val2" + ] + ], + "identifier_type": "many", + "type": "variable", + "default": { + "name": "Default", + "values": { + "message": "the value of the variable {0}", + "path": { + "path": "rougail.{{ identifier }}_dyn.var1", + "identifiers": [ + [ + "val1" + ] + ], + "identifier_type": "one" + }, + "description": "value is suffix for {{ identifier }}" + } + }, + "variable_type": "string" + } + } + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.md b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.md new file mode 100644 index 000000000..dfc979465 --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.md @@ -0,0 +1,7 @@ +| Variable | Description | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | +| **rougail.*val1*_dyn.var1**
    **rougail.*val2*_dyn.var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is suffix for *val1* or *val2*.
    **Default**: the value of the identifier. | +| **rougail.*val1*_dyn.var2**
    **rougail.*val2*_dyn.var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var3**
    **rougail.*val2*_dyn.var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is relative first variable.
    **Default**: the value of the variable "[value is suffix for *val1* or *val2*](#rougail.:::identifier:::_dyn.var1)" | +| **rougail.*val1*_dyn.var4**
    **rougail.*val2*_dyn.var4**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | Value is first variable of val1.
    **Default**: the value of the variable "[value is suffix for *val1*](#rougail.:::identifier:::_dyn.var1)" | \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.sh b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.sh new file mode 100644 index 000000000..af90b951a --- /dev/null +++ b/tests/results/test_namespace_without_family/60_6family_dynamic_inside_identifier.sh @@ -0,0 +1,30 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.var │ A suffix variable. │ +│  string   multiple   standard    │ Default: │ +│ mandatory   unique  │ • val1 │ +│ │ • val2 │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var1 │ Value is suffix for val1 or val2. │ +│ rougail.val2_dyn.var1 │ Default: the value of the │ +│  string   standard   mandatory  │ identifier. │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var2 │ Value is first variable. │ +│ rougail.val2_dyn.var2 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var3 │ Value is relative first variable. │ +│ rougail.val2_dyn.var3 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1 or val2" │ +│ │ (rougail.val1_dyn.var1 or │ +│ │ rougail.val2_dyn.var1) │ +├───────────────────────────────────────┼──────────────────────────────────────┤ +│ rougail.val1_dyn.var4 │ Value is first variable of val1. │ +│ rougail.val2_dyn.var4 │ Default: the value of the variable │ +│  string   standard   mandatory  │ "value is suffix for val1" │ +│ │ (rougail.val1_dyn.var1) │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/warnings_60_5family_dynamic_calc_suffix_disabled3 b/tests/results/test_namespace_without_family/warnings_60_5family_dynamic_calc_suffix_disabled3 new file mode 100644 index 000000000..08c4706c1 --- /dev/null +++ b/tests/results/test_namespace_without_family/warnings_60_5family_dynamic_calc_suffix_disabled3 @@ -0,0 +1 @@ +["No attribute \"description\" for \"rougail.dyn{{ identifier }}\" in \"../../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled3/rougail/00-base.yml\""] \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.adoc b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.adoc index a0279339a..902e13889 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.adoc +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **dyn__val1__.var** + **dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A dynamic variable. + diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.adoc b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.adoc index 4c9440a0d..448663eca 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.adoc +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.adoc @@ -9,9 +9,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **dyn__val1__.var** + **dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A dynamic variable. + diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md index 3ab6fda38..92d58d3ea 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.gitlab.md @@ -3,7 +3,6 @@ | Variable | Description | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.html b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.html index 9ebfa8eea..a1513267e 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.html +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.html @@ -7,7 +7,6 @@ var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -var2
    string standard mandatory A suffix variable2.
    Default: val1 dynval1.var
    dynval2.var
    string standard mandatoryA dynamic variable.
    Default: the value of the identifier. var3
    string standard mandatory A variable calculated.
    Default: the value of the variable "A dynamic variable" (dynval1.var or dynval2.var) diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.md index bbf7708c6..6716fcf99 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.md @@ -3,6 +3,5 @@ | Variable | Description | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.sh b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.sh index 7ca09b37f..79aef99af 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.changelog.sh @@ -8,9 +8,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Default: the value of the │ │  string   standard   mandatory  │ identifier. │ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.gitlab.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.gitlab.md index 04ec825a6..8080f9693 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.gitlab.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.gitlab.md @@ -1,6 +1,5 @@ | Variable | Description | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.html b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.html index 72cdcd23e..0b0ce33f3 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.html +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.html @@ -5,7 +5,6 @@ var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -var2
    string standard mandatory A suffix variable2.
    Default: val1 dynval1.var
    dynval2.var
    string standard mandatoryA dynamic variable.
    Default: the value of the identifier. var3
    string standard mandatory A variable calculated.
    Default: the value of the variable "A dynamic variable" (dynval1.var or dynval2.var) diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.json b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.json index 498d47e75..7eff83904 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.json +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.json @@ -29,26 +29,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.md index 04ec825a6..8080f9693 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.md @@ -1,6 +1,5 @@ | Variable | Description | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A dynamic variable.
    **Default**: the value of the identifier. | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.sh b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.sh index a5f196195..7ab1ad6a1 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier.sh @@ -6,9 +6,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Default: the value of the │ │  string   standard   mandatory  │ identifier. │ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.adoc b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.adoc index f72ea981d..b57299da0 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.adoc +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.adoc @@ -7,9 +7,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **dyn__val1__.var** + **dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A dynamic variable. + diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc index 3d18b3c4e..388d135d2 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.adoc @@ -9,9 +9,6 @@ * val1 * val2 -| **var2** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` | A suffix variable2. + -**Default**: val1 | **dyn__val1__.var** + **dyn__val2__.var** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `multiple` `standard` `mandatory` `unique` | A dynamic variable. + diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md index 67ec56c11..d87a1dd05 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.gitlab.md @@ -3,7 +3,6 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html index f9a208169..db488f58a 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.html @@ -7,7 +7,6 @@ var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -var2
    string standard mandatory A suffix variable2.
    Default: val1 dynval1.var
    dynval2.var
    string multiple standard mandatory uniqueA dynamic variable.
    Default:
    • the value of the identifier
    var3
    string multiple standard mandatory unique A variable calculated.
    Default: the value of the variable "A dynamic variable" (dynval1.var or dynval2.var) diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md index ce96d476c..90afe99ed 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.md @@ -3,6 +3,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh index 912ced507..a2b78fa61 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.changelog.sh @@ -8,9 +8,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Default: │ │  string   multiple   standard    │ • the value of the identifier │ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md index 2ef612022..7415a5c46 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.gitlab.md @@ -1,6 +1,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.html b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.html index dd80ef717..3a91ce0e7 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.html +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.html @@ -5,7 +5,6 @@ var1
    string multiple standard mandatory unique A suffix variable.
    Default:
    • val1
    • val2
    -var2
    string standard mandatory A suffix variable2.
    Default: val1 dynval1.var
    dynval2.var
    string multiple standard mandatory uniqueA dynamic variable.
    Default:
    • the value of the identifier
    var3
    string multiple standard mandatory unique A variable calculated.
    Default: the value of the variable "A dynamic variable" (dynval1.var or dynval2.var) diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.json b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.json index 1bca1278c..163cd7d6e 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.json +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.json @@ -29,26 +29,6 @@ "variable_type": "string", "multiple": true }, - "var2": { - "path": "var2", - "name": "var2", - "description": "A suffix variable2.", - "properties": [ - { - "type": "property", - "name": "mandatory", - "ori_name": "mandatory", - "access_control": false - } - ], - "mode": "standard", - "type": "variable", - "default": { - "name": "Default", - "values": "val1" - }, - "variable_type": "string" - }, "dyn{{ identifier }}": { "type": "dynamic", "informations": { diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.md b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.md index 2ef612022..7415a5c46 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.md +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.md @@ -1,6 +1,5 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| | **var1**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A suffix variable.
    **Default**:
    • val1
    • val2 | -| **var2**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A suffix variable2.
    **Default**: val1 | | **dyn*val1*.var**
    **dyn*val2*.var**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A dynamic variable.
    **Default**:
    • the value of the identifier | | **var3**
    [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `multiple` `standard` `mandatory` `unique` | A variable calculated.
    **Default**: the value of the variable "[A dynamic variable](#dyn:::identifier:::.var)" | \ No newline at end of file diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.sh b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.sh index 98ac1c745..963398630 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_identifier_multi.sh @@ -6,9 +6,6 @@ │ mandatory   unique  │ • val1 │ │ │ • val2 │ ├───────────────────────────────────────┼──────────────────────────────────────┤ -│ var2 │ A suffix variable2. │ -│  string   standard   mandatory  │ Default: val1 │ -├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Default: │ │  string   multiple   standard    │ • the value of the identifier │ diff --git a/tests/test_load.py b/tests/test_load.py index d4505a401..9a822eea7 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -16,14 +16,12 @@ HERE = Path(__file__).parent excludes = [] -excludes = [ -] if WITH_DONE: test_ok = get_structures_list(excludes, HERE) else: test_ok = get_structures_list(excludes) -# test_ok = [HERE.parent.parent / "rougail-tests" / "structures" / "60_5family_dynamic_calc_description"] +# test_ok = [HERE.parent.parent / "rougail-tests" / "structures" / "60_5family_dynamic_calc_suffix_disabled3"] os.environ['COLUMNS'] = '80' @@ -41,7 +39,7 @@ EXT = {'json': 'json', 'github': 'md', 'asciidoc': 'adoc', 'console': 'sh', 'git #EXT = {'console': 'sh'} #EXT = {'html': 'html'} #EXT = {'github': 'md'} -EXT = {'gitlab': 'gitlab.md'} +#EXT = {'gitlab': 'gitlab.md'} def gen_cases(ext_name):