A family of production-grade libraries for AdonisJS. Each ships on its own, but they compose: they share context, emit to one diagnostics bus and surface in one observability console. This repository is the documentation site that brings them together.
Docs: https://davidecarvalho.github.io/agora/
Running Agora in production? Tell us about it.
Built with Next.js and Fumadocs, exported statically to GitHub Pages. Each library keeps its docs
in its own repository (docs/); scripts/sync-docs.mjs pulls them into content/docs/<slug>/
before every build, and the site redeploys on a schedule and on a lib-docs-updated dispatch from
a library repo.
pnpm install
pnpm dev # syncs the docs from your local library checkouts, then starts Next.js
pnpm build # syncs from GitHub, checks links, exports to out/Each library's latest docs (its default branch, ref in scripts/docs-sources.mjs) are served at
/docs/<slug>/.... Older majors are pinned to a git tag and served at /docs/<slug>/<id>/..., with a
version dropdown in the sidebar and an "older version" banner on every page. Search, llms.txt and
llms-full.txt cover only the latest docs.
When a library ships a new major (say durable 2.0), in its entry in scripts/docs-sources.mjs:
- Prepend the previous major to
versions, pinned to its last release tag of the main package:{ id: 'v1', label: '1.x', ref: '@adonis-agora/durable@1.12.3' }. Addpath: '...'only if the docs lived somewhere else in the repo at that tag. - Bump
latestLabelto'2.x'.
Then run pnpm sync:docs durable && pnpm check:links (or pnpm build) to check it. Links inside an
older version stay inside it; links to other libraries go to their latest docs. A library with no
older majors simply has no versions and shows no dropdown.