No description
"Foo" should not be an option to the "proxy_mode" variable. Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected. We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices. |
||
|---|---|---|
| firefox | ||
| firefox.png | ||
| foxyproxy.png | ||
| README.md | ||
[tutorial v1.1_004)] Limits the possible values for the variable
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
...
Let's generate the documentation
foo@bar:~$ git switch --detach v1.1_004
foo@bar:~$ rougail -m firefox/ -o doc
| 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 |
Let's generate the changelog
foo@bar:~$ git switch --detach v1.1_004
foo@bar:~$ rougail -m firefox/ -o doc --doc.contents changelog
Modified variable
| Variable | Description |
|---|---|
proxy_modestringchoice 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 |