Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions ai/contextual-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
---

import { PreviewButton } from "/snippets/previewbutton.jsx"
import IconsRequired from "/snippets/icons-required.mdx";

The contextual menu provides quick access to AI-optimized content and direct integrations with popular AI tools. When users select the contextual menu on any page, they can copy content as context for AI tools or open conversations in ChatGPT, Claude, Perplexity, or a custom tool of your choice with your documentation already loaded as context.

Expand Down Expand Up @@ -34,8 +35,8 @@
"options": [
"copy",
"view",
"chatgpt",

Check warning on line 38 in ai/contextual-menu.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/contextual-menu.mdx#L38

Did you really mean 'chatgpt'?
"claude",

Check warning on line 39 in ai/contextual-menu.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

ai/contextual-menu.mdx#L39

Did you really mean 'claude'?
"perplexity"
]
}
Expand All @@ -54,9 +55,7 @@
The description of the option. Displayed beneath the title when the contextual menu is expanded.
</ResponseField>

<ResponseField name="icon" type="string" required>
The icon of the option. Accepts any icon from the [Icons](/components/icons) collection.
</ResponseField>
<IconsRequired />

<ResponseField name="href" type="string | object" required>
The href of the option. Use a string for simple links or an object for dynamic links with query parameters.
Expand Down
2 changes: 1 addition & 1 deletion code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

Enable syntax highlighting by specifying the programming language after the opening backticks of a code block.

