[tutorial v1.1_032] A variable with type "port" (config and doc)
This commit is contained in:
parent
8dfaa45be1
commit
b82b51eee0
11 changed files with 112 additions and 92 deletions
94
README.md
94
README.md
|
|
@ -1,11 +1,11 @@
|
||||||
- [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_030] A variable with type "domainname"](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_030/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_030~1..v1.1_030))
|
- [[tutorial v1.1_031] A variable with type's parameters](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_031] A variable with type's parameters
|
# [tutorial v1.1_032] A variable with type "port"
|
||||||
|
|
||||||
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_031~1..v1.1_031)
|
[View the diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_032~1..v1.1_032)
|
||||||
|
|
||||||
[Read the documentation](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/disabled.html#a-variable-with-type's-parameters)
|
[Read the documentation](https://pedago.gwenaelremond.fr/bribes/rougail/tutorial/disabled.html#a-variable-with-type-"port")
|
||||||
|
|
||||||
|
|
||||||
## Screenshot
|
## Screenshot
|
||||||
|
|
@ -31,7 +31,7 @@ pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user-
|
||||||
Then switch to the tutorial page:
|
Then switch to the tutorial page:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git switch --detach v1.1_031
|
git switch --detach v1.1_032
|
||||||
```
|
```
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
@ -39,10 +39,10 @@ git switch --detach v1.1_031
|
||||||
|
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./">.</a><br/>
|
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./">.</a><br/>
|
||||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/">firefox</a><br/>
|
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/">firefox</a><br/>
|
||||||
├── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/00-proxy.yml">00-proxy.yml</a><br/>
|
├── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/00-proxy.yml">00-proxy.yml</a><br/>
|
||||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/10-manual.yml">10-manual.yml</a><br/>
|
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/10-manual.yml">10-manual.yml</a><br/>
|
||||||
<br/><br/></p>
|
<br/><br/></p>
|
||||||
|
|
||||||
Contents of the firefox/10-manual.yml file
|
Contents of the firefox/10-manual.yml file
|
||||||
|
|
@ -61,6 +61,11 @@ manual: # Manual proxy configuration
|
||||||
type: domainname
|
type: domainname
|
||||||
params:
|
params:
|
||||||
allow_ip: true
|
allow_ip: true
|
||||||
|
|
||||||
|
port:
|
||||||
|
description: HTTP Port
|
||||||
|
type: port
|
||||||
|
default: 8080
|
||||||
...
|
...
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -86,19 +91,20 @@ rougail -m firefox/ -o doc
|
||||||
> **Path**: manual.http_proxy
|
> **Path**: manual.http_proxy
|
||||||
|
|
||||||
| Variable | Description |
|
| 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.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 |
|
||||||
|
|
||||||
### Let's generate the changelog
|
### Let's generate the changelog
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rougail -m firefox/ -o doc --doc.contents changelog
|
rougail -m firefox/ -o doc --doc.contents changelog
|
||||||
```
|
```
|
||||||
#### Modified variable
|
#### New variable
|
||||||
|
|
||||||
| Variable | Description |
|
| 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/>• <ins>the domain name can be an IP</ins> |
|
| **<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 |
|
||||||
|
|
||||||
|
|
||||||
## User datas
|
## User datas
|
||||||
|
|
@ -110,6 +116,7 @@ rougail -m firefox/ -o doc --doc.contents changelog
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: example.net
|
address: example.net
|
||||||
|
|
@ -125,12 +132,14 @@ rougail -m firefox/ -u yaml -yf config/01/config.yml
|
||||||
> - Variable
|
> - Variable
|
||||||
> - <span style="color: #B8860B">Default value</span>
|
> - <span style="color: #B8860B">Default value</span>
|
||||||
> - <span style="color: #006400">Modified value</span>
|
> - <span style="color: #006400">Modified value</span>
|
||||||
|
> - (:hourglass_flowing_sand: Original default value)
|
||||||
|
|
||||||
Variables:
|
Variables:
|
||||||
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #B8860B">No proxy</span>
|
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #006400">Manual proxy configuration</span> ← loaded from the YAML file "config/01/config.yml" (:hourglass_flowing_sand: No proxy)
|
||||||
- :open_file_folder: manual (Manual proxy configuration)
|
- :open_file_folder: manual (Manual proxy configuration)
|
||||||
- :open_file_folder: http_proxy (HTTP Proxy)
|
- :open_file_folder: http_proxy (HTTP Proxy)
|
||||||
- :notebook: address (HTTP address): <span style="color: #006400">example.net</span> ← loaded from the YAML file "config/01/config.yml"
|
- :notebook: address (HTTP address): <span style="color: #006400">example.net</span> ← loaded from the YAML file "config/01/config.yml"
|
||||||
|
- :notebook: port (HTTP Port): <span style="color: #B8860B">8080</span>
|
||||||
### Example 2
|
### Example 2
|
||||||
|
|
||||||
#### config/02/config.yml
|
#### config/02/config.yml
|
||||||
|
|
@ -138,9 +147,11 @@ Variables:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: 192.168.0.1
|
address: example.net
|
||||||
|
port: 3128
|
||||||
```
|
```
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
|
|
@ -151,31 +162,15 @@ rougail -m firefox/ -u yaml -yf config/02/config.yml
|
||||||
>
|
>
|
||||||
> **Caption:**
|
> **Caption:**
|
||||||
> - Variable
|
> - Variable
|
||||||
> - <span style="color: #B8860B">Default value</span>
|
|
||||||
> - <span style="color: #006400">Modified value</span>
|
> - <span style="color: #006400">Modified value</span>
|
||||||
|
> - (:hourglass_flowing_sand: Original default value)
|
||||||
|
|
||||||
Variables:
|
Variables:
|
||||||
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #B8860B">No proxy</span>
|
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #006400">Manual proxy configuration</span> ← loaded from the YAML file "config/02/config.yml" (:hourglass_flowing_sand: No proxy)
|
||||||
- :open_file_folder: manual (Manual proxy configuration)
|
- :open_file_folder: manual (Manual proxy configuration)
|
||||||
- :open_file_folder: http_proxy (HTTP Proxy)
|
- :open_file_folder: http_proxy (HTTP Proxy)
|
||||||
- :notebook: address (HTTP address): <span style="color: #006400">192.168.0.1</span> ← loaded from the YAML file "config/02/config.yml"
|
- :notebook: address (HTTP address): <span style="color: #006400">example.net</span> ← loaded from the YAML file "config/02/config.yml"
|
||||||
#### Output when invalid user datas is an error
|
- :notebook: port (HTTP Port): <span style="color: #006400">3128</span> ← loaded from the YAML file "config/02/config.yml" (:hourglass_flowing_sand: 8080)
|
||||||
|
|
||||||
```shell
|
|
||||||
rougail -m firefox/ -u yaml -yf config/02/config.yml --cli.invalid_user_data_error
|
|
||||||
```
|
|
||||||
> [!NOTE]
|
|
||||||
>
|
|
||||||
> **Caption:**
|
|
||||||
> - Variable
|
|
||||||
> - <span style="color: #B8860B">Default value</span>
|
|
||||||
> - <span style="color: #006400">Modified value</span>
|
|
||||||
|
|
||||||
Variables:
|
|
||||||
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #B8860B">No proxy</span>
|
|
||||||
- :open_file_folder: manual (Manual proxy configuration)
|
|
||||||
- :open_file_folder: http_proxy (HTTP Proxy)
|
|
||||||
- :notebook: address (HTTP address): <span style="color: #006400">192.168.0.1</span> ← loaded from the YAML file "config/02/config.yml"
|
|
||||||
### Example 3
|
### Example 3
|
||||||
|
|
||||||
#### config/03/config.yml
|
#### config/03/config.yml
|
||||||
|
|
@ -183,22 +178,37 @@ Variables:
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: not a valid domain name.com
|
address: example.net
|
||||||
|
port: 100000
|
||||||
```
|
```
|
||||||
#### Output
|
#### Output
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
rougail -m firefox/ -u yaml -yf config/03/config.yml
|
rougail -m firefox/ -u yaml -yf config/03/config.yml
|
||||||
```
|
```
|
||||||
> [!CAUTION]
|
> [!WARNING]
|
||||||
>
|
>
|
||||||
> - manual (Manual proxy configuration)
|
> - manual (Manual proxy configuration)
|
||||||
> - http_proxy (HTTP Proxy)
|
> - http_proxy (HTTP Proxy)
|
||||||
> - address (HTTP address)
|
> - port (HTTP Port): :bell: <span style="color: #EFBF04">the value "100000" is an invalid port, must be between 1 and 65535, it will be ignored when loading from the YAML file "config/03/config.yml"</span>
|
||||||
> - [#EFBF04]:bell: the value "not a valid domain name.com" is an invalid domain name, could be a IP, otherwise must start with lowercase characters followed by lowercase characters, number, "-" and "." characters are allowed, it will be ignored when loading from the YAML file "config/03/config.yml"[/#EFBF04]
|
|
||||||
> - [#C23636]:stop_sign: mandatory variable but has no value[/#C23636]
|
> [!NOTE]
|
||||||
|
>
|
||||||
|
> **Caption:**
|
||||||
|
> - Variable
|
||||||
|
> - <span style="color: #B8860B">Default value</span>
|
||||||
|
> - <span style="color: #006400">Modified value</span>
|
||||||
|
> - (:hourglass_flowing_sand: Original default value)
|
||||||
|
|
||||||
|
Variables:
|
||||||
|
- :notebook: proxy_mode (Configure Proxy Access to the Internet): <span style="color: #006400">Manual proxy configuration</span> ← loaded from the YAML file "config/03/config.yml" (:hourglass_flowing_sand: No proxy)
|
||||||
|
- :open_file_folder: manual (Manual proxy configuration)
|
||||||
|
- :open_file_folder: http_proxy (HTTP Proxy)
|
||||||
|
- :notebook: address (HTTP address): <span style="color: #006400">example.net</span> ← loaded from the YAML file "config/03/config.yml"
|
||||||
|
- :notebook: port (HTTP Port): <span style="color: #B8860B">8080</span>
|
||||||
#### Output when invalid user datas is an error
|
#### Output when invalid user datas is an error
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
@ -208,7 +218,7 @@ rougail -m firefox/ -u yaml -yf config/03/config.yml --cli.invalid_user_data_err
|
||||||
>
|
>
|
||||||
> - manual (Manual proxy configuration)
|
> - manual (Manual proxy configuration)
|
||||||
> - http_proxy (HTTP Proxy)
|
> - http_proxy (HTTP Proxy)
|
||||||
> - address (HTTP address): :stop_sign: <span style="color: #C23636">the value "not a valid domain name.com" is an invalid domain name, could be a IP, otherwise must start with lowercase characters followed by lowercase characters, number, "-" and "." characters are allowed, it has been loading from the YAML file "config/03/config.yml"</span>
|
> - port (HTTP Port): :stop_sign: <span style="color: #C23636">the value "100000" is an invalid port, must be between 1 and 65535, it has been loading from the YAML file "config/03/config.yml"</span>
|
||||||
|
|
||||||
|
|
||||||
- [[tutorial v1.1_032] A variable with type "port"](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_032~1..v1.1_032))
|
- [[tutorial v1.1_033] A variable with type "boolean"](https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_033/README.md) ([diff](https://forge.cloud.silique.fr/stove/rougail-tutorials/compare/v1.1_033~1..v1.1_033))
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: example.net
|
address: example.net
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
<pre>╭──────── Caption ────────╮
|
<pre>╭────────────── Caption ───────────────╮
|
||||||
│ Variable <span style="color: #ffd700">Default value</span> │
|
│ Variable <span style="color: #ffd700">Default value</span> │
|
||||||
│ <span style="color: #00aa00">Modified value</span> │
|
│ <span style="color: #00aa00">Modified value</span> │
|
||||||
╰─────────────────────────╯
|
│ (⏳ Original default value) │
|
||||||
|
╰──────────────────────────────────────╯
|
||||||
Variables:
|
Variables:
|
||||||
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #ffd700">No proxy</span>
|
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #00aa00">Manual proxy </span>
|
||||||
|
<span style="color: #5c5cff">┃ </span><span style="color: #00aa00">configuration</span> ◀ loaded from the YAML file "config/01/config.yml" (⏳ No
|
||||||
|
<span style="color: #5c5cff">┃ </span>proxy)
|
||||||
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 address (HTTP address): <span style="color: #00aa00">example.net</span> ◀ loaded from the YAML file
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┣━━ </span>📓 address (HTTP address): <span style="color: #00aa00">example.net</span> ◀ loaded from the YAML file
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span>"config/01/config.yml"
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┃ </span>"config/01/config.yml"
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 port (HTTP Port): <span style="color: #ffd700">8080</span>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
rougail -m firefox/ -u yaml -yf config/02/config.yml --cli.invalid_user_data_error
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: 192.168.0.1
|
address: example.net
|
||||||
|
port: 3128
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
<pre>╭──────── Caption ────────╮
|
|
||||||
│ Variable <span style="color: #ffd700">Default value</span> │
|
|
||||||
│ <span style="color: #00aa00">Modified value</span> │
|
|
||||||
╰─────────────────────────╯
|
|
||||||
Variables:
|
|
||||||
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #ffd700">No proxy</span>
|
|
||||||
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 address (HTTP address): <span style="color: #00aa00">192.168.0.1</span> ◀ loaded from the YAML file
|
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span>"config/02/config.yml"
|
|
||||||
</pre>
|
|
||||||
|
|
@ -1,11 +1,15 @@
|
||||||
<pre>╭──────── Caption ────────╮
|
<pre>╭────────────── Caption ───────────────╮
|
||||||
│ Variable <span style="color: #ffd700">Default value</span> │
|
│ Variable <span style="color: #00aa00">Modified value</span> │
|
||||||
│ <span style="color: #00aa00">Modified value</span> │
|
│ (⏳ Original default value) │
|
||||||
╰─────────────────────────╯
|
╰──────────────────────────────────────╯
|
||||||
Variables:
|
Variables:
|
||||||
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #ffd700">No proxy</span>
|
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #00aa00">Manual proxy </span>
|
||||||
|
<span style="color: #5c5cff">┃ </span><span style="color: #00aa00">configuration</span> ◀ loaded from the YAML file "config/02/config.yml" (⏳ No
|
||||||
|
<span style="color: #5c5cff">┃ </span>proxy)
|
||||||
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 address (HTTP address): <span style="color: #00aa00">192.168.0.1</span> ◀ loaded from the YAML file
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┣━━ </span>📓 address (HTTP address): <span style="color: #00aa00">example.net</span> ◀ loaded from the YAML file
|
||||||
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span>"config/02/config.yml"
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┃ </span>"config/02/config.yml"
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 port (HTTP Port): <span style="color: #00aa00">3128</span> ◀ loaded from the YAML file
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span>"config/02/config.yml" (⏳ 8080)
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
---
|
---
|
||||||
|
proxy_mode: Manual proxy configuration
|
||||||
manual:
|
manual:
|
||||||
http_proxy:
|
http_proxy:
|
||||||
address: not a valid domain name.com
|
address: example.net
|
||||||
|
port: 100000
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
<pre><span style="font-weight: bold; color: #ff0000">🛑 Caution</span>
|
<pre><span style="font-weight: bold; color: #ff0000">🛑 Caution</span>
|
||||||
<span style="color: #ff0000">┗━━ </span>manual (Manual proxy configuration)
|
<span style="color: #ff0000">┗━━ </span>manual (Manual proxy configuration)
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>http_proxy (HTTP Proxy)
|
<span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>http_proxy (HTTP Proxy)
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>address (HTTP address): <span style="color: #ff0000">🛑 the value "not a valid domain name.com" </span>
|
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>port (HTTP Port): <span style="color: #ff0000">🛑 the value "100000" is an invalid port, must be </span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">is an invalid domain name, could be a IP, otherwise must start with </span>
|
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">between 1 and 65535, it has been loading from the YAML file </span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">lowercase characters followed by lowercase characters, number, "-" </span>
|
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">"config/03/config.yml"</span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">and "." characters are allowed, it has been loading from the YAML </span>
|
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">file "config/03/config.yml"</span>
|
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,22 @@
|
||||||
<pre><span style="font-weight: bold; color: #ff0000">🛑 Caution</span>
|
<pre><span style="font-weight: bold; color: #ffff00">🔔 Warning</span>
|
||||||
<span style="color: #ff0000">┗━━ </span>manual (Manual proxy configuration)
|
<span style="color: #ffff00">┗━━ </span>manual (Manual proxy configuration)
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>http_proxy (HTTP Proxy)
|
<span style="color: #ffff00"> </span><span style="color: #ffff00">┗━━ </span>http_proxy (HTTP Proxy)
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span>address (HTTP address)
|
<span style="color: #ffff00"> </span><span style="color: #ffff00"> </span><span style="color: #ffff00">┗━━ </span>port (HTTP Port): <span style="color: #ffff00">🔔 the value "100000" is an invalid port, must be </span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┣━━ </span><span style="color: #ffff00">🔔 the value "not a valid domain name.com" is an invalid domain </span>
|
<span style="color: #ffff00"> </span><span style="color: #ffff00"> </span><span style="color: #ffff00"> </span><span style="color: #ffff00">between 1 and 65535, it will be ignored when loading from the YAML </span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ffff00">name, could be a IP, otherwise must start with lowercase </span>
|
<span style="color: #ffff00"> </span><span style="color: #ffff00"> </span><span style="color: #ffff00"> </span><span style="color: #ffff00">file "config/03/config.yml"</span>
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ffff00">characters followed by lowercase characters, number, "-" and "."</span>
|
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ffff00">characters are allowed, it will be ignored when loading from the</span>
|
╭────────────── Caption ───────────────╮
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┃ </span><span style="color: #ffff00">YAML file "config/03/config.yml"</span>
|
│ Variable <span style="color: #ffd700">Default value</span> │
|
||||||
<span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000"> </span><span style="color: #ff0000">┗━━ </span><span style="color: #ff0000">🛑 mandatory variable but has no value</span>
|
│ <span style="color: #00aa00">Modified value</span> │
|
||||||
|
│ (⏳ Original default value) │
|
||||||
|
╰──────────────────────────────────────╯
|
||||||
|
Variables:
|
||||||
|
<span style="color: #5c5cff">┣━━ </span>📓 proxy_mode (Configure Proxy Access to the Internet): <span style="color: #00aa00">Manual proxy </span>
|
||||||
|
<span style="color: #5c5cff">┃ </span><span style="color: #00aa00">configuration</span> ◀ loaded from the YAML file "config/03/config.yml" (⏳ No
|
||||||
|
<span style="color: #5c5cff">┃ </span>proxy)
|
||||||
|
<span style="color: #5c5cff">┗━━ </span>📂 manual (Manual proxy configuration)
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📂 http_proxy (HTTP Proxy)
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┣━━ </span>📓 address (HTTP address): <span style="color: #00aa00">example.net</span> ◀ loaded from the YAML file
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┃ </span>"config/03/config.yml"
|
||||||
|
<span style="color: #5c5cff"> </span><span style="color: #5c5cff"> </span><span style="color: #5c5cff">┗━━ </span>📓 port (HTTP Port): <span style="color: #ffd700">8080</span>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<p>
|
<p>
|
||||||
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./">.</a><br/>
|
<a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./">.</a><br/>
|
||||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/">firefox</a><br/>
|
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/">firefox</a><br/>
|
||||||
├── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/00-proxy.yml">00-proxy.yml</a><br/>
|
├── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/00-proxy.yml">00-proxy.yml</a><br/>
|
||||||
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_031/./firefox/10-manual.yml">10-manual.yml</a><br/>
|
└── <a href="https://forge.cloud.silique.fr/stove/rougail-tutorials/src/commit/v1.1_032/./firefox/10-manual.yml">10-manual.yml</a><br/>
|
||||||
<br/><br/></p>
|
<br/><br/></p>
|
||||||
Loading…
Reference in a new issue