| title | description |
|---|---|
Development |
Contribute to the D-Sports docs site. Preview locally, validate links, and deploy to docs.d-sports.org. |
This page is for contributing to this documentation site (D-Sports Docs at docs.d-sports.org). To work on the PWA, site, native app, or Mic'd Up, see the Repositories section.
```bash npm i -g mint ``` In the docs directory (where `docs.json` is), run: ```bash mint dev ``` The site is available at http://localhost:3000.Use the --port flag to run on a different port:
mint dev --port 3333If the default port is in use, Mintlify will try the next available port.
If the local preview doesn’t match production, update the CLI:
mint updateCheck for broken internal links:
mint broken-linksYou can also run mint validate to check that the docs build correctly.
When you push to the default branch, the docs deploy automatically (if the repo is connected via the Mintlify GitHub app). The live site is docs.d-sports.org.
Use IDE support for MDX: for example, the MDX VSCode extension for syntax highlighting and Prettier for formatting. See AGENTS.md in the repo for D-Sports docs style and the Mintlify skill.
Often caused by an outdated Node version. Try: 1. Remove the CLI: `npm remove -g mint` 2. Upgrade to Node v19 or higher. 3. Reinstall: `npm i -g mint` Delete the `~/.mintlify` folder on your machine, then run `mint dev` again.For Mintlify CLI changes, see the CLI changelog.
