APIAn API endpoint writes its own response instead of returning an HTML string. Set the Api handler on an endpoint to serve JSON from your Constellation app.Read document →ElementsThe lib/elements package provides one function per HTML tag. Every function takes a WebComponent and returns an HTML string.Read document →Getting StartedConstellation is a small web framework built with Go's standard library. You declare endpoints, return HTML from a handler, and the framework wraps it in a...Read document →RenderingA handler returns the body of the page as a string. The framework supplies the HTML document around it.Read document →RoutingRoutes are declared as constellation.Endpoint values and registered with AddEndpoint before the server starts.Read document →StylingThe site stylesheet lives in static/styles.css. It is embedded into the binary at build time, so the server has no runtime file dependency for CSS.Read document →

Markdown is the source

Edit a file in docs/ and rebuild to update the site. No documentation is read from disk at request time.