We use [Shiki](https://shiki.style/) for syntax highlighting and support all available languages. See the full list of [languages](https://shiki.style/languages) in Shiki's documentation.

Check warning on line 60 in code.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

code.mdx#L60

Did you really mean 'Shiki's'?

```java
class HelloWorld {
Expand Down Expand Up @@ -93,7 +93,7 @@

### Icon

Add an icon to your code block. You can use [FontAwesome](https://fontawesome.com/icons) icons, [Lucide](https://lucide.dev/icons/) icons, or absolute URLs.
Add an icon to your code block using the `icon` property. See [Icons](/components/icons) for all available options.

```javascript icon="square-js"
const hello = "world";
Expand Down
11 changes: 3 additions & 8 deletions components/accordions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: "Collapsible components to show and hide content"
icon: "chevron-down"
---

import IconsOptional from "/snippets/icons-optional.mdx";

Accordions allow users to expand and collapse content sections. Use accordions for progressive disclosure and to organize information.

## Single accordion
Expand Down Expand Up @@ -97,11 +99,4 @@ Group related accordions together using `<AccordionGroup>`. This creates a cohes
Whether the Accordion is open by default.
</ResponseField>

<ResponseField name="icon" type="string or svg">
A [Font Awesome icon](https://fontawesome.com/icons), [Lucide
icon](https://lucide.dev/icons), or SVG code.
</ResponseField>

<ResponseField name="iconType" type="string">
For Font Awesome icons, one of "regular", "solid", "light", "thin", "sharp-solid", "duotone", or "brands".
</ResponseField>
<IconsOptional />
16 changes: 3 additions & 13 deletions components/cards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
icon: "square-mouse-pointer"
---

import IconsOptional from "/snippets/icons-optional.mdx";

Use cards to create visual containers for content. Cards are flexible containers that can include text, icons, images, and links.

## Basic card
Expand Down Expand Up @@ -52,7 +54,7 @@
</Card>
```

### Link cards with custom CTAs

Check warning on line 57 in components/cards.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/cards.mdx#L57

Did you really mean 'CTAs'?

You can customize the call-to-action text and control whether an arrow appears. By default, arrows only show for external links.

Expand Down Expand Up @@ -102,19 +104,7 @@
The title displayed on the card
</ResponseField>

<ResponseField name="icon" type="string or svg">
Icon to display on the card. Use a [Font Awesome icon](https://fontawesome.com/icons) name, [Lucide icon](https://lucide.dev/icons) name, or JSX-compatible SVG code wrapped in `icon={}`.

For custom SVG icons:
1. Use the [SVGR converter](https://react-svgr.com/playground/).
2. Copy the code inside the `<svg/>` tag.
3. Paste the code into your card.
4. Adjust height and width as needed.
</ResponseField>

<ResponseField name="iconType" type="string">
Font Awesome icon style: `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, or `brands`.
</ResponseField>
<IconsOptional />

<ResponseField name="color" type="string">
Icon color as a hex code (e.g., `#FF6B6B`).
Expand Down
12 changes: 4 additions & 8 deletions components/icons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
icon: "flag"
---

Use icons from Font Awesome, Lucide, URLs, or files in your project to enhance your documentation.
import IconsRequired from "/snippets/icons-required.mdx";

Use icons from Font Awesome, Lucide, SVGs, external URLs, or files in your project to enhance your documentation.

Check warning on line 9 in components/icons.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/icons.mdx#L9

Did you really mean 'Lucide'?

Check warning on line 9 in components/icons.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

components/icons.mdx#L9

Did you really mean 'SVGs'?

<Icon icon="flag" size={32} />

Expand All @@ -24,13 +26,7 @@

## Properties

<ResponseField name="icon" type="string" required>
A [Font Awesome](https://fontawesome.com/icons) icon, [Lucide](https://lucide.dev/icons) icon, URL to an icon, or relative path to an icon.
</ResponseField>

<ResponseField name="iconType" type="string">
For [Font Awesome](https://fontawesome.com/icons) icons only: One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>
<IconsRequired />

<ResponseField name="color" type="string">
The color of the icon as a hex code (for example, `#FF5733`).
Expand Down
10 changes: 3 additions & 7 deletions components/steps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ description: "Sequence content using the Steps component"
icon: "list-todo"
---

import IconsOptional from "/snippets/icons-optional.mdx";

Use steps to display a series of sequential actions or events. You can add as many steps as needed.

<Steps>
Expand Down Expand Up @@ -48,13 +50,7 @@ Use steps to display a series of sequential actions or events. You can add as ma
The content of a step either as plain text or components.
</ResponseField>

<ResponseField name="icon" type="string or svg">
A [Font Awesome icon](https://fontawesome.com/icons), [Lucide icon](https://lucide.dev/icons), or SVG code in `icon={}`.
</ResponseField>

<ResponseField name="iconType" type="string">
For Font Awesome icons only: One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>
<IconsOptional />

<ResponseField name="title" type="string">
The title is the primary text for the step and shows up next to the indicator.
Expand Down
7 changes: 3 additions & 4 deletions pages.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
icon: "letter-text"
---

import IconsOptional from "/snippets/icons-optional.mdx";

Each page is an MDX file, which combines Markdown content with React components to let you create rich, interactive documentation.

## Page metadata
Expand All @@ -22,10 +24,7 @@
A short title that displays in the sidebar navigation.
</ResponseField>

<ResponseField name="icon" type="string">
An icon next to your page title in the sidebar. Choose an icon from Font Awesome, Lucide, or use a custom URL. Configure your preferred icon library with the [icons library setting](/settings#param-icons).

</ResponseField>
<IconsOptional />

<ResponseField name="tag" type="string">
A tag that appears next to your page title in the sidebar.
Expand Down Expand Up @@ -68,7 +67,7 @@

### Custom

Custom mode provides a minimalist layout that removes all elements except for the top navbar. Custom mode is a blank canvas to create landing pages or any other unique layouts that you want to have minimal navigation elements for.

Check warning on line 70 in pages.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

pages.mdx#L70

Did you really mean 'navbar'?

```yaml
---
Expand Down Expand Up @@ -129,7 +128,7 @@

## Internal search keywords

Enhance a specific page's discoverability in the built-in search by providing `keywords` in your metadata. These keywords won't appear as part of the page content or in search results, but users that search for them will be shown the page as a result.

Check warning on line 131 in pages.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

pages.mdx#L131

Did you really mean 'discoverability'?

```yaml
---
Expand Down
20 changes: 7 additions & 13 deletions settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
keywords: ["docs.json", "settings", "customization", "configuration"]
---

import IconsOptional from "/snippets/icons-optional.mdx";

The `docs.json` file lets you turn a collection of Markdown files into a navigable, customized documentation site. This required configuration file controls styling, navigation, integrations, and more.

Settings in `docs.json` apply globally to all pages.
Expand All @@ -13,7 +15,7 @@

To get started, you only need to specify `theme`, `name`, `colors.primary`, and `navigation`. Other fields are optional and you can add them as your documentation needs grow.

For the best editing experience, include the schema reference at the top of your `docs.json` file. This enables autocomplete, validation, and helpful tooltips in most code editors:

Check warning on line 18 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L18

Did you really mean 'tooltips'?

```json
{
Expand Down Expand Up @@ -146,7 +148,7 @@
Icon library to use throughout your documentation. Defaults to `fontawesome`.

<Note>
You can specify a URL for any individual icon, regardless of the library setting.
You can specify a URL to an externally hosted icon, path to an icon file in your project, or JSX-compatible SVG code for any individual icon, regardless of the library setting.
</Note>
</ResponseField>

Expand All @@ -158,7 +160,7 @@

<Expandable title="Fonts">
<ResponseField name="family" type="string" required>
Font family, such as "Open Sans", "Playfair Display."

Check warning on line 163 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L163

Did you really mean 'Playfair'?
</ResponseField>
<ResponseField name="weight" type="number">
Font weight, such as 400 or 700. Variable fonts support precise weights such as 550.
Expand Down Expand Up @@ -263,12 +265,12 @@

### Structure

<ResponseField name="navbar" type="object">

Check warning on line 268 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L268

Did you really mean 'navbar'?
Navigation bar items.

<Expandable title="Navbar">
<ResponseField name="links" type="array of object">
Links to display in the navbar

Check warning on line 273 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L273

Did you really mean 'navbar'?

<Expandable title="Links">
<ResponseField name="label" type="string" required>
Expand All @@ -277,9 +279,7 @@
<ResponseField name="href" type="string (uri)" required>
URL or path for the link destination.
</ResponseField>
<ResponseField name="icon" type="string | object">
Icon for the link. Can be a URL (relative or external), Font Awesome icon, or Lucide icon.
</ResponseField>
<IconsOptional />
</Expandable>
</ResponseField>
<ResponseField name="primary" type="object">
Expand All @@ -306,7 +306,7 @@

<Expandable title="Navigation">
<ResponseField name="global" type="object">
Global navigation elements that appear accross all pages and sections.

Check warning on line 309 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L309

Did you really mean 'accross'?

<Expandable title="Global">
<ResponseField name="languages" type="array of object">
Expand Down Expand Up @@ -356,9 +356,7 @@

Minimum length: 1
</ResponseField>
<ResponseField name="icon" type="string or object">
Icon for the tab. Can be a URL (relative or external), Font Awesome icon, or Lucide icon.
</ResponseField>
<IconsOptional />
<ResponseField name="hidden" type="boolean">
Whether to hide this tab by default.
</ResponseField>
Expand All @@ -376,9 +374,7 @@

Minimum length: 1
</ResponseField>
<ResponseField name="icon" type="string or object">
Icon for the anchor. Can be a URL (relative or external), Font Awesome icon, or Lucide icon.
</ResponseField>
<IconsOptional />
<ResponseField name="color" type="object">
Custom colors for the anchor.

Expand Down Expand Up @@ -413,9 +409,7 @@

Minimum length: 1
</ResponseField>
<ResponseField name="icon" type="string or object">
Icon for the dropdown. Can be a URL (relative or external), Font Awesome icon, or Lucide icon.
</ResponseField>
<IconsOptional />
<ResponseField name="hidden" type="boolean">
Whether to hide this dropdown by default.
</ResponseField>
Expand Down Expand Up @@ -540,7 +534,7 @@
Contextual menu for AI-optimized content and integrations.

<Expandable title="Contextual">
<ResponseField name="options" type="array of &quot;copy&quot; | &quot;view&quot; | &quot;chatgpt&quot; | &quot;claude&quot;" required>

Check warning on line 537 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L537

Did you really mean 'chatgpt'?

Check warning on line 537 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L537

Did you really mean 'claude'?
Actions available in the contextual menu. The first option appears as the default.
- `copy`: Copy the current page as Markdown to the clipboard.
- `view`: View the current page as Markdown in a new tab.
Expand All @@ -559,7 +553,7 @@

### API Configurations

<ResponseField name="api" type="object">

Check warning on line 556 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L556

Did you really mean 'api'?
API documentation and interactive playground settings.

<Expandable title="Api">
Expand Down Expand Up @@ -978,7 +972,7 @@
"footer": {
"socials": {
"x": "https://x.com/example",
"linkedin": "https://www.linkedin.com/company/example",

Check warning on line 975 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L975

Did you really mean 'linkedin'?
"github": "https://github.com/example",
"slack": "https://example.com/community"
},
Expand Down Expand Up @@ -1021,7 +1015,7 @@
},
"integrations": {
"ga4": {
"measurementId": "G-XXXXXXXXXX"

Check warning on line 1018 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1018

Did you really mean 'measurementId'?
},
"koala": {
"publicApiKey": "pk_example_key_123"
Expand All @@ -1030,8 +1024,8 @@
"enabled": true
},
"cookies": {
"key": "example_cookie_key",

Check warning on line 1027 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1027

Did you really mean 'example_cookie_key'?
"value": "example_cookie_value"

Check warning on line 1028 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1028

Did you really mean 'example_cookie_value'?
}
},
"contextual": {
Expand Down Expand Up @@ -1152,7 +1146,7 @@
"footer": {
"socials": {
"x": "https://x.com/example",
"linkedin": "https://www.linkedin.com/company/example",

Check warning on line 1149 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1149

Did you really mean 'linkedin'?
"github": "https://github.com/example",
"slack": "https://example.com/community"
},
Expand Down Expand Up @@ -1195,7 +1189,7 @@
},
"integrations": {
"ga4": {
"measurementId": "G-XXXXXXXXXX"

Check warning on line 1192 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1192

Did you really mean 'measurementId'?
},
"koala": {
"publicApiKey": "pk_example_key_123"
Expand All @@ -1204,8 +1198,8 @@
"enabled": true
},
"cookies": {
"key": "example_cookie_key",

Check warning on line 1201 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1201

Did you really mean 'example_cookie_key'?
"value": "example_cookie_value"

Check warning on line 1202 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1202

Did you really mean 'example_cookie_value'?
}
},
"contextual": {
Expand Down Expand Up @@ -1290,10 +1284,10 @@
{
"dropdown": "Documentación",
"icon": "book",
"description": "Cómo usar el producto de Example Co.",

Check warning on line 1287 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1287

Did you really mean 'usar'?

Check warning on line 1287 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1287

Did you really mean 'producto'?
"pages": [
{
"group": "Comenzando",

Check warning on line 1290 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1290

Did you really mean 'Comenzando'?
"pages": ["es/index", "es/quickstart"]
},
{
Expand All @@ -1313,7 +1307,7 @@
{
"dropdown": "Changelog",
"icon": "history",
"description": "Actualizaciones y cambios",

Check warning on line 1310 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1310

Did you really mean 'Actualizaciones'?

Check warning on line 1310 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1310

Did you really mean 'cambios'?
"pages": ["es/changelog"]
}
]
Expand Down Expand Up @@ -1341,7 +1335,7 @@
"footer": {
"socials": {
"x": "https://x.com/example",
"linkedin": "https://www.linkedin.com/company/example",

Check warning on line 1338 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1338

Did you really mean 'linkedin'?
"github": "https://github.com/example",
"slack": "https://example.com/community"
},
Expand Down Expand Up @@ -1384,7 +1378,7 @@
},
"integrations": {
"ga4": {
"measurementId": "G-XXXXXXXXXX"

Check warning on line 1381 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1381

Did you really mean 'measurementId'?
},
"koala": {
"publicApiKey": "pk_example_key_123"
Expand All @@ -1393,8 +1387,8 @@
"enabled": true
},
"cookies": {
"key": "example_cookie_key",

Check warning on line 1390 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1390

Did you really mean 'example_cookie_key'?
"value": "example_cookie_value"

Check warning on line 1391 in settings.mdx

View check run for this annotation

Mintlify / Mintlify Validation (mintlify) - vale-spellcheck

settings.mdx#L1391

Did you really mean 'example_cookie_value'?
}
},
"contextual": {
Expand Down
23 changes: 23 additions & 0 deletions snippets/icons-optional.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<ResponseField name="icon" type="string">
The icon to display.

Options:
- [Font Awesome icon](https://fontawesome.com/icons) name
- [Lucide icon](https://lucide.dev/icons) name
- JSX-compatible SVG code wrapped in curly braces
- URL to an externally hosted icon
- Path to an icon file in your project

For custom SVG icons:
1. Convert your SVG using the [SVGR converter](https://react-svgr.com/playground/).
1. Paste your SVG code into the SVG input field.
2. Copy the complete `<svg>...</svg>` element from the JSX output field.
3. Wrap the JSX-compatible SVG code in curly braces: `icon={<svg ...> ... </svg>}`.
4. Adjust `height` and `width` as needed.
</ResponseField>

<ResponseField name="iconType" type="string">
The [Font Awesome](https://fontawesome.com/icons) icon style. Only used with Font Awesome icons.

Options: `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>
23 changes: 23 additions & 0 deletions snippets/icons-required.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<ResponseField name="icon" type="string" required>
The icon to display.

Options:
- [Font Awesome icon](https://fontawesome.com/icons) name
- [Lucide icon](https://lucide.dev/icons) name
- JSX-compatible SVG code wrapped in curly braces
- URL to an externally hosted icon
- Path to an icon file in your project

For custom SVG icons:
1. Convert your SVG using the [SVGR converter](https://react-svgr.com/playground/).
1. Paste your SVG code into the SVG input field.
2. Copy the complete `<svg>...</svg>` element from the JSX output field.
3. Wrap the JSX-compatible SVG code in curly braces: `icon={<svg ...> ... </svg>}`.
4. Adjust `height` and `width` as needed.
</ResponseField>

<ResponseField name="iconType" type="string">
The [Font Awesome](https://fontawesome.com/icons) icon style. Only used with Font Awesome icons.

Options: `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
</ResponseField>
Loading