| title | Contributing to Docs |
|---|---|
| description | Preview and contribute to Alter documentation locally |
Follow these steps to preview the Alter documentation locally and contribute changes.
git clone https://github.com/wearedevx/alter-docs.git
cd alter-docs/docsnpm i -g mintRun the following command in the docs directory:
mint devA local preview of the documentation will be available at http://localhost:3000.
By default, Mintlify uses port 3000. You can customize the port using the --port flag:
mint dev --port 3333Check for broken links before submitting changes:
mint broken-linksSet up your AI coding tool to work with Mintlify:
npx skills add https://mintlify.com/docsThis installs Mintlify's documentation skill for AI tools like Claude Code, Cursor, and Windsurf.
Changes are deployed automatically when merged to the main branch via GitHub integration.
Before contributing, please read:
Key points:
- Use MDX format with YAML frontmatter
- Follow the existing content structure
- Use local
/images/paths for assets - Run
mint broken-linksbefore submitting
This may be due to an outdated version of node. Try the following:
1. Remove the currently-installed version of the CLI: `npm remove -g mint`
2. Upgrade to Node v19 or higher.
3. Reinstall the CLI: `npm i -g mint`
Solution: Go to the root of your device and delete the `~/.mintlify` folder. Then run `mint dev` again.
Curious about what changed in the latest CLI version? Check out the CLI changelog.
