Documentation
¶
Overview ¶
Command sitegen writes the public landing page.
The page is generated rather than written by hand so that what it claims about Flockdeck comes from the repository it is built in: the agents it names and the install line sit next to the code that makes them true. The help itself stays in the application, behind F1, where it is rendered with the real key bindings substituted into it.
The markup and the stylesheet live beside this file as real .html and .css rather than as string constants in Go. They are long enough, and enough of what they do is visual, that editing them wants an editor that knows what they are; the few things that come from the repository are template actions.
The output is plain files with no build step, because the site is served as a container image built from a repository of its own:
go run ./cmd/sitegen -out ../flockdeck-site -shot shot.png