Commit graph

61 commits

Author SHA1 Message Date
79694388ee [tutorial 050] A variable with type "web_address" 2024-10-23 20:01:43 +02:00
ddb72a689c [tutorial 050] A variable with type "web_address" (config and doc) 2024-10-23 20:01:43 +02:00
05f6b843b9 [tutorial 041] Variable: "shorthand" mode 2024-10-23 20:01:42 +02:00
3d4cc3b045 [tutorial 041] Variable: "shorthand" mode (config and doc) 2024-10-23 20:01:42 +02:00
429bc62071 [tutorial 040] Family: "shorthand" mode 2024-10-23 20:01:40 +02:00
655e4714ed [tutorial 040] Family: "shorthand" mode (config and doc) 2024-10-23 20:01:40 +02:00
1872172c5d [tutorial 039] A conditional disabled variable with identifier 2024-10-23 20:01:39 +02:00
31eecff68a [tutorial 039] A conditional disabled variable with identifier (config and doc) 2024-10-23 20:01:39 +02:00
2897482431 [tutorial 038] A conditional hidden family with Jinja 2024-10-23 20:01:38 +02:00
10ac420290 [tutorial 038] A conditional hidden family with Jinja (config and doc) 2024-10-23 20:01:38 +02:00
97c6e42bde [tutorial 037] Family: a dynamic family 2024-10-23 20:01:37 +02:00
0907e2be6e [tutorial 037] Family: a dynamic family (config and doc) 2024-10-23 20:01:37 +02:00
9ea0458100 [tutorial 036] Variable type and parameters type are copied with default value 2024-10-23 20:01:36 +02:00
5eb5f440e4 [tutorial 036] Variable type and parameters type are copied with default value (config and doc) 2024-10-23 20:01:36 +02:00
bda9fd730e [tutorial 035] A calculated default value 2024-10-23 20:01:35 +02:00
c0512327a8 [tutorial 035] A calculated default value (config and doc) 2024-10-23 20:01:35 +02:00
7347a88435 [tutorial 034] A conditional hidden family with a variable 2024-10-23 20:01:33 +02:00
b7f48e0034 [tutorial 034] A conditional hidden family with a variable (config and doc) 2024-10-23 20:01:33 +02:00
3913536cca [tutorial 033] An hidden family 2024-10-23 20:01:32 +02:00
9e72a7b536 [tutorial 033] An hidden family (config and doc) 2024-10-23 20:01:32 +02:00
a710176881 [tutorial 032] Copy HTTP manual proxy to HTTPS manual proxy 2024-10-23 20:01:31 +02:00
ec8545a5e3 [tutorial 032] Copy HTTP manual proxy to HTTPS manual proxy (config and doc) 2024-10-23 20:01:31 +02:00
bd92c18eee [tutorial 031] Bases type is optional if default value 2024-10-23 20:01:29 +02:00
a45249ca87 [tutorial 031] Bases type is optional if default value (config and doc) 2024-10-23 20:01:29 +02:00
13af395261 [tutorial 030] A variable with type "boolean" 2024-10-23 20:01:28 +02:00
07630a0703 [tutorial 030] A variable with type "boolean" (config and doc) 2024-10-23 20:01:28 +02:00
e1d3a9173f [tutorial 029] Type variable is optional 2024-10-23 20:01:27 +02:00
73cbee50c1 [tutorial 029] Type variable is optional (config and doc) 2024-10-23 20:01:27 +02:00
d901f84ab2 [tutorial 028] A conditional disabled family with a variable 2024-10-23 20:01:26 +02:00
db8edfd484 [tutorial 028] A conditional disabled family with a variable (config and doc) 2024-10-23 20:01:26 +02:00
da33679ac5 [tutorial 027] A disabled family 2024-10-23 20:01:25 +02:00
d200a87e8b [tutorial 027] A disabled family (config and doc) 2024-10-23 20:01:25 +02:00
62dd95dac1 [tutorial 026] A variable with type "port" 2024-10-23 20:01:24 +02:00
9ca4fb1821 [tutorial 026] A variable with type "port" (config and doc) 2024-10-23 20:01:24 +02:00
60b12308fb [tutorial 025] A variable with type's parameters 2024-10-23 20:01:23 +02:00
eaf8b8cba2 [tutorial 025] A variable with type's parameters (config and doc) 2024-10-23 20:01:23 +02:00
bdc8c31653 [tutorial 024] A variable with type "domainname" 2024-10-23 20:01:21 +02:00
ef2ce5f7c6 [tutorial 024] A variable with type "domainname" (config and doc) 2024-10-23 20:01:21 +02:00
8ac3fb012a [tutorial 023] Family type is optional 2024-10-23 20:01:20 +02:00
b222c0c06c [tutorial 023] Family type is optional (config and doc) 2024-10-23 20:01:20 +02:00
577a518c0e [tutorial 022] A variable inside sub family 2024-10-23 20:01:19 +02:00
d5d61d0e76 [tutorial 022] A variable inside sub family (config and doc) 2024-10-23 20:01:19 +02:00
ce617110b9 [tutorial 021] A sub family
Inside a family, we can have variables or families.

The "type" for family "manual" became unecessary because container an other family, so it's not a variable.

In disabled attribute, it's better tu use relative path (we will see the reason in an other slide).
2024-10-23 20:01:18 +02:00
e1ee17eb56 [tutorial 021] A sub family (config and doc) 2024-10-23 20:01:18 +02:00
a044459cc1 [tutorial 020] A family
The "manual" mode structural descriptions are write in a new files to separate things. But Rougail will concatenate variables and families.

We create a family, which will contain other variables.

This family has:

- a description
- a type

As there is no variable inside this family, the type is mandatory. Without it, Rougail will create a variable.

In fact, this family will be deleted by Rougail too because it is empty.
2024-10-23 20:01:17 +02:00
164b36ba47 [tutorial 020] A family (config and doc) 2024-10-23 20:01:17 +02:00
bf5a0b6608 [tutorial 014] Choice type is optional
The type is optional in choice type (if we have choices attributes, it's a choice option).
2024-10-23 20:01:16 +02:00
412d126e94 [tutorial 014] Choice type is optional (config and doc) 2024-10-23 20:01:16 +02:00
51026ab103 [tutorial 013] A variable with type "choice"
"Foo" should not be an option to the "proxy_mode" variable.

Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected.

We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices.
2024-10-23 20:01:15 +02:00
401855bced [tutorial 013] A variable with type "choice" (config and doc) 2024-10-23 20:01:15 +02:00