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
8 changes: 4 additions & 4 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@
{
"group": "Model Context Protocol",
"icon": "server",
"pages": [
"advanced/mcp/quickstart",
"advanced/mcp/generate"
]
"pages": ["advanced/mcp/quickstart", "advanced/mcp/generate"]
},
{
"group": "REST API",
Expand Down Expand Up @@ -373,5 +370,8 @@
"koala": {
"publicApiKey": "pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8"
}
},
"contextual": {
"options": ["copy", "view", "chatgpt", "claude"]
}
}
Binary file added images/page-context-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions settings/global.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
The eyebrows style of the content. Defaults to `section`.
</ResponseField>
<ResponseField name="codeblocks" type="&quot;system&quot; | &quot;dark&quot;">
The codeblock theme. Defaults to `system`.

Check warning on line 99 in settings/global.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

settings/global.mdx#L99

Did you really mean 'codeblock'?
</ResponseField>
</Expandable>
</ResponseField>
Expand All @@ -115,7 +115,7 @@

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

Check warning on line 118 in settings/global.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

settings/global.mdx#L118

Did you really mean 'Playfair'?
</ResponseField>
<ResponseField name="weight" type="number">
The font weight, such as 400, 700. Precise font weights such as 550 are supported for variable fonts.
Expand All @@ -124,7 +124,7 @@
The font source, such as https://mintlify-assets.b-cdn.net/fonts/Hubot-Sans.woff2
</ResponseField>
<ResponseField name="format" type="&quot;woff&quot; | &quot;woff2&quot;">
The font format, can be one of woff, woff2

Check warning on line 127 in settings/global.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

settings/global.mdx#L127

Did you really mean 'woff'?
</ResponseField>
<ResponseField name="heading" type="object">

Expand Down Expand Up @@ -446,6 +446,24 @@
</Expandable>
</ResponseField>

<ResponseField name="contextual" type="object">
<Expandable title="Contextual">
<ResponseField name="options" type="('copy' | 'view' | 'chatgpt' | 'claude')[]" required>
The options to be displayed in the contextual menu. The first option is the default option.
- `copy`: Copy the current page as markdown to the clipboard
- `view`: View the current page as markdown in a new tab
- `chatgpt`: Feed the current page to ChatGPT
- `claude`: Feed the current page to Claude

<img src="/images/page-context-menu.png" alt="Contextual Menu" className="rounded-xl" />

<Warning>
The contextual menu is only available on preview & production deployments.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

</Warning>
</ResponseField>
</Expandable>
</ResponseField>

### API Configurations

<ResponseField name="api" type="object">
Expand Down Expand Up @@ -1533,14 +1551,14 @@
"pages": ["analytics/posthog"]
}
],
"footerSocials": {

Check warning on line 1554 in settings/global.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

settings/global.mdx#L1554

Did you really mean 'footerSocials'?
"github": "https://github.com/mintlify",
"slack": "https://mintlify.com/community",
"x": "https://x.com/mintlify"
},
"integrations": {
"intercom": "APP_ID",
"frontchat": "CHAT_ID"

Check warning on line 1561 in settings/global.mdx

View check run for this annotation

Mintlify / Mintlify Validation - vale-spellcheck

settings/global.mdx#L1561

Did you really mean 'frontchat'?
}
}
```
Expand Down