Contributing to Kaspa Docs
June 23, 2026 ยท View on GitHub
Thanks for helping improve the Kaspa documentation. Contributions of all sizes are welcome - fixing a typo, clarifying a guide, adding code examples, or writing a missing page.
Finding something to work on
The open issues track missing and desired documentation, and are a good place to start.
- Small changes (typo fixes, clarifications, broken links) can be sent as a pull request directly - no issue needed.
- For larger changes, it's worth opening an issue first so the scope can be discussed. You can still PR directly, but there's more risk of it not being merged if it turns out to be out of scope.
Making changes
-
Fork the repository, then clone your fork and create a branch (install Git if you don't have it):
git clone https://github.com/<your-username>/docs.git cd docs git switch -c my-change -
Documentation pages live in
content/docs/as MDX files. Each section has ameta.jsonthat controls page ordering and titles in the sidebar - add new pages there. -
Code examples that accompany guides live in
examples/. If a guide shows code, prefer keeping a matching runnable example there so it can be tested. -
Preview your changes locally:
npm install npm run dev -
Run the same checks CI will run:
npm run lint npm run format:check npm run types:check npm run buildnpm run formatfixes formatting automatically. -
Open a pull request against
maindescribing what the change improves.
Writing guidelines
- Write for a developer new to Kaspa: spell out prerequisites, ports, and flags rather than assuming them.
- Keep code examples runnable end to end - a reader should be able to copy, paste, and see output.
- When referencing Rusty Kaspa releases or versions, prefer links that stay current (e.g.
releases/latest) over hardcoded version tags.
Content that doesn't belong here
legacy/is the archived pre-2026 documentation and is not maintained - improvements should go tocontent/docs/instead.- Changes to the SDKs themselves belong in kaspanet/rusty-kaspa (Rust/WASM) or kaspanet/kaspa-python-sdk (Python).