Install the Mintlify CLI to preview your documentation changes locally. To install, use the following command:
npm i -g mint
Run the following command at the root of the repository:
cd docs
mint dev
View your local preview at http://localhost:3000
.
The main branch is automatically deployed to the production documentation site.
- Add the mdx to
docs/guides
. Make sure it has a title, description, and a single tag (eitherrecipe
,development
,deployment
, orintegration
).- Example:
--- title: "Guide Title" description: "Short description of the guide." tags: ["recipe"] ---
- Example:
- Add the thumbnail image to
docs/img/guides/{guide-name}/{guide-name}.png
- Add the guide to the sidebar in
docs/docs.json
No need to add the guide to the overview. This is done automatically when running:
node loadScripts.js
For TS:
cd code_snippets/ts
npm run format
For Java:
cd code_snippets/java
./gradlew spotlessApply
For Kotlin:
cd code_snippets/kotlin
./gradlew spotlessApply
For Go:
cd code_snippets/go
go fmt
For Python:
cd code_snippets/python
python3 -m black .