-
Notifications
You must be signed in to change notification settings - Fork 97
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
Generating markdown and html docs from the comments in go files #1264
Comments
For kmeshctl we can use "github.com/spf13/cobra/doc", package
Result of generated markdown doc |
We need more research, to get the best approach of doing this, all sugestions are welcome |
We have https://github.com/kmesh-net/kmesh/blob/main/hack/gen-kmeshctl-doc.sh |
Oohk, we are using cobra go package for kmeshctl, let the issue be open so we can get more ideas of automating generating docs, we also need generating monitoring docs based on below go code
|
What would you like to be added:
We have to research, how can we parse comments in the go files to the markdown and html docs(html docs for the wesite)
Why is this needed:
The KMesh project is currently in a sandboxed state and undergoes frequent updates, causing the documentation to become outdated over time. For example, the kmeshctl documentation on the website does not always reflect the latest changes. To ensure that the documentation remains accurate and up-to-date, we aim to automate the documentation creation process, reducing manual effort and improving consistency across updates.
The text was updated successfully, but these errors were encountered: