Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate documentation from k8s CRDs #656

Closed
Tracked by #778
mowies opened this issue Jan 19, 2023 · 4 comments · Fixed by #884
Closed
Tracked by #778

Generate documentation from k8s CRDs #656

mowies opened this issue Jan 19, 2023 · 4 comments · Fixed by #884
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@mowies
Copy link
Member

mowies commented Jan 19, 2023

Goal

Since our CRDs already have documentation attached to them, it would be great to generate a proper API documentation out of them and put it into our docs page.
Some auto-generators like the ones listed at the bottom could be used for that.

Technical Details

  • generate markdown docs from CRDs that are located under operator/config/crd (keep in mind that a kustomize command needs to be run to get the resulting yaml)
  • automatically put the docs files into a folder under docs
  • generate CRD docs with their corresponding API versions and have those show up in a structured way on the docs page

Other tools that could be used

https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs
https://github.com/ahmetb/gen-crd-api-reference-docs
https://github.com/elastic/crd-ref-docs
https://github.com/fybrik/crdoc

@mowies mowies added this to the 0.7 milestone Jan 19, 2023
@mowies mowies added good first issue Good for newcomers enhancement New feature or request labels Jan 19, 2023
@mowies mowies moved this to 🎟️ Refined in Keptn Lifecycle Toolkit Jan 19, 2023
@shardulsrivastava
Copy link
Contributor

@mowies I can take this up, pls assign it to me.

@mowies mowies moved this from 🎟️ Refined to 🏃 In progress in Keptn Lifecycle Toolkit Jan 23, 2023
@mowies
Copy link
Member Author

mowies commented Jan 31, 2023

@shardulsrivastava any updates on this? :)

@shardulsrivastava
Copy link
Contributor

@mowies I am onto this now, was working on this one until now #677. Will raise the PR by tmrw

@mowies
Copy link
Member Author

mowies commented Feb 14, 2023

@shardulsrivastava need any help? are still working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants