// Command docs-colophon writes Docs' Colophons from what Docs ships // (internal/shipped): the server's packages to internal/docs/colophon.json, // which the server builds its Help → Colophon from with estilo's catalog, // and the Apple apps' Colophon, already built, to DocsKit's // Resources/Colophon.json. Run it from the repository root after any // dependency, bundle, font or catalog change: // // go run ./cmd/docs-colophon // // The tests in internal/shipped fail until it has been run. package main import ( "fmt" "os" "github.com/carlosframework/docs/internal/shipped" ) func main() { if err := shipped.Write("."); err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } }