lofi.host
The Docusaurus site for lofi.host: the landing page, the user docs rendered
from the repo's docs/ folder, the API reference generated from JSDoc, and the llms.txt /
llms-full.txt corpus.
Layout
docusaurus.config.ts— reads../as the docs source; excludes repo-only content (docs spikes/,devx-contract.md,seed.md).docs-manifest.json— the single source of truth for which docs are published and in what order.sidebars.tsbuilds the sidebar from it and../buildstools/ site_llms.ts llms.txtfrom it.api-gen/— generated by../fromtools/ api_docs.ts deno doc --json; gitignored.static/,llms.txt static/— generated byllms-full.txt ../; gitignored.tools/ site_llms.ts src/+pages/ index.tsx src/— the landing page, ported from the standalone lofi-site.css/ landing.css
Develop
From the repository root:
deno task site:dev # generate API pages + llms files, then start the dev server
deno task site:build # full production build into website/build
Docs content edits belong in ../ (plain CommonMark, no frontmatter — the same files
render on GitHub and JSR). New docs must be added to docs-manifest.json to appear in the sidebar
and llms.txt.
Deploy
.github/ builds on every PR touching site inputs and deploys to Cloudflare
Pages (project lofi-host, domain lofi.host) on every push to main.