This repository contains the official documentation for Boundless, available at https://docs.boundless.network.
The documentation uses an automated version management system to stay in sync with releases from boundless-xyz/boundless.
A GitHub Action runs daily to check for new releases and automatically creates a PR when one is detected. You can also manually trigger it from the Actions tab.
Option 1: Auto-update to latest release
bun run scripts/check-version.ts --auto-updateOption 2: Manual edit
Edit snippets/release-version.mdx and change the releaseTag value:
export const releaseTag = "release-1.2"; // Update this value- The release version is stored in
snippets/release-version.mdx - Documentation files use
{{RELEASE_TAG}}placeholders in code blocks - During the build process, these placeholders are replaced with the actual version
- GitHub Actions automatically monitor for new releases and alert if the docs are out of sync
Do NOT edit release tags directly in individual documentation files. Always update snippets/release-version.mdx or use the auto-update script.
For more details, see scripts/README.md.
- Node.js version 24
- Bun package manager
-
Install Mintlify globally:
bun install -g mintlify
-
Run the development server:
mint dev
The documentation site will be available locally for preview and editing.
IMPORTANT: Do not edit docs.json directly!
To modify navigation items:
-
Edit the
navigation.yamlfile (this is the user-friendly navigation configuration) -
Run the build script:
bun scripts/build-docs-json.ts
For development, you can use watch mode to automatically rebuild on changes:
bun scripts/build-docs-json.ts --watch
-
This will automatically generate the necessary changes in
docs.json
The docs.base.json file can be edited for other configuration changes, but for navigation structure, always use the YAML workflow above.