Makes the documentation site reflect the shipped product and adds a static deployment path for the newly-registered lawsynth.dev on Cloudflare Pages. Content (apps/docs-site/src/content.ts): sharpened landing page + two new pages — /capabilities (Discover / Analyze / Control / Share, every claim tied to a real CLI command or SDK call, with an honest-boundaries section) and /determinism (bit-identical reproducibility as the contract, what it does and does not guarantee). getting-started/concepts updated with pointers. All cross-checked against crates/lawsynth-cli usage() + the Python/TS SDK surfaces; crate-internal methods without a user-facing command were deliberately left off (no overclaim). Deploy tooling: - render-static.mjs — deterministic static-site emitter. The SSG is Node-free (pure TS); this thin .mjs boundary imports the tested in-memory site model and writes one self-contained index.html per page + sitemap.xml/robots.txt plus the Cloudflare _headers (nosniff/DENY/strict CSP) and _redirects. Byte-identical across runs. `.mjs` keeps @types/node out of the pure-TS build. - wrangler.toml (pages_build_output_dir = public), npm run render / deploy, DEPLOY.md (direct upload + Git-connected Pages settings), .gitignore for generated public/. Origin stays https://lawsynth.dev. - 2 new emitter tests (files emitted + determinism). docs-site 11/11 pass. Also: full `cargo test --workspace` sweep is green (exit 0) across all crates.
18 lines
623 B
TOML
18 lines
623 B
TOML
# Cloudflare Pages project for the LawSynth documentation site (lawsynth.dev).
|
|
#
|
|
# The site is a fully static tree emitted by `npm run render` (see package.json),
|
|
# so Pages serves it directly — no Functions/Workers required for the docs.
|
|
#
|
|
# Deploy from this directory:
|
|
# npm run render
|
|
# npx wrangler pages deploy public --project-name lawsynth
|
|
#
|
|
# Or configure a Git-connected Pages project with:
|
|
# Build command: npm run render
|
|
# Build output dir: apps/docs-site/public
|
|
# Root directory: apps/docs-site
|
|
|
|
name = "lawsynth"
|
|
compatibility_date = "2024-11-01"
|
|
pages_build_output_dir = "public"
|