[tutorial v1.1_042)] A conditional hidden family with a variable (config and doc)
This commit is contained in:
parent
4ada375f3d
commit
265c00b56b
1 changed files with 32 additions and 15 deletions
47
README.md
47
README.md
|
|
@ -1,9 +1,9 @@
|
||||||
- [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md)
|
- [Summary](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md)
|
||||||
- [[tutorial v1.1_031] A conditional disabled family with a variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_031~1..v1.1_031))
|
- [[tutorial v1.1_041] An hidden family](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_041/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_041~1..v1.1_041))
|
||||||
|
|
||||||
# [tutorial v1.1_041)] An hidden family
|
# [tutorial v1.1_042)] A conditional hidden family with a variable
|
||||||
|
|
||||||
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_041~1..v1.1_041)
|
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_042~1..v1.1_042)
|
||||||
|
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
@ -78,7 +78,8 @@ manual:
|
||||||
|
|
||||||
https_proxy:
|
https_proxy:
|
||||||
description: HTTPS Proxy
|
description: HTTPS Proxy
|
||||||
hidden: true
|
hidden:
|
||||||
|
variable: _.use_for_https
|
||||||
|
|
||||||
address:
|
address:
|
||||||
description: HTTPS address
|
description: HTTPS address
|
||||||
|
|
@ -96,7 +97,7 @@ manual:
|
||||||
### Let's generate the documentation
|
### Let's generate the documentation
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -o doc
|
foo@bar:~$ rougail -m firefox/ -o doc
|
||||||
```
|
```
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
|
|
@ -126,17 +127,33 @@ foo@bar:~$ rougail -m firefox/ -o doc
|
||||||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| **manual.use_for_https**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.<br/>**Default**: true |
|
| **manual.use_for_https**<br/>[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.<br/>**Default**: true |
|
||||||
|
|
||||||
|
##### HTTPS Proxy
|
||||||
|
|
||||||
|
**manual.https_proxy**
|
||||||
|
|
||||||
|
*`hidden`*
|
||||||
|
|
||||||
|
**Hidden**: when the variable "manual.use_for_https" has the value "true"
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **manual.https_proxy.address**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS address.<br/>**Validator**: the domain name can be an IP |
|
||||||
|
| **manual.https_proxy.port**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS Port.<br/>**Validators**: <br/>- well-known ports (1 to 1023) are allowed<br/>- registred ports (1024 to 49151) are allowed<br/>- private ports (greater than 49152) are allowed<br/>**Default**: 8080 |
|
||||||
|
|
||||||
### Let's generate the changelog
|
### Let's generate the changelog
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -o doc --doc.contents changelog
|
foo@bar:~$ rougail -m firefox/ -o doc --doc.contents changelog
|
||||||
```
|
```
|
||||||
#### Deleted variables
|
#### New variables
|
||||||
|
|
||||||
|
| Variable | Description |
|
||||||
|
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
|
| **manual.https_proxy.address**<br/>[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS address.<br/>**Validator**: the domain name can be an IP |
|
||||||
|
| **manual.https_proxy.port**<br/>[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS Port.<br/>**Validators**: <br/>- well-known ports (1 to 1023) are allowed<br/>- registred ports (1024 to 49151) are allowed<br/>- private ports (greater than 49152) are allowed<br/>**Default**: 8080 |
|
||||||
|
|
||||||
|
|
||||||
- manual.https_proxy.address
|
|
||||||
- manual.https_proxy.port
|
|
||||||
## User datas
|
## User datas
|
||||||
|
|
||||||
### Example 1
|
### Example 1
|
||||||
|
|
@ -151,7 +168,7 @@ foo@bar:~$ rougail -m firefox/ -o doc --doc.contents changelog
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/01/config.yaml
|
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/01/config.yaml
|
||||||
```
|
```
|
||||||
<pre>╭─────── Caption ────────╮
|
<pre>╭─────── Caption ────────╮
|
||||||
|
|
@ -173,7 +190,7 @@ proxy_mode: No proxy
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/02/config.yaml
|
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/02/config.yaml
|
||||||
```
|
```
|
||||||
<pre>╭────────────── Caption ───────────────╮
|
<pre>╭────────────── Caption ───────────────╮
|
||||||
|
|
@ -196,7 +213,7 @@ proxy_mode: Manual proxy configuration
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/03/config.yaml
|
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/03/config.yaml
|
||||||
```
|
```
|
||||||
<pre><span style="font-weight: bold; color: #ff0000">🛑 ERRORS</span>
|
<pre><span style="font-weight: bold; color: #ff0000">🛑 ERRORS</span>
|
||||||
|
|
@ -218,7 +235,7 @@ proxy_mode: foo
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/04/config.yaml
|
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/04/config.yaml
|
||||||
```
|
```
|
||||||
<pre><span style="font-weight: bold; color: #ffff00">🔔 WARNINGS</span>
|
<pre><span style="font-weight: bold; color: #ffff00">🔔 WARNINGS</span>
|
||||||
|
|
@ -243,7 +260,7 @@ proxy_mode: 1
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```console
|
```console
|
||||||
foo@bar:~$ git switch --detach v1.1_041
|
foo@bar:~$ git switch --detach v1.1_042
|
||||||
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/05/config.yaml
|
foo@bar:~$ rougail -m firefox/ -u yaml -ff config/05/config.yaml
|
||||||
```
|
```
|
||||||
<pre><span style="font-weight: bold; color: #ffff00">🔔 WARNINGS</span>
|
<pre><span style="font-weight: bold; color: #ffff00">🔔 WARNINGS</span>
|
||||||
|
|
@ -257,4 +274,4 @@ Variables:
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
- [[tutorial v1.1_042] A conditional hidden family with a variable](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_042~1..v1.1_042))
|
- [[tutorial v1.1_043] A calculated default value](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_043/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_043~1..v1.1_043))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue