Documentation
¶
Overview ¶
Command docgen writes docs.flockdeck.ai: the "using Flockdeck" section is rendered straight from internal/help, the same Markdown and the same key-table placeholders that render behind F1 in the app, so a web copy of it cannot say anything the app itself does not — the one thing flockdeck-site's own sitegen deliberately declined to do, because a second copy of the help would be a second version to keep honest. Here it isn't a second version: it's the same one, generated again.
The self-hosting section has no such source inside the app — there is nothing self-hosting a relay to render placeholders from — so it is ordinary Markdown, written by hand and kept in the docs repository itself, under content/self-hosting. This program only ever reads that directory; it never writes into it.
Usage, from a checkout of this repository, beside a checkout of github.com/jmwri/flockdeck-docs:
go run ./cmd/docgen -out ../flockdeck-docs