This PR adds a new dispatch-docs rule to the Makefile. It builds CLI with a docs build flag.
Markdown is generated in the ./docs directory with Cobra's built-in markdown generator. There's a special case where we have to wrap run command example in the usage by triple backticks to make it look properly in the markdown. This is made possible by adding a isDocsBuild flag.
We can then add those docs to the developer website.
This PR adds a new
dispatch-docs
rule to the Makefile. It builds CLI with adocs
build flag.Markdown is generated in the
./docs
directory with Cobra's built-in markdown generator. There's a special case where we have to wrap run command example in the usage by triple backticks to make it look properly in the markdown.This is made possible by adding aWe can then add those docs to the developer website.isDocsBuild
flag.