No description
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. |
||
|---|---|---|
| firefox | ||
| firefox.png | ||
| foxyproxy.png | ||
| README.md | ||
[tutorial v1.1_020)] Group variables inside a family
Screenshot
Structure
firefox/00-proxy.yml
%YAML 1.2
---
version: 1.1
proxy_mode:
description: Configure Proxy Access to the Internet
choices:
- No proxy
- Auto-detect proxy settings for this network
- Use system proxy settings
- Manual proxy configuration
- Automatic proxy configuration URL
default: No proxy
...
firefox/10-manual.yml
%YAML 1.2
---
version: 1.1
manual:
description: Manual proxy configuration
type: family
...
Let's generate the documentation
foo@bar:~$ git switch --detach v1.1_020
foo@bar:~$ rougail -m firefox/ -o doc -do github
| Variable | Description |
|---|---|
proxy_modechoice mandatory |
Configure Proxy Access to the Internet. Choices: - No proxy ← (default) - Auto-detect proxy settings for this network - Use system proxy settings - Manual proxy configuration - Automatic proxy configuration URL |