Generate API reference in docs #1526
Labels
kind/documentation
Categorizes issue or PR as related to documentation.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
At this point, our docs have an outdated example of ScyllaCluster API. This is historical, manually written and outdated. We also have more APIs / CRs then just ScyllaClusters.
Doing this manually is unmaintainable. But there is a way to generate the API docs automatically, as many sites do, like
With some effort we can get swagger / openapi for our CRDs which can be used with an existing API docs generator. Given we use shpinx, https://github.com/sphinx-contrib/openapi would seem like a natural choice but it didn't work when I tried (see sphinx-contrib/openapi#144) for details.
If that doesn't get fixed we could generate markdown, like kube does https://github.com/kubernetes/website/blob/5c744748410a7f1d4ebaa03800ace6c2c4f672e2/content/en/blog/_posts/2020-12-04-gsod-2020-improving-api-reference-experience.md#markdown-pages
The text was updated successfully, but these errors were encountered: