From 44d848b943a1d6700a1c3f722d53c913abf75b15 Mon Sep 17 00:00:00 2001 From: gwen Date: Thu, 8 Jan 2026 10:44:35 +0100 Subject: [PATCH] add calculated 040 --- docs/tutorial/calculated.rst | 27 +++++++++++++++++++++++++++ docs/tutorial/disabled.rst | 2 -- docs/tutorial/index.rst | 2 ++ 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 docs/tutorial/calculated.rst diff --git a/docs/tutorial/calculated.rst b/docs/tutorial/calculated.rst new file mode 100644 index 000000000..75e3d2e6c --- /dev/null +++ b/docs/tutorial/calculated.rst @@ -0,0 +1,27 @@ +Calculated default value for a variable +============================================ + + +.. objectives:: Objectives + + FIXME + +.. prerequisites:: Prerequisites + + - We assume that Rougail's library is :ref:`installed ` on your computer. + + - It is possible to retrieve the current state of the various Rougail files manipulated in this tutorial step + by checking out the corresponding tag of the `rougail-tutorials` git repository. + Each tag corresponds to a stage of progress in the tutorial. + Of course, you can also decide to copy/paste or download the tutorial files contents while following the tutorial steps. + + If you want to follow this tutorial with the help of the corresponding :tutorial:`rougail-tutorials git repository `, + this workshop page corresponds to the tags :tutorial:`v1.1_040 ` to :tutorial:`v1.1_041 ` + in the repository. + + :: + + git clone https://forge.cloud.silique.fr/stove/rougail-tutorials.git + git switch --detach v1.1_040 + + diff --git a/docs/tutorial/disabled.rst b/docs/tutorial/disabled.rst index 93a349312..8123378c4 100644 --- a/docs/tutorial/disabled.rst +++ b/docs/tutorial/disabled.rst @@ -3,8 +3,6 @@ Define access to variable or family .. objectives:: Objectives - FIXME: refaire les objectifs - In this section we will see what a disabled variable or family is, and why it can be interesting to assign the `disabled` property to a variable or a family. We'll also learn the difference between disabling and hiding families or variables. diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst index c73e6aec2..eff2d17ea 100644 --- a/docs/tutorial/index.rst +++ b/docs/tutorial/index.rst @@ -51,7 +51,9 @@ Let's dive into this **configuration options validation** use case. choice family domainname + calculated disabled + dynfam calculation