PaprikaPaprikaDocs
HomeGitHubPortuguês

Reference

ADR 0006: Astro (static) for the site

#Context

The site at paprika.js.org was one Node script (apps/site/scripts/build.mjs, 320 lines) that rendered the landing page from a Paprika document and every doc page from Markdown with marked. It worked, but each new need landed in that one file: a flat list of 15 pages (10 docs in the repository were missing), no search, no table of contents, one theme with hard-coded colors, and no syntax highlighting. The new design adds a grouped sidebar, search, light and dark themes and a home page for the docs.

#Decision

The site is an Astro project with static output (output: "static", SSG). No server, no client framework.

#Consequences

Edit this page on GitHub