Skip to content

Commit 7f9e141

Browse files
committed
Create a separate dropdown for API page
1 parent 41c72fd commit 7f9e141

File tree

7 files changed

+49
-34
lines changed

7 files changed

+49
-34
lines changed

advanced/mcp/quickstart.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Your MCP server can then be used with any MCP client for these key scenarios:
2525

2626
## Example installation with the Mintlify MCP server
2727

28-
To use the Mintlify MCP server you will need an [API key](https://mintlify.com/docs/advanced/rest-api/overview#authentication) from your Mintlify account. If you don't have one, navigate to `Settings > API Keys > Chat API Key` and create a new key.
28+
To use the Mintlify MCP server you will need an [API key](https://mintlify.com/docs/api-reference/introduction#authentication) from your Mintlify account. If you don't have one, navigate to `Settings > API Keys > Chat API Key` and create a new key.
2929

3030
## Start the MCP server locally
3131

File renamed without changes.
File renamed without changes.

advanced/rest-api/overview.mdx renamed to api-reference/introduction.mdx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
---
2-
title: Overview
2+
title: Introduction
33
---
44

55
## Trigger Updates
66

77
You can leverage the REST API to programmatically trigger an update when desired.
88

9-
<Info>
10-
While the primary use-case will be to trigger updates, we will be adding more and more
11-
functionality to the API overtime. Let us know what else you want to see in
12-
[our community](https://mintlify.com/community)!
13-
</Info>
14-
159
## Authentication
1610

1711
You can generate an API key through
@@ -24,7 +18,7 @@ associated with the entire org and can be used across multiple deployments.
2418

2519
## Admin API key
2620

27-
The Admin API key is used for the majority of the API. It is used to trigger updates via the [Update endpoint](/advanced/rest-api/update/trigger).
21+
The Admin API key is used for the majority of the API. It is used to trigger updates via the [Update endpoint](/api-reference/update/trigger).
2822

2923
## Chat API key
3024

File renamed without changes.
File renamed without changes.

docs.json

Lines changed: 46 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@
2626
{
2727
"group": "Editing",
2828
"icon": "pencil-ruler",
29-
"pages": ["development", "web-editor"]
29+
"pages": [
30+
"development",
31+
"web-editor"
32+
]
3033
},
3134
"settings/global",
3235
{
@@ -155,27 +158,9 @@
155158
{
156159
"group": "Model Context Protocol",
157160
"icon": "audio-waveform",
158-
"pages": ["advanced/mcp/quickstart", "advanced/mcp/generate"]
159-
},
160-
{
161-
"group": "REST API",
162-
"icon": "code",
163161
"pages": [
164-
"advanced/rest-api/overview",
165-
{
166-
"group": "Updates",
167-
"pages": [
168-
"advanced/rest-api/update/trigger",
169-
"advanced/rest-api/update/status"
170-
]
171-
},
172-
{
173-
"group": "Chat API",
174-
"pages": [
175-
"advanced/rest-api/chat/create-topic",
176-
"advanced/rest-api/chat/generate-message"
177-
]
178-
}
162+
"advanced/mcp/quickstart",
163+
"advanced/mcp/generate"
179164
]
180165
}
181166
]
@@ -208,7 +193,9 @@
208193
},
209194
{
210195
"group": "Reusable Components",
211-
"pages": ["content/components/reusable-components"]
196+
"pages": [
197+
"content/components/reusable-components"
198+
]
212199
},
213200
{
214201
"group": "API Components",
@@ -221,6 +208,33 @@
221208
}
222209
]
223210
},
211+
{
212+
"dropdown": "API References",
213+
"description": "Reference for the API",
214+
"icon": "terminal",
215+
"groups": [
216+
{
217+
"group": "API References",
218+
"pages": [
219+
"api-reference/introduction"
220+
]
221+
},
222+
{
223+
"group": "Updates",
224+
"pages": [
225+
"api-reference/update/trigger",
226+
"api-reference/update/status"
227+
]
228+
},
229+
{
230+
"group": "Chat API",
231+
"pages": [
232+
"api-reference/chat/create-topic",
233+
"api-reference/chat/generate-message"
234+
]
235+
}
236+
]
237+
},
224238
{
225239
"dropdown": "Integrations",
226240
"icon": "blocks",
@@ -277,7 +291,9 @@
277291
"groups": [
278292
{
279293
"group": "Changelog",
280-
"pages": ["changelog/overview"]
294+
"pages": [
295+
"changelog/overview"
296+
]
281297
}
282298
]
283299
}
@@ -390,6 +406,11 @@
390406
}
391407
},
392408
"contextual": {
393-
"options": ["copy", "view", "chatgpt", "claude"]
409+
"options": [
410+
"copy",
411+
"view",
412+
"chatgpt",
413+
"claude"
414+
]
394415
}
395-
}
416+
}

0 commit comments

Comments
 (0)