dispatchrun / dispatch

Entrypoint of the Dispatch ecosystem.
11 stars 1 forks source link

Create CLI docs #84

Closed chicoxyzzy closed 1 month ago

chicoxyzzy commented 2 months ago

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.