-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
hugo convert, documentation: add section 'Available commands' #11168
Comments
I moved this issue to where it belongs. The above documentation is auto generated (from Cobra). I'm pretty sure the above should be possible to fix (it's a good idea), but it needs someone to look into the |
You can find the subcommands and links to their documentation at the bottom of the page under the "SEE ALSO" section. Going through the source code of Cobra (see md_docs.go), I was not able to find a way to add the very same "Available Commands" section to the generated MD docs. |
I know.
I submitted a PR in the cobra repo that addresses the issue raised by me. Feel free to give it a like! |
When using the help function of the
convert
command, a sectionAvailable commands
is printed out:This section is not given on the documentation page for the
convert
command. Were nice if this section could be added. Alternatively, we could add links to the three subcommandstoJSON
,toTOML
andtoYAML
which link to their corresponding documentation site. Not sure if this an option since the documentation page is auto-generated AFAICS.The text was updated successfully, but these errors were encountered: