add calculated 040
This commit is contained in:
parent
6da067f206
commit
44d848b943
3 changed files with 29 additions and 2 deletions
27
docs/tutorial/calculated.rst
Normal file
27
docs/tutorial/calculated.rst
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
Calculated default value for a variable
|
||||||
|
============================================
|
||||||
|
|
||||||
|
|
||||||
|
.. objectives:: Objectives
|
||||||
|
|
||||||
|
FIXME
|
||||||
|
|
||||||
|
.. prerequisites:: Prerequisites
|
||||||
|
|
||||||
|
- We assume that Rougail's library is :ref:`installed <installation>` 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 <src/branch/1.1>`,
|
||||||
|
this workshop page corresponds to the tags :tutorial:`v1.1_040 <src/tag/v1.1_040>` to :tutorial:`v1.1_041 <src/tag/v1.1_041>`
|
||||||
|
in the repository.
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
git clone https://forge.cloud.silique.fr/stove/rougail-tutorials.git
|
||||||
|
git switch --detach v1.1_040
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3,8 +3,6 @@ Define access to variable or family
|
||||||
|
|
||||||
.. objectives:: Objectives
|
.. 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
|
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
|
to assign the `disabled` property to a variable or a family. We'll also learn the difference
|
||||||
between disabling and hiding families or variables.
|
between disabling and hiding families or variables.
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,9 @@ Let's dive into this **configuration options validation** use case.
|
||||||
choice
|
choice
|
||||||
family
|
family
|
||||||
domainname
|
domainname
|
||||||
|
calculated
|
||||||
disabled
|
disabled
|
||||||
|
|
||||||
dynfam
|
dynfam
|
||||||
calculation
|
calculation
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue