Thank you for improving Cortex Docs.
- Search the open issues.
- Open an issue before a large design or behavior change.
- Do not include secrets, private specifications, or customer data.
Use Node.js 22 and npm 10 or later.
git clone https://github.com/cortex-docs/cortex.git
cd cortex
npm ci
npm run build
npm testSee DEVELOPMENT.md for the package layout and integration-test commands.
- Update your local
pre-releasebranch. - Create a feature branch from
pre-release. - Add tests for changed behavior.
- Update the user documentation for interface changes.
- Run the required checks:
npm run format:check
npm run lint
npm run build
npm test
npm run pack:check- Open a pull request to
pre-release. - Complete the pull request checklist.
Do not open a feature pull request to main. Maintainers promote pre-release to main after the required checks pass.
The promotion pull request runs all Docker integration tests. A merge to main publishes a new patch version.
The release publishes @cortex-docs/cli and the generated @cortex-docs/mcp package. It deploys docs.cortexdocs.dev and creates a GitHub Release.
The release does not publish the other workspaces. The CLI package includes the internal workspaces that it uses.
Read RELEASING.md for the complete promotion and release flow.
Use a focused commit message that explains the change. A maintainer can request separate pull requests for unrelated changes.
Do not open a public issue for a vulnerability. Follow SECURITY.md.
By participating, you agree to follow the Code of Conduct.