diff --git a/docs/tutorial/multiple.rst b/docs/tutorial/multiple.rst index 8baa9b1b3..a32b02501 100644 --- a/docs/tutorial/multiple.rst +++ b/docs/tutorial/multiple.rst @@ -3,7 +3,7 @@ Variable with multiple values .. objectives:: Objectives - FIXME + After creating another variable for the needs of our use case, we will introduce the concept of multiple type variable. .. prerequisites:: Prerequisites @@ -28,9 +28,9 @@ Variable with multiple values A conditional disabled variable with type web_address ------------------------------------------------------------- -Fist we need to add a variable as part of our use case with a type we haven't used yet, the `web_address` type. +First we need to add a variable as part of our use case with a type we haven't used yet, the `web_address` type. It is related to the automatic proxy configuration situation. -Let's put it a new :file:`firefox/30-auto.yml` :term:`structure file`. +Let's put it in the new :file:`firefox/30-auto.yml` :term:`structure file`. Note that this variable has a :term:`disabled` property defined: .. extinclude:: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_100/firefox/30-auto.yml @@ -53,4 +53,29 @@ Note that this variable has a :term:`disabled` property defined: If the `proxy_mode` variable has the `"Automatic proxy configuration URL"` value, this `auto` variable is enabled. It is :term:`disabled` otherwise. +Let's launch the Rougail CLI on this :term:`user data file `: +.. extinclude:: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_100/config/03/config.yml + :language: yaml + :caption: The :file:`config/03/config.yml` user data file + +.. + --- + proxy_mode: Automatic proxy configuration URL + auto: https://auto.proxy.net/wpad.dat + +we have this output: + +.. raw:: html + :url: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/commit/v1.1_100/config/03/output_ro.html + :class: output + +.. + ╭────────────── Caption ───────────────╮ + │ Variable Modified value │ + │ (⏳ Original default value) │ + ╰──────────────────────────────────────╯ + Variables: + ┣━━ 📓 Configure Proxy Access to the Internet: Automatic proxy configuration URL ◀ loaded from the YAML file "config/03/config.yml" (⏳ No proxy) + ┗━━ 📓 Automatic proxy configuration URL: https://auto.proxy.net/wpad.dat ◀ loaded from the YAML file "config/03/config.yml" +