37 lines
1.5 KiB
ReStructuredText
37 lines
1.5 KiB
ReStructuredText
|
|
Modes
|
|||
|
|
=========
|
|||
|
|
|
|||
|
|
.. 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_150 <src/tag/v1.1_150/README.md>` to :tutorial:`v1.1_150 <src/tag/v1.1_150/README.md>`
|
|||
|
|
in the repository.
|
|||
|
|
|
|||
|
|
::
|
|||
|
|
|
|||
|
|
git clone https://forge.cloud.silique.fr/stove/rougail-tutorials.git
|
|||
|
|
git switch --detach v1.1_150
|
|||
|
|
|
|||
|
|
A variable in avanced mode
|
|||
|
|
---------------------------
|
|||
|
|
|
|||
|
|
on les déclare en CLI `--modes_level basic standard advanced`
|
|||
|
|
|
|||
|
|
c'est un paramètre à définir sur la famille,
|
|||
|
|
`mode: advanced`
|
|||
|
|
|
|||
|
|
aujourd'hui je m'en sert pour filtrer les variables que je veux dans ma doc
|
|||
|
|
Une doc sans les variables avancées qui sera plus courte et une seconde complète.
|
|||
|
|
Tu peux expliquer comme ça et on réfléchira au concept plus tard.
|
|||
|
|
|
|||
|
|
|
|||
|
|
à part ça je ne me souviens pas bien de l'usage à l'époque de créole.
|
|||
|
|
C'est quand on était dans l'éditeur Créole, on avait un mode basique (boulet) et une mode expert
|