| .. | ||
| src | ||
| static | ||
| .gitignore | 233B | |
| docs-manifest.json | 4.2K | |
| docusaurus.config.ts | 11.9K | |
| node-docs-manifest.json | 2.6K | |
| package-lock.json | 854.1K | |
| package.json | 1.6K | |
| README.md | 1.4K | |
| sidebars-api.ts | 330B | |
| sidebars-node-api.ts | 359B | |
| sidebars-node.ts | 1.2K | |
| sidebars.ts | 1.6K | |
| tsconfig.json | 389B |
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.