-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Currently, we don't have API reference documentation.
For serving API we have spec.md which I've been able to find multiple errors in it, and it's a manual maintenance.
For build API, we also have a hand-written informal syntax at builds.md.
-
Kubernetes API reference docs generated with gen-apidocs which uses
/swagger.jsonor/apispaths exposed on Kubernetes API server -
Istio API reference docs are generated with protoc-gen-doc codegen plugin because Istio provides their api as protos
Knative doesn't fit either (we can use k8s /apis endpoint yet because it doesn't expose CRD OpenAPI specs).
So I propose we start generating these things from the source code (i.e pkg/apis at each repo) and import them to the knative/docs repo after a release happens.
I'll work on something right away if there are no objections.
/area API
/kind docs