From dd5fa8dd574b53b3ea63819b99bd5cca87a375c1 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 2 Jul 2024 14:21:47 -0700 Subject: [PATCH] chore(docs): add redocly config file --- .github/workflows/generate-api-documentation.yaml | 2 +- docs/api/redocly.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 docs/api/redocly.yaml 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