diff --git a/README.md b/README.md index 3cd3a7f7..79fef507 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ - [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md) -- [[tutorial v1.1_003] Set a default value](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_003/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_003~1..v1.1_003)) +- [[tutorial v1.1_004] Limits the possible values for the variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_004/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_004~1..v1.1_004)) -# [tutorial v1.1_004)] Limits the possible values for the variable +# [tutorial v1.1_010)] Creating a new family -[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_004~1..v1.1_004) +[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_010~1..v1.1_010) ## Screenshot @@ -29,7 +29,7 @@ pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user- Then switch to the tutorial page: ```shell -git switch --detach v1.1_004 +git switch --detach v1.1_010 ``` ## Structure @@ -37,27 +37,22 @@ git switch --detach v1.1_004
-.
- └── firefox
- └── 00-proxy.yml
+.
+ └── firefox
+ ├── 00-proxy.yml
+ └── 10-manual.yml
╭─────── Caption ────────╮ -│ Variable Default value │ -╰────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy --### Example 2 - -#### config/02/config.yml - - -```yml ---- -proxy_mode: No proxy -``` -#### Output - -```shell -rougail -m firefox/ -u yaml -yf config/02/config.yml -``` -
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ -│ (⏳ Original default value) │ -╰──────────────────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" (⏳ No proxy) --### Example 3 - -#### config/03/config.yml - - -```yml ---- -proxy_mode: Manual proxy configuration -``` -#### Output - -```shell -rougail -m firefox/ -u yaml -yf config/03/config.yml -``` -
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ -│ (⏳ Original default value) │ -╰──────────────────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: Manual proxy configuration ◀ loaded from the YAML file "config/03/config.yml" (⏳ No proxy) --### Example 4 - -#### config/04/config.yml - - -```yml ---- -proxy_mode: foo -``` -#### Output - -```shell -rougail -m firefox/ -u yaml -yf config/04/config.yml -``` -
🔔 WARNINGS -┗━━ the value "foo" is an invalid choice for "proxy_mode" (Configure Proxy Access to the Internet), only "Auto-detect proxy settings for this network", "Automatic proxy configuration URL", "Manual proxy - configuration", "No proxy" and "Use system proxy settings" are allowed, it will be ignored when loading from the YAML file "config/04/config.yml" -╭─────── Caption ────────╮ -│ Variable Default value │ -╰────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy --#### Output when invalid user datas is an error - -```shell -rougail -m firefox/ -u yaml -yf config/04/config.yml --cli.invalid_user_datas_error -``` -
🛑 ERRORS -┗━━ the value "foo" is an invalid choice for "proxy_mode" (Configure Proxy Access to the Internet), only "Auto-detect proxy settings for this network", "Automatic proxy configuration URL", "Manual proxy - configuration", "No proxy" and "Use system proxy settings" are allowed, it will be ignored when loading from the YAML file "config/04/config.yml" -- - -- [[tutorial v1.1_010] Creating a new family](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_010/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_010~1..v1.1_010)) +- [[tutorial v1.1_011] Or a sub family](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_011/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_011~1..v1.1_011)) diff --git a/config/01/cmd_ro.txt b/config/01/cmd_ro.txt deleted file mode 100644 index d46f9445..00000000 --- a/config/01/cmd_ro.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/01/config.yml \ No newline at end of file diff --git a/config/01/config.yml b/config/01/config.yml deleted file mode 100644 index ed97d539..00000000 --- a/config/01/config.yml +++ /dev/null @@ -1 +0,0 @@ ---- diff --git a/config/01/output_ro.html b/config/01/output_ro.html deleted file mode 100644 index ea9c2266..00000000 --- a/config/01/output_ro.html +++ /dev/null @@ -1,6 +0,0 @@ -
╭─────── Caption ────────╮ -│ Variable Default value │ -╰────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy -diff --git a/config/02/cmd_ro.txt b/config/02/cmd_ro.txt deleted file mode 100644 index 772ebbef..00000000 --- a/config/02/cmd_ro.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/02/config.yml \ No newline at end of file diff --git a/config/02/config.yml b/config/02/config.yml deleted file mode 100644 index d9144882..00000000 --- a/config/02/config.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -proxy_mode: No proxy diff --git a/config/02/output_ro.html b/config/02/output_ro.html deleted file mode 100644 index d28ee446..00000000 --- a/config/02/output_ro.html +++ /dev/null @@ -1,7 +0,0 @@ -
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ -│ (⏳ Original default value) │ -╰──────────────────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy ◀ loaded from the YAML file "config/02/config.yml" (⏳ No proxy) -diff --git a/config/03/cmd_ro.txt b/config/03/cmd_ro.txt deleted file mode 100644 index fc8085eb..00000000 --- a/config/03/cmd_ro.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/03/config.yml \ No newline at end of file diff --git a/config/03/config.yml b/config/03/config.yml deleted file mode 100644 index 74edb225..00000000 --- a/config/03/config.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -proxy_mode: Manual proxy configuration diff --git a/config/03/output_ro.html b/config/03/output_ro.html deleted file mode 100644 index 650fbbd7..00000000 --- a/config/03/output_ro.html +++ /dev/null @@ -1,7 +0,0 @@ -
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ -│ (⏳ Original default value) │ -╰──────────────────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: Manual proxy configuration ◀ loaded from the YAML file "config/03/config.yml" (⏳ No proxy) -diff --git a/config/04/cmd_invalid.txt b/config/04/cmd_invalid.txt deleted file mode 100644 index 970b0bb1..00000000 --- a/config/04/cmd_invalid.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/04/config.yml --cli.invalid_user_datas_error \ No newline at end of file diff --git a/config/04/cmd_ro.txt b/config/04/cmd_ro.txt deleted file mode 100644 index 4d43eae1..00000000 --- a/config/04/cmd_ro.txt +++ /dev/null @@ -1 +0,0 @@ -rougail -m firefox/ -u yaml -yf config/04/config.yml \ No newline at end of file diff --git a/config/04/config.yml b/config/04/config.yml deleted file mode 100644 index e3fa25da..00000000 --- a/config/04/config.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -proxy_mode: foo diff --git a/config/04/output_invalid.html b/config/04/output_invalid.html deleted file mode 100644 index 0ca13edb..00000000 --- a/config/04/output_invalid.html +++ /dev/null @@ -1,4 +0,0 @@ -
🛑 ERRORS -┗━━ the value "foo" is an invalid choice for "proxy_mode" (Configure Proxy Access to the Internet), only "Auto-detect proxy settings for this network", "Automatic proxy configuration URL", "Manual proxy - configuration", "No proxy" and "Use system proxy settings" are allowed, it will be ignored when loading from the YAML file "config/04/config.yml" -diff --git a/config/04/output_ro.html b/config/04/output_ro.html deleted file mode 100644 index e5bc6c7f..00000000 --- a/config/04/output_ro.html +++ /dev/null @@ -1,9 +0,0 @@ -
🔔 WARNINGS -┗━━ the value "foo" is an invalid choice for "proxy_mode" (Configure Proxy Access to the Internet), only "Auto-detect proxy settings for this network", "Automatic proxy configuration URL", "Manual proxy - configuration", "No proxy" and "Use system proxy settings" are allowed, it will be ignored when loading from the YAML file "config/04/config.yml" -╭─────── Caption ────────╮ -│ Variable Default value │ -╰────────────────────────╯ -Variables: -┗━━ 📓 Configure Proxy Access to the Internet: No proxy -diff --git a/firefox.png b/firefox.png index 45725ac6..e40ce963 100644 Binary files a/firefox.png and b/firefox.png differ diff --git a/tree.html b/tree.html index 4be7e528..484acf03 100644 --- a/tree.html +++ b/tree.html @@ -25,12 +25,13 @@
- .
- └── firefox
- └── 00-proxy.yml
+ .
+ └── firefox
+ ├── 00-proxy.yml
+ └── 10-manual.yml
-2 directories, 1 file +2 directories, 2 files