Presence Frontend
Documented packages
Section titled “Documented packages”What this site is
Section titled “What this site is”This site documents shared packages in the pl-frontend monorepo. It deploys automatically from main to Cloudflare Pages via the docs.yml workflow. The package itself (@presencelearning/docs) is private and never published to npm.
To add docs for another package: drop a new content folder under src/content/docs/<package>/, add a sidebar entry in astro.config.mjs, add a LinkCard above, and add the package path to the trigger list in .github/workflows/docs.yml so the site rebuilds when that package changes. Content folders are named after the package name minus the @presencelearning/ scope, which is not always the folder name — packages/config is documented under frontend-config/. Per-package interactive previews go under apps/<package>-*-preview/.