Skip to content

Commit

Permalink
fix: configuration reference (#1957)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alnr authored Nov 29, 2024
1 parent 9cd1e71 commit c6f7236
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/hydra/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ title: Configuration
```mdx-code-block
import ConfigMarkdown from '@site/src/components/ConfigMarkdown';
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/hydra/master/spec/config.json" binary="hydra" />
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/hydra/master/.schema/config.schema.json" binary="hydra" />
```
2 changes: 1 addition & 1 deletion docs/keto/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ title: Configuration
```mdx-code-block
import ConfigMarkdown from '@site/src/components/ConfigMarkdown';
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/keto/master/embedx/config.schema.json" binary="keto" />
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/keto/master/.schema/config.schema.json" binary="keto" />
```
2 changes: 1 addition & 1 deletion docs/kratos/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ title: Configuration
```mdx-code-block
import ConfigMarkdown from '@site/src/components/ConfigMarkdown';
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/kratos/master/embedx/config.schema.json" binary="kratos" />
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/kratos/master/.schemastore/config.schema.json" binary="kratos" />
```
2 changes: 1 addition & 1 deletion docs/oathkeeper/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ title: Configuration
```mdx-code-block
import ConfigMarkdown from '@site/src/components/ConfigMarkdown';
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/oathkeeper/master/spec/config.schema.json" binary="oathkeeper" />
<ConfigMarkdown src="https://raw.githubusercontent.com/ory/oathkeeper/master/.schema/config.schema.json" binary="oathkeeper" />
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ConfigMarkdown/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit c6f7236

Please sign in to comment.