mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-05 12:50:18 +03:00
docs: instructions for using .redocly.yaml
This commit is contained in:
parent
74c9e81f8d
commit
3e4a712912
|
@ -31,4 +31,10 @@ Some examples:
|
|||
- Bundle using a custom template and add custom `templateOptions`:<br/>
|
||||
`$ redoc-cli build [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"`
|
||||
|
||||
#### With `.redocly.yaml` file ([more info](https://redoc.ly/docs/api-reference-docs/on-premise/cli-usage/#example-with-try-it-console-enabled)):
|
||||
|
||||
1. Go to folder with `.redocly.yaml` and your definition file
|
||||
2. Build site using command (options from `.redocly.yaml` file will be automatically fetched):
|
||||
`redoc build openapi.yaml`
|
||||
|
||||
For more details, run `redoc-cli --help`.
|
||||
|
|
Loading…
Reference in New Issue
Block a user