mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-09 12:47:48 +00:00
chore: set default severity for lint config (#1292)
This commit is contained in:
@@ -16,18 +16,19 @@ redocly build-docs <api> -t custom.hbs --templateOptions.metaDescription "Page m
|
||||
|
||||
## Options
|
||||
|
||||
| Option | Type | Description |
|
||||
| ------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| api | string | Path to the API description filename or alias that you want to generate the build for. Refer to the [API examples](#api-examples) for more information. |
|
||||
| --output, -o | string | Sets the path and name of the output file. The default value is `redoc-static.html`. |
|
||||
| --title | string | Sets the page title. |
|
||||
| --disableGoogleFont | boolean | Disables Google fonts. The default value is `false`. |
|
||||
| --template, -t | string | Uses custom [Handlebars](https://handlebarsjs.com/) templates to render your OpenAPI description. |
|
||||
| --templateOptions | string | Adds template options you want to pass to your custom Handlebars template. To add options, use dot notation. |
|
||||
| --theme.openapi | string | Customizes your output with [Redoc functionality options](https://redocly.com/docs/api-reference-docs/configuration/functionality/) or [Redoc theming options](https://redocly.com/docs/api-reference-docs/configuration/theming/). |
|
||||
| --config | string | Specifies path to the [configuration file](#custom-configuration-file). |
|
||||
| --help | boolean | Shows help. |
|
||||
| --version | boolean | Shows version number. |
|
||||
| Option | Type | Description |
|
||||
| ------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| api | string | Path to the API description filename or alias that you want to generate the build for. Refer to the [API examples](#api-examples) for more information.<br/> |
|
||||
| --config | string | Specifies path to the [configuration file](#custom-configuration-file). |
|
||||
| --disableGoogleFont | boolean | Disables Google fonts. The default value is false. |
|
||||
| --help | boolean | Shows help. |
|
||||
| --lint-config | string | Specify the severity level for the configuration file. Possible values: warn, error, off. Default value is warn |
|
||||
| --output, -o | string | Sets the path and name of the output file. The default value is redoc-static.html. |
|
||||
| --template, -t | string | Uses custom [Handlebars](https://handlebarsjs.com/) templates to render your OpenAPI description. |
|
||||
| --templateOptions | string | Adds template options you want to pass to your custom Handlebars template. To add options, use dot notation. |
|
||||
| --theme.openapi | string | Customizes your output with [Redoc functionality options](https://redocly.com/docs/api-reference-docs/configuration/functionality/) or [Redoc theming options](https://redocly.com/docs/api-reference-docs/configuration/theming/). |
|
||||
| --title | string | Sets the page title. |
|
||||
| --version | boolean | Shows version number. |
|
||||
|
||||
## Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user