From b437572de9a6ca98830ff5cdb70c191b2635e280 Mon Sep 17 00:00:00 2001 From: gwen Date: Thu, 4 Dec 2025 19:30:01 +0100 Subject: [PATCH] choice --- docs/tutorial/domainname.rst | 5 +++-- docs/tutorial/family.rst | 7 ++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/tutorial/domainname.rst b/docs/tutorial/domainname.rst index 4869eeaff..9b372fc44 100644 --- a/docs/tutorial/domainname.rst +++ b/docs/tutorial/domainname.rst @@ -3,8 +3,9 @@ Some suitable types .. objectives:: Objectives - There aren't just the basic available types such as `string`, `integer` or `boolean`, - that are some much more suited to our use case, such as `domainname` or `port`. + There isn't just the basic `string` available type, here we will discover new + variable types, for example the `boolean` type, and even types that are much more + suited to our use case, such as `domainname` or `port`. .. prerequisites:: Prerequisites diff --git a/docs/tutorial/family.rst b/docs/tutorial/family.rst index 485189a64..0895a1d90 100644 --- a/docs/tutorial/family.rst +++ b/docs/tutorial/family.rst @@ -34,7 +34,7 @@ We have this choice variable in its structure definition file: .. extinclude:: https://forge.cloud.silique.fr/stove/rougail-tutorials/raw/tag/v1.1_010/firefox/00-proxy.yml :linenos: :language: yaml - :caption: The `proxy_mode` choice type variable in the :file:`firefox/00-proxy.yml` structure file + :caption: The `proxy_mode` choice variable in the :file:`firefox/00-proxy.yml` structure file .. --- @@ -173,7 +173,6 @@ This time, the type of this new variable is a `domainname` type: address: description: HTTP address - type: domainname :tutorial:`Download this file from the rougail-tutorials git repository ` @@ -182,7 +181,6 @@ Now that the :confval:`address` variable is declared, the :term:`operator` can s In short, let's describe our `address` variable like this: .. confval:: address - :type: `domainname` :default: None This is the HTTP address of the proxy @@ -259,7 +257,7 @@ Let's recap about the user datas. We can see in this Rougail CLI output that: - the `proxy_mode` value is set by default by the :term:`integrator` - the `address` value is has been set by an :term:`operator` -.. type-along:: A second variable in the `http_proxy` family +.. type-along:: A `port` variable in the `http_proxy` family Now let's add a `port` variable in the `http_proxy` family: @@ -289,7 +287,6 @@ Now let's add a `port` variable in the `http_proxy` family: In short: .. confval:: port - :type: `port` :default: 8080 The HTTP Port