Source for the Plinth documentation site at plinth.run.
Built with Astro + Starlight. Deployed to GitHub Pages on every push to main.
pnpm install
pnpm dev # http://localhost:4321
pnpm build # produces dist/
pnpm check # astro + typescript checks
pnpm lint # biomesrc/
├── assets/ # Logo, theme tweaks
├── content/docs/
│ ├── index.md # Landing
│ ├── manifesto.md # The six commitments
│ ├── architecture.md # Substrate technical reference
│ ├── start/ # Tutorials
│ ├── sdk/ # SDK design ADRs
│ ├── examples/ # Sample modules
│ └── adr/ # Architecture decision records
└── content.config.ts # Starlight content collections
public/
├── CNAME # plinth.run
├── explorer.html # Interactive companion to architecture.md
└── favicon.svg
- Add a page: drop a
.mdor.mdxfile undersrc/content/docs/. Pages withautogenerateparents (sdk/,examples/,adr/) appear in the sidebar automatically. - Add an ADR: create
src/content/docs/adr/NNNN-title.mdusing the ADR template. - Update the architecture page: edit
src/content/docs/architecture.mddirectly. The interactive explorer at/explorer.htmlis a static asset — keep it in sync if you change the architecture.
MIT — see LICENSE.