Marketing and documentation site for idpishield, built with Astro (static output) and Tailwind CSS v4.
- Astro 5 (SSG)
- Tailwind CSS v4
- React (only where needed)
- Bun (dependency/runtime in CI and deploy workflows)
- Bun
>=1.0 - Node.js
>=18(for local tooling compatibility)
bun install
bun run devOpen http://localhost:4321.
bun run dev— start local dev serverbun run build— production build todist/bun run preview— preview production buildbun run type-check— Astro type checks (astro check)
Documentation is pulled from the main idpishield repo at build time via docs/index.json. The site fetches markdown files from the repo's docs/ directory on the main branch.
For local development against a local copy of the docs:
- Set
USE_LOCAL_DOCS = trueinsrc/lib/docs/config.ts - Point
LOCAL_DOCS_PATHto your localidpishield/docsdirectory
src/components/ui— reusable UI primitivessrc/components/features— page sectionssrc/components/layout— base layout + footersrc/components/docs— documentation rendererssrc/lib/docs/— docs loader (fetches from GitHub at build time)src/pages/index.astro— homepagesrc/pages/docs/— documentation pagespublic/— static assets
Runs on push/PR to main: install, type-check, build.
Deploys to GitHub Pages on push to main.