docs: instructions for using .redocly.yaml

This commit is contained in:
anastasiia-developer 2022-05-10 12:05:17 +03:00
parent 74c9e81f8d
commit 3e4a712912

View File

@ -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`.