clone

a deno framework for local-first web apps that open instantly, work offline and sync when users choose

feat(site): add Docusaurus docs site with generated API reference and llms.txt

Dami committed 0041cc6
website/ renders the existing docs/ markdown unchanged (spikes and
contributor-internal files excluded), ports the lofi-site landing page as
the homepage, and serves an API reference generated from deno doc --json
over the shared JSR entrypoint catalog. llms.txt and llms-full.txt are
generated from the same manifest that drives the sidebar, so the deployed
corpus always matches the published docs. site.yml builds on PRs and
deploys to the Cloudflare Pages project behind lofi.host on main pushes.
commit
0041cc696ef65b4a718d417659590118fb12e196
parent
f32c450c18024d1debac8f0442becd10ec76fd17
author
Dami <dami.etoile@gmail.com>
26 files changed, +23804 -24
M.github/workflows/site.yml56+
M.gitignore7+
Mdeno.json10+-
Mdocs/README.md3+-
Mtools/api_docs.ts544+
Mtools/doc_lint.ts24+-
Mtools/entrypoints.ts78+
Mtools/site_llms.ts152+
Mwebsite/.gitignore20+
Mwebsite/README.md34+
Mwebsite/docs-manifest.json69+
Mwebsite/docusaurus.config.ts168+
Mwebsite/package-lock.json20685++++++++++++++++++++++++++++++
Mwebsite/package.json50+
Mwebsite/sidebars-api.ts9+
Mwebsite/sidebars.ts55+
Mwebsite/src/components/SyncDemo.tsx231+
Mwebsite/src/css/custom.css59+
Mwebsite/src/css/landing.css1064++
Mwebsite/src/pages/index.tsx454+
Mwebsite/static/.nojekyll0
Mwebsite/static/img/favicon.svg21+
Mwebsite/static/img/lofi-hero-art.webpbin
Mwebsite/static/img/lofi-social-card.pngbin
Mwebsite/static/img/lofi-wordmark.svg23+
Mwebsite/tsconfig.json12+
M .github/workflows/site.yml +56 -0

Diff not shown: this commit changes too many lines.

M .gitignore +7 -0

Diff not shown: this commit changes too many lines.

M deno.json +8 -2

Diff not shown: this commit changes too many lines.

M docs/README.md +2 -1

Diff not shown: this commit changes too many lines.

M tools/api_docs.ts +544 -0

Diff not shown: this commit changes too many lines.

M tools/doc_lint.ts +3 -21

Diff not shown: this commit changes too many lines.

M tools/entrypoints.ts +78 -0

Diff not shown: this commit changes too many lines.

M tools/site_llms.ts +152 -0

Diff not shown: this commit changes too many lines.

M website/.gitignore +20 -0

Diff not shown: this commit changes too many lines.

M website/README.md +34 -0

Diff not shown: this commit changes too many lines.

M website/docs-manifest.json +69 -0

Diff not shown: this commit changes too many lines.

M website/docusaurus.config.ts +168 -0

Diff not shown: this commit changes too many lines.

M website/package-lock.json +20685 -0

Diff not shown: this commit changes too many lines.

M website/package.json +50 -0

Diff not shown: this commit changes too many lines.

M website/sidebars-api.ts +9 -0

Diff not shown: this commit changes too many lines.

M website/sidebars.ts +55 -0

Diff not shown: this commit changes too many lines.

M website/src/components/SyncDemo.tsx +231 -0

Diff not shown: this commit changes too many lines.

M website/src/css/custom.css +59 -0

Diff not shown: this commit changes too many lines.

M website/src/css/landing.css +1064 -0

Diff not shown: this commit changes too many lines.

M website/src/pages/index.tsx +454 -0

Diff not shown: this commit changes too many lines.

M website/static/.nojekyll +0 -0

Diff not shown: this commit changes too many lines.

M website/static/img/favicon.svg +21 -0

Diff not shown: this commit changes too many lines.

M website/static/img/lofi-hero-art.webp +0 -0

Diff not shown: this commit changes too many lines.

M website/static/img/lofi-social-card.png +0 -0

Diff not shown: this commit changes too many lines.

M website/static/img/lofi-wordmark.svg +23 -0

Diff not shown: this commit changes too many lines.

M website/tsconfig.json +12 -0

Diff not shown: this commit changes too many lines.