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

47 lines
1.1 KiB
Text
Raw Normal View History

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: '1.1'
source_variable_1: val1 # the first source variable
source_variable_2: val2 # the second source variable
my_variable:
description: a variable
type: choice
choices:
- variable: _.source_variable_1
- variable: _.source_variable_2
default: val1
----
== Variables
[cols="1a,1a"]
|====
2024-11-15 08:13:45 +01:00
| Variable | Description
|
2024-11-15 08:13:45 +01:00
**source_variable_1** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
The first source variable. +
2024-11-15 08:13:45 +01:00
**Default**: val1
|
2024-11-15 08:13:45 +01:00
**source_variable_2** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` |
The second source variable. +
2024-11-15 08:13:45 +01:00
**Default**: val2
|
2024-11-15 08:13:45 +01:00
**my_variable** +
2024-11-15 08:13:45 +01:00
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[choice]` `standard` `mandatory` |
A variable. +
**Choices**:
* the value of the variable "source_variable_1".
* the value of the variable "source_variable_2".
2024-11-15 08:13:45 +01:00
**Default**: val1
|====