2026-01-06 16:53:18 +01:00
- [Summary ](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/branch/1.1/README.md )
2026-01-06 16:53:32 +01:00
- [[tutorial v1.1_041] A conditional disabled 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))
2026-01-06 16:53:18 +01:00
2026-01-06 16:53:32 +01:00
# [tutorial v1.1_042] A hidden family
2026-01-06 16:53:18 +01:00
2026-01-06 16:53:32 +01:00
[View the diff ](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_042~1..v1.1_042 )
2026-01-06 16:53:18 +01:00
2026-01-06 16:53:32 +01:00
[Read the documentation ](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/disabled.html#a-hidden-family )
2026-01-06 16:53:18 +01:00
2026-01-06 16:53:17 +01:00
## Screenshot
< img src = "firefox.png" width = 50% height = 50% alt = "Firefox Proxy setting" / >
## Clone and install
To test this tutorial, you need to download this repository and install Rougail:
```shell
git clone -b 1.1 https://forge.cloud.silique.fr/stove/rougail-tutorials.git
cd rougail-tutorials
python -m venv venv_rougail
. venv_rougail/bin/activate
pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user-data-yaml
```
Then switch to the tutorial page:
```shell
2026-01-06 16:53:32 +01:00
git switch --detach v1.1_042
2026-01-06 16:53:17 +01:00
```
2026-01-06 16:53:18 +01:00
## Structure
< p >
2026-01-06 16:53:32 +01:00
< a href = "https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/./" > .< / a > < br / >
└── < a href = "https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/./firefox/" > firefox< / a > < br / >
├── < a href = "https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/./firefox/00-proxy.yml" > 00-proxy.yml< / a > < br / >
├── < a href = "https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/./firefox/10-manual.yml" > 10-manual.yml< / a > < br / >
└── < a href = "https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_042/./firefox/20-manual.yml" > 20-manual.yml< / a > < br / >
2026-01-06 16:53:18 +01:00
< br / > < br / > < / p >
2026-01-06 16:53:32 +01:00
Contents of the firefox/20-manual.yml file
2026-01-06 16:53:18 +01:00
```yml
%YAML 1.2
---
version: 1.1
2026-01-06 16:53:19 +01:00
2026-01-06 16:53:29 +01:00
manual:
2026-01-06 16:53:28 +01:00
2026-01-06 16:53:32 +01:00
use_for_https: true # Also use this proxy for HTTPS
https_proxy:
description: HTTPS Proxy
hidden: true
2026-01-06 16:53:30 +01:00
address:
2026-01-06 16:53:32 +01:00
description: HTTPS address
2026-01-06 16:53:30 +01:00
type: domainname
params:
allow_ip: true
port:
2026-01-06 16:53:32 +01:00
description: HTTPS Port
2026-01-06 16:53:30 +01:00
type: port
default: 8080
2026-01-06 16:53:18 +01:00
...
```
2026-01-06 16:53:19 +01:00
### Let's generate the documentation
```shell
rougail -m firefox/ -o doc
```
2026-01-06 16:53:22 +01:00
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ** < a id = "proxy_mode" name = "proxy_mode" > proxy_mode</ a > **< br /> [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Configure Proxy Access to the Internet.< br /> **Choices**: < br /> • No proxy ** ← (default)**< br /> • Auto-detect proxy settings for this network< br /> • Use system proxy settings< br /> • Manual proxy configuration< br /> • Automatic proxy configuration URL |
2026-01-06 16:53:19 +01:00
2026-01-06 16:53:31 +01:00
#### Manual proxy configuration
> [!NOTE]
>
> **Path**: manual\
> *`disabled`*\
> **Disabled**: when the variable "[Configure Proxy Access to the Internet](#proxy_mode)" hasn't the value "Manual proxy configuration"
##### HTTP Proxy
> [!NOTE]
>
> **Path**: manual.http_proxy
| Variable | Description |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ** < a id = "manual.http_proxy.address" name = "manual.http_proxy.address" > manual.http_proxy.address</ a > **< br /> [`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP address.< br /> **Validators**: < br /> • type domainname< br /> • the domain name can be an IP |
| ** < a id = "manual.http_proxy.port" name = "manual.http_proxy.port" > manual.http_proxy.port</ a > **< br /> [`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP 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 |
| Variable | Description |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
| ** < a id = "manual.use_for_https" name = "manual.use_for_https" > manual.use_for_https</ a > **< br /> [`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.< br /> **Default**: true |
2026-01-06 16:53:25 +01:00
2026-01-06 16:53:32 +01:00
- [[tutorial v1.1_043] A conditional hidden family](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))