rougail-output-doc/tests/docs/base/00_2default_calculated_variable_transitive.adoc

39 lines
1.6 KiB
Text

== dictionaries/rougail/00-base.yml
[,yaml]
----
---
version: 1.1
var1:
description: a first variable
multi: true
type: domainname
params:
allow_ip: true
var2:
description: a second variable
default:
type: variable
variable: _.var1
----
== Variables for "rougail"
[cols="1a,1a"]
|====
| Variable | Description
|
**rougail.var1** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[domainname]` `basic` `mandatory` `unique` `multiple` |
A first variable. +
**Validator**: the domain name can be an IP
|
**rougail.var2** +
`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[domainname]` `standard` `mandatory` `unique` `multiple` |
A second variable. +
**Validator**: the domain name can be an IP +
**Default**: the value of the variable "rougail.var1".
|====