From c6f7236f0f74c5d3fece8ab2521fea197811d7bd Mon Sep 17 00:00:00 2001 From: Arne Luenser Date: Fri, 29 Nov 2024 14:12:10 +0100 Subject: [PATCH] fix: configuration reference (#1957) After this change, we use the complete rendered config from the latest release. The sub-schemas for tracing and logging are generated in the individual repos. --- docs/hydra/reference/configuration.mdx | 2 +- docs/keto/reference/configuration.mdx | 2 +- docs/kratos/reference/configuration.mdx | 2 +- docs/oathkeeper/reference/configuration.mdx | 2 +- package.json | 2 +- src/components/ConfigMarkdown/index.tsx | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/hydra/reference/configuration.mdx b/docs/hydra/reference/configuration.mdx index 27322a2b8..830085e89 100644 --- a/docs/hydra/reference/configuration.mdx +++ b/docs/hydra/reference/configuration.mdx @@ -6,5 +6,5 @@ title: Configuration ```mdx-code-block import ConfigMarkdown from '@site/src/components/ConfigMarkdown'; - + ``` diff --git a/docs/keto/reference/configuration.mdx b/docs/keto/reference/configuration.mdx index 6dc2629c3..b390e3d8b 100644 --- a/docs/keto/reference/configuration.mdx +++ b/docs/keto/reference/configuration.mdx @@ -6,5 +6,5 @@ title: Configuration ```mdx-code-block import ConfigMarkdown from '@site/src/components/ConfigMarkdown'; - + ``` diff --git a/docs/kratos/reference/configuration.mdx b/docs/kratos/reference/configuration.mdx index 9d2059774..200bb24ce 100644 --- a/docs/kratos/reference/configuration.mdx +++ b/docs/kratos/reference/configuration.mdx @@ -6,5 +6,5 @@ title: Configuration ```mdx-code-block import ConfigMarkdown from '@site/src/components/ConfigMarkdown'; - + ``` diff --git a/docs/oathkeeper/reference/configuration.mdx b/docs/oathkeeper/reference/configuration.mdx index 3df9a2512..ad909fb72 100644 --- a/docs/oathkeeper/reference/configuration.mdx +++ b/docs/oathkeeper/reference/configuration.mdx @@ -6,5 +6,5 @@ title: Configuration ```mdx-code-block import ConfigMarkdown from '@site/src/components/ConfigMarkdown'; - + ``` diff --git a/package.json b/package.json index c1b452b46..fbee9e82c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "docusaurus": "docusaurus", "gen:api": "mkdir -p .static && cp ../spec/api.json src/static/api.json", "gen:config": "node src/scripts/config.js config.js", - "start": "docusaurus start", + "start": "docusaurus start --no-minify", "build": "docusaurus build", "swizzle": "docusaurus swizzle", "serve": "docusaurus serve", diff --git a/src/components/ConfigMarkdown/index.tsx b/src/components/ConfigMarkdown/index.tsx index b6c5e061e..67454d0f1 100644 --- a/src/components/ConfigMarkdown/index.tsx +++ b/src/components/ConfigMarkdown/index.tsx @@ -11,8 +11,8 @@ import CodeBlock from "@theme/CodeBlock" const parser = new RefParser() const refs = { - "ory://tracing-config": `https://raw.githubusercontent.com/ory/x/v0.0.543/otelx/config.schema.json`, - "ory://logging-config": `https://raw.githubusercontent.com/ory/x/v0.0.543/logrusx/config.schema.json`, + "ory://tracing-config": `https://raw.githubusercontent.com/ory/x/master/otelx/config.schema.json`, + "ory://logging-config": `https://raw.githubusercontent.com/ory/x/master/logrusx/config.schema.json`, } const enhance =