Product website and developer documentation for mdbase, mdbase Connect, the runtime profiles, and conforming implementations.
pnpm install
pnpm sync:sources
pnpm devThe source synchronizer reads sibling checkouts of mdbase-spec,
mdbase-connect, mdbase-contracts, mdbase-rs, and mdbase by default.
Override their paths with MDBASE_SPEC_DIR, MDBASE_CONNECT_DIR,
MDBASE_CONTRACTS_DIR, MDBASE_RS_DIR, and MDBASE_TS_DIR.
Release checks require gh authentication and cosign; CI installs the pinned
Cosign version used by the Connect release workflow.
pnpm sync:sources
pnpm check
pnpm build
(cd ../mdbase-spec/site && npm ci && npm run build)
pnpm import:spec
pnpm check:linksThe website repository owns the ecosystem pages and deployment cadence. The
normative specification is built by mdbase-spec and imported under /spec/.
Connect schemas, theme roles, the homepage particle field, and implementation
claims are synchronized from their canonical repositories. Generated assets
remain traceable to the release artifacts they document.
The first-party contract catalog is built from the commit pinned in
site-sources.json, then published as static files under /contracts/.
A published Connect desktop release dispatches its immutable tag to
.github/workflows/update-connect-release.yml. The workflow verifies the
GitHub release, Sigstore-signed channel manifest, tag commit, matching npm SDK,
and release assets; regenerates src/data/connect-release.json and the Connect
pin in site-sources.json; runs the complete website test suite; and opens a
normal pull request. It never deploys or pushes main directly. The same
workflow can be run manually with a tag to recover from a delayed npm
publication or failed dispatch.
The workflow uses a GitHub App configured as RELEASE_AUTOMATION_CLIENT_ID and
RELEASE_AUTOMATION_APP_PRIVATE_KEY. Its installation on this repository needs
only contents: write and pull requests: write. The App token ensures the
resulting pull request triggers the ordinary protected Site checks workflow.
pnpm dlx wrangler@4.120.0 login # first use only
pnpm deploy:devThe command builds the current working tree for
https://mdbase-dev.pages.dev, imports the specification, checks local links,
and deploys the main branch of the standalone mdbase-dev Cloudflare Pages
project. It verifies the live homepage, specification, canonical URLs, and
indexing controls after deployment. The production GitHub Pages deployment and
mdbase.dev domain are unchanged.
The command uses the existing mdbase-dev Cloudflare Pages project, whose
production branch remains main. The sibling mdbase-spec/site/dist build is
required, as it is for a local production build; MDBASE_SPEC_DIR and
MDBASE_SPEC_SITE_DIST can point to another prepared checkout or artifact.