Publishing a new package
- Scaffold — copy the
docs/folder of llms-txt-bundle, change theslug,titleanddescriptioninastro.config.mjs, then split the README into pages. - Workflow — copy
.github/workflows/docs.yml: it calls the reusabledocs-site.ymlofsilarhi/docs-kit, which builds on every pull request touchingdocs/and deploys to GitHub Pages on the default branch. - Composer archive — add
/docs export-ignoreto.gitattributes. - GitHub Pages — Settings → Pages: source GitHub Actions, custom domain
<package>.silarhi.dev, Enforce HTTPS. - DNS — Cloudflare zone
silarhi.dev:CNAME <package> → silarhi.github.io, DNS only (grey cloud), otherwise GitHub cannot issue the certificate. - Hub — set
published: truefor the package inpackages/docs-kit/packages.js, release the theme: the hub and the footer of every site link to it. - README — link the documentation site and add it as the repository Website (
gh repo edit --homepage).
