docs(v1.1_11): multi variable definition

This commit is contained in:
gwen 2026-05-21 15:32:25 +02:00
parent f37c8f19d2
commit d7e1794648

View file

@ -179,7 +179,7 @@ It's easy to find out what the next step is: we would now need some kind of a c
which would allow us to set not only one domain name but a list of domain names for which the proxy will be disabled. which would allow us to set not only one domain name but a list of domain names for which the proxy will be disabled.
Making this change requires adding one line, just one, to our variable, Making this change requires adding one line, just one, to our variable,
the `multi: true` parameter: have a look at the `multi: true` parameter:
.. extinclude:: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_111/firefox/40-no_proxy.yml .. extinclude:: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_111/firefox/40-no_proxy.yml
:language: yaml :language: yaml
@ -211,7 +211,8 @@ the `multi: true` parameter:
What difference does it make? What difference does it make?
Fist, note that the `no_proxy` variable is still a `domainname` Fist, note that the `no_proxy` variable is still a `domainname` type.
The type hasn't changed.
Now let's launch the Rougail CLI with the `no_proxy` variable containing a list: Now let's launch the Rougail CLI with the `no_proxy` variable containing a list:
@ -283,5 +284,8 @@ Now we have this output:
A multi is a multiple variable, that is a variable that can have multiple values. A multi is a multiple variable, that is a variable that can have multiple values.
.. keypoints:: Key points
We have now some kind of a container facility named `multi`, that can be applied
to a variable simply by setting the `multi: true` parameter.
.. keywords::