diff --git a/README.md b/README.md index af81f61..0ede455 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,7 @@ Edit **rt-authenticity.yml** - remove **components.schemas.AuthenticityCheckResu Then run next command: ``` -npx redoc-cli bundle "$PWD/index.yml" --output document-reader-static-doc.html \ ---options.maxDisplayedEnumValues=5 --options.theme.logo.gutter="20px" \ ---options.theme.colors.primary.main="#8a53cb" --options.expandResponses="all" \ ---options.expandSingleSchemaField --options.hideDownloadButton --options.jsonSampleExpandLevel="6" +npx @redocly/cli build-docs index.yml -o=document-reader-static-doc.html ``` ## Bundle scheme to single .json file diff --git a/redocly.yml b/redocly.yml new file mode 100644 index 0000000..40d9ecd --- /dev/null +++ b/redocly.yml @@ -0,0 +1,13 @@ +theme: + openapi: + hideDownloadButton: true + maxDisplayedEnumValues: 5 + expandResponses: 'all' + expandSingleSchemaField: true + jsonSampleExpandLevel: 6 + theme: + logo: + gutter: '20px' + colors: + primary: + main: '#8a53cb'