Official documentation site for Opteryx.
- Next.js (App Router)
- React
- Tailwind CSS
- Markdown rendered via
marked
Run from repo root:
make serveOr directly:
cd docs-site
npm ci
npm run devdocs-site/content/docs/- Markdown source for non-reference docs (/docs/*pages).docs-site/reference/- Markdown source for API, SQL, and Python reference docs.docs-site/nav.json- sidebar structure and reference route metadata.docs-site/app/docs/[...slug]/page.tsx- dynamic renderer for non-reference docs.docs-site/app/docs/reference/[...slug]/page.tsx- dynamic renderer for reference docs.docs-site/app/lib/docsNav.ts- shared nav + breadcrumb + reference path mapping logic.docs-site/scripts/validate-docs.mjs- nav/content integrity checks for docs paths and markdown links.cloudbuild/- Cloud Build deployment config.
- Edit non-reference pages in
docs-site/content/docs/. - Edit reference pages in
docs-site/reference/. - Add/update
docs-site/nav.jsonwhen navigation should change.
make buildor:
cd docs-site
npm run buildmake validate