This documentation uses Mintlify as the documentation framework.
- Node.js 18.0+
- Mintlify CLI:
npm install -g mintlify
To start the local development server:
make dev
# or
mintlify devThe documentation will be available at http://localhost:3000.
To build the documentation:
make build
# or
mintlify buildThe documentation is configured via docs.json. Key configuration includes:
- Navigation structure
- Color theme
- API reference tabs
- SEO metadata
.
├── docs.json # Main configuration file
├── index.mdx # Homepage
├── quickstart.mdx # Quick start guide
├── tutorial-*.mdx # Tutorial pages
├── guides/ # In-depth guides
├── reference/ # API reference documentation
├── images/ # Shared images
├── api-reference/ # OpenAPI specifications
└── logo/ # Logo assets
- Create a new
.mdxfile in the appropriate directory - Add the page to the navigation in
docs.json - Use Mintlify components for rich content:
<Note>,<Warning>,<Tip>for callouts<CodeGroup>and<Tab>for code examples<Card>and<CardGroup>for feature cards
The reference documentation is temporarily generated from the live API. To update:
- Python SDK docs: Will need to be regenerated from source using
lazydocs - Service API docs: Generated from OpenAPI spec at https://trace.wandb.ai/openapi.json
- TypeScript SDK docs: Generated from TypeScript source
- If images aren't displaying, check paths are relative to the MDX file location
- Run
make check-linksto find broken internal links - Check
mint.logfor detailed error messages - Use
mintlify broken-linksto validate internal references