Skip to content

Commit 1d9f3c1

Browse files
committed
Merge branch 'main' into mintie-slack-integration
2 parents 6ceb32d + 303c2f8 commit 1d9f3c1

File tree

4 files changed

+19
-28
lines changed

4 files changed

+19
-28
lines changed

ai/contextual-menu.mdx

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -84,28 +84,22 @@ Create custom options in the contextual menu by adding an object to the `options
8484

8585
Example custom option:
8686

87-
```json {8-21}
88-
"contextual": {
89-
"options": [
90-
"copy",
91-
"view",
92-
"chatgpt",
93-
"claude",
94-
"perplexity",
95-
{
96-
"title": "Ask Gemini",
97-
"description": "Ask Google Gemini about the current page",
98-
"icon": "sparkle",
99-
"href": {
100-
"base": "https://gemini.google.com/app",
101-
"query": [
102-
{
103-
"key": "q",
104-
"value": "Ask question about https://mintlify.com/docs$path.md"
105-
}
87+
```json {9-14} wrap
88+
{
89+
"contextual": {
90+
"options": [
91+
"copy",
92+
"view",
93+
"chatgpt",
94+
"claude",
95+
"perplexity",
96+
{
97+
"title": "Request a feature",
98+
"description": "Join the discussion on GitHub to request a new feature",
99+
"icon": "plus",
100+
"href": "https://github.com/orgs/mintlify/discussions/categories/feature-requests"
101+
}
106102
]
107-
}
108103
}
109-
]
110104
}
111105
```
File renamed without changes.

components/fields.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ The `<ParamField>` component is used to define parameters for your APIs or SDKs.
3131

3232
Supports `number`, `string`, `boolean`, `object`.
3333

34-
Arrays can be defined using the `[]` suffix. For example, `string[]`.
34+
Arrays can be defined using the `[]` suffix. For example `string[]`.
35+
3536
</ParamField>
3637

3738
<ParamField body="required" type="boolean">
@@ -43,11 +44,7 @@ The `<ParamField>` component is used to define parameters for your APIs or SDKs.
4344
</ParamField>
4445

4546
<ParamField body="default" type="string">
46-
Default value used by the server if the request does not provide a value.
47-
</ParamField>
48-
49-
<ParamField body="initialValue" type="any">
50-
Value that will be used to initialize the playground.
47+
Default value populated when the request value is empty
5148
</ParamField>
5249

5350
<ParamField body="placeholder" type="string">

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"guides/assistant",
4444
"ai/llmstxt",
4545
"ai/contextual-menu",
46-
"mcp",
46+
"ai/model-context-protocol",
4747
"ai/markdown-export",
4848
"guides/geo",
4949
"guides/claude-code",

0 commit comments

Comments
 (0)