diff --git a/docs/docs/self-hosting/manage/configure/configure.mdx b/docs/docs/self-hosting/manage/configure/configure.mdx index c68f716d63..75d7ad961c 100644 --- a/docs/docs/self-hosting/manage/configure/configure.mdx +++ b/docs/docs/self-hosting/manage/configure/configure.mdx @@ -10,8 +10,8 @@ import Compose from "./_compose.mdx"; import Helm from "./_helm.mdx"; import Login from "./_login.md"; import CodeBlock from "@theme/CodeBlock"; -import DefaultsYamlSource from "!!raw-loader!./defaults.yaml"; -import StepsYamlSource from "!!raw-loader!./steps.yaml"; +import DefaultsYamlSource from "!!raw-loader!../../../../../apps/api/cmd/defaults.yaml"; +import StepsYamlSource from "!!raw-loader!../../../../../apps/api/cmd/setup/steps.yaml"; This guide assumes you are familiar with [running ZITADEL using the least amount of configuration possible](/docs/self-hosting/deploy/overview). diff --git a/docs/package.json b/docs/package.json index 23298f3497..f1eba7c1b7 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,10 +12,9 @@ "write-heading-ids": "docusaurus write-heading-ids", "ensure-plugins": "if [ ! -f \"protoc-gen-connect-openapi/protoc-gen-connect-openapi\" ]; then sh ./plugin-download.sh; fi", "debug-plugins": "echo \"PWD: $(pwd)\" && echo \"Plugin file exists: $(test -f protoc-gen-connect-openapi/protoc-gen-connect-openapi && echo 'yes' || echo 'no')\" && echo \"Plugin executable: $(test -x protoc-gen-connect-openapi/protoc-gen-connect-openapi && echo 'yes' || echo 'no')\" && ls -la protoc-gen-connect-openapi/ || echo 'Plugin directory not found'", - "generate": "pnpm run generate:grpc && pnpm run generate:apidocs && pnpm run generate:configdocs && pnpm run ensure-plugins", + "generate": "pnpm run generate:grpc && pnpm run generate:apidocs && pnpm run ensure-plugins", "generate:grpc": "pnpm run ensure-plugins && buf generate ../proto", "generate:apidocs": "docusaurus gen-api-docs all", - "generate:configdocs": "cp -r ../apps/api/cmd/defaults.yaml ./docs/self-hosting/manage/configure/ && cp -r ../apps/api/cmd/setup/steps.yaml ./docs/self-hosting/manage/configure/", "generate:re-gen": "yarn generate:clean-all && pnpm generate", "generate:clean-all": "docusaurus clean-api-docs all", "postinstall": "sh ./plugin-download.sh", diff --git a/docs/project.json b/docs/project.json index 47d4c6f239..4839997a8b 100644 --- a/docs/project.json +++ b/docs/project.json @@ -17,7 +17,8 @@ "{projectRoot}/build/**" ], "dependsOn": [ - "generate" + "generate", + "{workspaceRoot}/apps/api/cmd/**/*.yaml" ], "options": { "env": {