diff --git a/.github/workflows/generate-api-documentation.yaml b/.github/workflows/generate-api-documentation.yaml index c314c0742..96351dd68 100644 --- a/.github/workflows/generate-api-documentation.yaml +++ b/.github/workflows/generate-api-documentation.yaml @@ -14,7 +14,7 @@ jobs: - name: Run redoc on openapi.yaml run: | - npx @redocly/cli build-docs openapi.yaml -o docs/api/index.html + npx @redocly/cli --config docs/api/redocly.yaml build-docs openapi.yaml -o docs/api/index.html - name: Commit changes uses: EndBug/add-and-commit@v9 diff --git a/docs/api/redocly.yaml b/docs/api/redocly.yaml new file mode 100644 index 000000000..345122eba --- /dev/null +++ b/docs/api/redocly.yaml @@ -0,0 +1,2 @@ +decorators: + remove-x-internal: on