diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c015941..6b466cd3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,7 +1,9 @@
-# Deleted variables
+# New variables
-- manual.http_proxy.address
-- manual.http_proxy.port
-- manual.use_for_https
-- manual.https_proxy.address
-- manual.https_proxy.port
+| Variable | Description |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **manual.http_proxy.address**
[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP address.
**Validators**:
• type domainname
• the domain name can be an IP |
+| **manual.http_proxy.port**
[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP 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.use_for_https**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.
**Default**: true |
+| **manual.https_proxy.address**
[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS address.
**Validators**:
• type domainname
• the domain name can be an IP
**Default**: the value of the variable "[HTTP address](#manual.http_proxy.address)". |
+| **manual.https_proxy.port**
[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS 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**: the value of the variable "[HTTP Port](#manual.http_proxy.port)". |
diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md
index 98871a8f..c1eb212a 100644
--- a/DOCUMENTATION.md
+++ b/DOCUMENTATION.md
@@ -1,3 +1,37 @@
| Variable | Description |
|------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **proxy_mode**
[`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Configure Proxy Access to the 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
+
+> [!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 |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **manual.http_proxy.address**
[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP address.
**Validators**:
• type domainname
• the domain name can be an IP |
+| **manual.http_proxy.port**
[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTP 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 |
+
+| Variable | Description |
+|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------|
+| **manual.use_for_https**
[`boolean`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | Also use this proxy for HTTPS.
**Default**: true |
+
+## HTTPS Proxy
+
+> [!NOTE]
+>
+> **Path**: manual.https_proxy
+
+| Variable | Description |
+|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **manual.https_proxy.address**
[`domainname`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS address.
**Validators**:
• type domainname
• the domain name can be an IP
**Default**: the value of the variable "[HTTP address](#manual.http_proxy.address)". |
+| **manual.https_proxy.port**
[`port`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `mandatory` | HTTPS 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**: the value of the variable "[HTTP Port](#manual.http_proxy.port)". |
diff --git a/README.md b/README.md
index cfa35ad3..33433259 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_041] A default value calculated from another variable](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_050~1..v1.1_050))
+- [[tutorial v1.1_050] A disabled family](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_050/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_051~1..v1.1_051))
-# [tutorial v1.1_050] A disabled family
+# [tutorial v1.1_051] A conditional disabled family
-[Read the tutorial "A disabled family" in the documentation](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/properties.html#a-disabled-family)
+[Read the tutorial "A conditional disabled family" in the documentation](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/properties.html#a-conditional-disabled-family)
## Screenshot
@@ -25,17 +25,17 @@ pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user-
Then switch to the tutorial page:
```shell
-git switch --detach v1.1_050
+git switch --detach v1.1_051
```
## Structure
-.
- └── firefox
- ├── 00-proxy.yml
- ├── 10-manual.yml
- └── 20-manual.yml
+.
+ └── firefox
+ ├── 00-proxy.yml
+ ├── 10-manual.yml
+ └── 20-manual.yml
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ +│ Variable Default value │ +│ Modified value │ │ (⏳ Original default value) │ ╰──────────────────────────────────────╯ Variables: -┗━━ 📓 proxy_mode (Configure Proxy Access to the Internet): Manual proxy - configuration ◀ loaded from the YAML file "config/02/config.yml" (⏳ No - proxy) +┣━━ 📓 proxy_mode (Configure Proxy Access to the Internet): Manual proxy +┃ configuration ◀ loaded from the YAML file "config/02/config.yml" (⏳ No +┃ proxy) +┗━━ 📂 manual (Manual proxy configuration) + ┣━━ 📂 http_proxy (HTTP Proxy) + ┃ ┣━━ 📓 address (HTTP address): http.proxy.net ◀ loaded from the YAML + ┃ ┃ file "config/02/config.yml" + ┃ ┗━━ 📓 port (HTTP Port): 3128 ◀ loaded from the YAML file + ┃ "config/02/config.yml" (⏳ 8080) + ┣━━ 📓 use_for_https (Also use this proxy for HTTPS): false ◀ loaded from + ┃ the YAML file "config/02/config.yml" (⏳ true) + ┗━━ 📂 https_proxy (HTTPS Proxy) + ┣━━ 📓 address (HTTPS address): http.proxy.net + ┗━━ 📓 port (HTTPS Port): 3128diff --git a/config/02/output_unknown.html b/config/02/output_unknown.html deleted file mode 100644 index 98cb430a..00000000 --- a/config/02/output_unknown.html +++ /dev/null @@ -1,9 +0,0 @@ -
╭────────────── Caption ───────────────╮ -│ Variable Modified value │ -│ (⏳ Original default value) │ -╰──────────────────────────────────────╯ -Variables: -┗━━ 📓 proxy_mode (Configure Proxy Access to the Internet): Manual proxy - configuration ◀ loaded from the YAML file "config/02/config.yml" (⏳ No - proxy) -diff --git a/config/02/unknown b/config/02/unknown deleted file mode 100644 index e69de29b..00000000 diff --git a/tree.html b/tree.html index 091ad53b..ca90cc94 100644 --- a/tree.html +++ b/tree.html @@ -1,7 +1,7 @@
-.
- └── firefox
- ├── 00-proxy.yml
- ├── 10-manual.yml
- └── 20-manual.yml
+.
+ └── firefox
+ ├── 00-proxy.yml
+ ├── 10-manual.yml
+ └── 20-manual.yml