-
Notifications
You must be signed in to change notification settings - Fork 25
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
Crdgendoc #432
Crdgendoc #432
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really nice, just some minor nits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice 🤩
|
||
render: | ||
# Version of Kubernetes to use when generating links to Kubernetes API documentation. | ||
kubernetesVersion: 1.20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ranakan19 keep this line in mind when updating the dependencies
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll be bumping it to 1.27 though
Co-authored-by: Matous Jobanek <mjobanek@redhat.com>
Co-authored-by: Matous Jobanek <mjobanek@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 👍 🥇
It's simpler than I expected 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! LGTM
Description
Jira: https://issues.redhat.com/browse/KUBESAW-119
This PR introduces CRD reference docs generation support to the
make generate
command.It uses the latest version of the crd-ref-docs CLI. I've tried using this one https://github.com/ahmetb/gen-crd-api-reference-docs?tab=readme-ov-file but it doesn't seem to work. Also the online service keeps seems stuck while indexing our repo: https://doc.crds.dev/github.com/codeready-toolchain/api
As output a file
api/v1alpha1/docs/apiref.adoc
is generated which contains all the API documentation, changes to this file would need to be committed as any other change.Checks
Did you run
make generate
target? yesDid
make generate
change anything in other projects (host-operator, member-operator)? noIn case of new CRD, did you the following? N/A
resources/setup/roles/host.yaml
in the sandbox-sre repositoryPROJECT
file: https://github.com/codeready-toolchain/host-operator/blob/master/PROJECTCSV
file: https://github.com/codeready-toolchain/host-operator/blob/master/config/manifests/bases/host-operator.clusterserviceversion.yamlIn case other projects are changed, please provides PR links.