Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: co-locate the api doc with the protoc gen (#10932)

Tianzhou (天舟)2f49b8900343
diff --git a/docs/README.md b/docs/README.md
index 8f802acfa0..5d1b91749d 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,9 +4,4 @@
bytebase-1.0.0.tgz and index.yaml is to host template for https://artifacthub.io/packages/helm/bytebase/bytebase.
-We use GitHub Pages as the web server to host Helm content and GitHub only allows to put the content under `/` or `/docs`.
-
-## API
-
-* [v1](https://bytebase.github.io/bytebase/api/v1/)
-* [store](https://bytebase.github.io/bytebase/api/store/)
+We use GitHub Pages as the web server to host Helm content and GitHub only allows to put the content under `/` or `/docs`.
\ No newline at end of file
diff --git a/proto/buf.gen.yaml b/proto/buf.gen.yaml
index 3fa7d0f712..8ea7bf4a95 100644
--- a/proto/buf.gen.yaml
+++ b/proto/buf.gen.yaml
@@ -25,6 +25,6 @@ plugins:
opt:
- markdown,README.md,source_relative
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
- out: ../docs/api
+ out: gen/grpc-doc
opt:
- html,index.html,source_relative
diff --git a/docs/api/store/index.html b/proto/gen/grpc-doc/store/index.html
similarity index 100%
rename from docs/api/store/index.html
rename to proto/gen/grpc-doc/store/index.html
diff --git a/docs/api/v1/index.html b/proto/gen/grpc-doc/v1/index.html
similarity index 100%
rename from docs/api/v1/index.html
rename to proto/gen/grpc-doc/v1/index.html