Connectum Documentation
English VitePress documentation for Connectum. The site source lives in en/; the API reference under en/api/ is generated from the framework repository's JSDoc.
Development
Use Node.js 22, as in this repository's CI, and the pnpm version pinned in package.json (11.0.4). Clone the documentation repository and enter its root:
git clone https://github.com/Connectum-Framework/docs.git
cd docs
pnpm install --frozen-lockfile
pnpm docs:devIf you already cloned the repository, start at pnpm install from its root. Open the local URL printed by VitePress; the default development port is 5173, but VitePress may select another port when it is occupied. Stop the server with Ctrl+C before running the build commands in the same terminal.
Build
pnpm docs:validate
pnpm docs:build
pnpm docs:validate:built
pnpm docs:previewRun these commands from the repository root after installing dependencies. docs:validate checks authored pages and links. After a successful build, docs:validate:built checks the generated routes, search index, sitemap, and LLM outputs. Open the preview URL printed by VitePress and stop it with Ctrl+C.
Check code examples
The framework repository runs the examples from this site and from its package READMEs as an isolated consumer of the packed packages. With the framework, documentation, and examples repositories checked out side by side, run from the framework root after pnpm build:
pnpm docs:check --docs ../docs --examples ../examplesThe check needs network access, installs its consumer projects at run time, and is not part of CI.
Structure
docs/
├── .vitepress/ # VitePress configuration
│ ├── config.ts # Main config with i18n
│ └── config/ # Config modules (en, shared)
├── en/ # English documentation (primary)
│ ├── index.md # Landing page
│ ├── guide/ # User guide (progressive)
│ │ └── production/ # Production deployment
│ ├── packages/ # Per-package guides
│ ├── api/ # Auto-generated API Reference (TypeDoc)
│ ├── migration/ # Migration & changelog
│ └── contributing/ # Contributor guides and ADRs
├── public/ # Static assets (assets/, CNAME, robots.txt)
└── package.json # VitePress dependencyLinks
- Main Repository -- Framework source code
- Examples -- Usage examples
