rougail-output-doc/tests/docs/no_namespace/00_6choice_variable.adoc

41 lines
722 B
Text
Raw Normal View History

2024-07-10 21:27:48 +02:00
== dictionaries/rougail/00-base.yml
[,yaml]
----
---
2024-07-10 21:27:48 +02:00
version: '1.1'
var1: # a second variable
- a
- b
- c
var2:
description: a first variable
default: a
choices:
variable: _.var1
----
== Variables
[cols="1a,1a"]
2024-07-10 21:27:48 +02:00
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**var1** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `unique` `multiple` |
2024-07-10 21:27:48 +02:00
A second variable. +
**Default**:
2024-07-10 21:27:48 +02:00
* a
* b
2024-11-15 08:13:45 +01:00
* c
2024-07-10 21:27:48 +02:00
|
2024-11-15 08:13:45 +01:00
2024-07-10 21:27:48 +02:00
**var2** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` |
2024-07-10 21:27:48 +02:00
A first variable. +
**Choices**: the value of the variable "var1". +
2024-11-15 08:13:45 +01:00
**Default**: a
2024-07-10 21:27:48 +02:00
|====