rougail-output-doc/tests/docs/no_namespace/16_6choice_redefine.adoc
2024-08-05 14:38:59 +02:00

47 lines
1,015 B
Text

== dictionaries/rougail/01-base.yml
[,yaml]
----
version: '1.0'
var:
redefine: true
choices:
- a
- c
----
== dictionaries/rougail/00-base.yml
[,yaml]
----
version: '1.0'
var:
type: choice
description: A choice
default: c
choices:
- a
- b
- c
----
== Variables
[cols="108a,108a",options="header"]
|====
| Variable | Description
|
**var** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` |
A choice. +
**Choices**:
* a
* c ← (default)
|====
== Example with all variables modifiable
[,yaml]
----
var: c
----