Skip to content

Commit

Permalink
fix: generate doc
Browse files Browse the repository at this point in the history
  • Loading branch information
vanonox committed Apr 27, 2021
1 parent 18b941d commit d5fca4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions cmd/zz_gen_cmd_dnshelp.go
Original file line number Diff line number Diff line change
Expand Up @@ -1627,12 +1627,10 @@ func displayDNSHelp(name string) error {

ew.writeln(`Credentials:`)
ew.writeln(` - "SCALEWAY_API_TOKEN": API token`)
ew.writeln(` - "SCALEWAY_PROJECT_ID": Project to use (optional)`)
ew.writeln()

ew.writeln(`Additional Configuration:`)
ew.writeln(` - "SCALEWAY_API_VERSION": API version`)
ew.writeln(` - "SCALEWAY_BASE_URL": API endpoint URL`)
ew.writeln(` - "SCALEWAY_HTTP_TIMEOUT": API request timeout`)
ew.writeln(` - "SCALEWAY_POLLING_INTERVAL": Time between DNS propagation check`)
ew.writeln(` - "SCALEWAY_PROPAGATION_TIMEOUT": Maximum waiting time for DNS propagation`)
ew.writeln(` - "SCALEWAY_TTL": The TTL of the TXT record used for the DNS challenge`)
Expand Down
6 changes: 2 additions & 4 deletions docs/content/dns/zz_gen_scaleway.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ lego --email myemail@example.com --dns scaleway --domains my.example.org run
| Environment Variable Name | Description |
|-----------------------|-------------|
| `SCALEWAY_API_TOKEN` | API token |
| `SCALEWAY_PROJECT_ID` | Project to use (optional) |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here](/lego/dns/#configuration-and-credentials).
Expand All @@ -42,9 +43,6 @@ More information [here](/lego/dns/#configuration-and-credentials).

| Environment Variable Name | Description |
|--------------------------------|-------------|
| `SCALEWAY_API_VERSION` | API version |
| `SCALEWAY_BASE_URL` | API endpoint URL |
| `SCALEWAY_HTTP_TIMEOUT` | API request timeout |
| `SCALEWAY_POLLING_INTERVAL` | Time between DNS propagation check |
| `SCALEWAY_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
| `SCALEWAY_TTL` | The TTL of the TXT record used for the DNS challenge |
Expand All @@ -57,7 +55,7 @@ More information [here](/lego/dns/#configuration-and-credentials).

## More information

- [API documentation](https://developers.scaleway.com/en/products/domain/api/)
- [API documentation](https://developers.scaleway.com/en/products/domain/dns/api/)

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/scaleway/scaleway.toml -->
Expand Down

0 comments on commit d5fca4a

Please sign in to comment.