cobra
cobra copied to clipboard
doc.GenMarkdownTree() annotation at the bottom gets interpreted by mkdocs as a navigational section
The ###### Auto generated by spf13/cobra on [...]
line gets interpreted by mkdocs as its own navigational section and presents as a link in the page's table of contents:
I'd like to change this to italics so this doesn't happen anymore.
Note: there is a bool that can be set to disable this generation:
https://github.com/spf13/cobra/blob/4cafa37bc4bb85633b4245aa118280fe5a9edcd5/command.go#L237-L239
I know :) I still want that autogenerated message, just without a header prefix.