mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 05:10:20 +03:00
Update cli/README.md
Co-authored-by: Adam Altman <adam@redoc.ly>
This commit is contained in:
parent
e29888bf54
commit
aa44833be6
|
@ -31,7 +31,7 @@ Some examples:
|
||||||
- Bundle using a custom template and add custom `templateOptions`:<br/>
|
- Bundle using a custom template and add custom `templateOptions`:<br/>
|
||||||
`$ redoc-cli build [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"`
|
`$ redoc-cli build [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"`
|
||||||
|
|
||||||
#### With `.redocly.yaml` file ([more info](https://redocly.com/docs/cli/configuration/#redocly-configuration-file)):
|
#### With a Redocly configuration file ([more info](https://redocly.com/docs/cli/configuration/#redocly-configuration-file)):
|
||||||
|
|
||||||
1. Go to folder with your Redocly configuration file (`.redocly.yaml` or `redocly.yaml`) and your OpenAPI definition file.
|
1. Go to folder with your Redocly configuration file (`.redocly.yaml` or `redocly.yaml`) and your OpenAPI definition file.
|
||||||
2. Build the site using the `build` command (options from the Redocly configuration file will be automatically fetched):
|
2. Build the site using the `build` command (options from the Redocly configuration file will be automatically fetched):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user