Skip to content

Commit b7fda35

Browse files
committed
Merge branch 'main' into web-editor-guide
2 parents d6d677b + 3a50c90 commit b7fda35

File tree

11 files changed

+1073
-207
lines changed

11 files changed

+1073
-207
lines changed

changelog.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ mode: "center"
66

77
<Update label="May 2025">
88
## API playground stability updates
9+
910
- Search to find an endpoint
1011
- Indicate a deprecated endpoint with a tag
1112
- Hide auto-generated API pages from navigation
1213
- Upload multipart or form data files
13-
14+
1415
Learn more at [API playground docs.](/api-playground/)
1516

1617
## `mint update`
@@ -21,9 +22,8 @@ mode: "center"
2122
## Web Editor 3.0
2223

2324
<Frame>
24-
![Webeditor3 Jpe](/images/webeditor3.jpeg)
25+
![Webeditor3 Jpe](/images/webeditor3.jpeg)
2526
</Frame>
26-
2727
Overhauled usability in the WYSIWYG editor.
2828

2929
**Major improvements**
@@ -173,12 +173,12 @@ mode: "center"
173173
</Update>
174174

175175
<Update label="November 2024">
176-
## AI Assistant
176+
## AI Writer
177177

178178
<Frame>
179179
![AI Assistant](/images/changelog/ai-assistant.jpg)
180180
</Frame>
181-
You can now ask AI to make changes to your docs, with the context of all existing documentation. Type in a prompt and the assistant will propose changes by generating a pull request.
181+
You can now ask AI to make changes to your docs, with the context of all existing documentation. Type in a prompt and the writer will propose changes by generating a pull request.
182182

183183
## GitLab Integration Upgrade
184184

@@ -461,4 +461,4 @@ mode: "center"
461461
- Snippets V2: We now support fully reusable components and variables for snippets.
462462
- Open-source MDX Engine: We've exposed two APIs—getCompiledMdx and MDXComponent—so you can access Mintlify markdown and code syntax highlighting. [Contributions to the project](https://github.com/mintlify/mdx) are welcome.
463463
- AI Chat Insights: Segment chat history by date and increase AI Chat quota from the dashboard, and see how often a specific query appears.
464-
</Update>
464+
</Update>

code.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ To denote a `word` or `phrase` as code, enclose it in backticks (`).
1919

2020
### Code blocks
2121

22-
Use [fenced code blocks](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks) by enclosing code in three backticks. Specify the programming language for syntax highlighting and to enable meta options. Add any meta options, like a title or icon, after the language.
22+
Use [fenced code blocks](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks) by enclosing code in three backticks. Code blocks are copyable, and if you have the assistant enabled, users can ask AI to explain the code.
23+
24+
Specify the programming language for syntax highlighting and to enable meta options. Add any meta options, like a title or icon, after the language.
2325

2426
```java HelloWorld.java lines icon="java"
2527
class HelloWorld {

docs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@
112112
"group": "Guides",
113113
"pages": [
114114
"guides/migration",
115+
"guides/assistant",
115116
"mcp",
116117
"guides/cursor",
117118
"translations",

guides/assistant.mdx

Lines changed: 275 additions & 0 deletions
Large diffs are not rendered by default.

guides/hidden-pages.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ If you want to hide pages for specific groups of users, use personalization to c
1616

1717
A page is hidden if it is not included in your `docs.json` navigation. To hide a page, remove it from your navigation structure.
1818

19+
Hidden pages use the same URL structure as regular pages based on their file path. For example, `guides/hidden-page.mdx` would be accessible at `docs.yoursite.com/guides/hidden-page`.
20+
1921
<Note>
20-
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
22+
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
2123
</Note>
2224

23-
## Search, SEO, and AI context
25+
## Search, SEO, and AI indexing
2426

2527
By default, hidden pages are excluded from indexing for search engines, internal search within your docs, and as context for the AI assistant. To include hidden pages in search results and as context for the assistant, add the `seo` property to your `docs.json`:
2628

@@ -30,4 +32,4 @@ By default, hidden pages are excluded from indexing for search engines, internal
3032
}
3133
```
3234

33-
To exclude a specific page, add `noindex: "true"` to its frontmatter.
35+
To exclude a specific page, add `noindex: "true"` to its frontmatter.
66 KB
Loading
51.7 KB
Loading

installation.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ icon: "terminal"
1717
## Installing the CLI
1818

1919
<Info>
20-
**Prerequisite**: Please install [Node.js](https://nodejs.org/en) (version 19 or higher) before proceeding.
20+
**Prerequisite**: Please install [Node.js](https://nodejs.org/en) before proceeding.
2121
</Info>
2222

2323
<Steps>
@@ -159,7 +159,7 @@ If you use JetBrains, we recommend the [MDX IntelliJ IDEA plugin](https://plugin
159159
This may be due to an outdated version of node. Try the following:
160160

161161
1. Remove the currently-installed version of the mint CLI: `npm remove -g mint`
162-
2. Upgrade to Node v19 or higher.
162+
2. Upgrade to Node.js.
163163
3. Reinstall the mint CLI: `npm install -g mint`
164164
</Accordion>
165165
<Accordion title="Issue: Encountering an unknown error">

integrations/analytics/overview.mdx

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -576,28 +576,25 @@ The syntax for `docs.json` is below. You only need to include entries for the pl
576576
```
577577
## Analytics events
578578

579-
We send the following events to your analytics provider.
579+
We send the following events to your analytics provider. All events use the `docs.` prefix.
580580

581-
| Event name | Description |
582-
|:-----------------------------------|:-------------------------------------------------------------------|
583-
| `accordion_close` | When a user closes an accordion. |
584-
| `accordion_open` | When a user opens an accordion. |
585-
| `api_playground_call` | When a user calls an API in the API playground. |
586-
| `code_block_copy` | When a user copies code from a code block. |
587-
| `cta_click` | When a user clicks a call to action. |
588-
| `expandable_close` | When a user closes an expandable. |
589-
| `expandable_open` | When a user opens an expandable. |
590-
| `header_nav_item_click` | When a user clicks a header navigation item. |
591-
| `pageview` | When a user views a page. |
592-
| `powered_by_mintlify_click` | When a user clicks the "Powered by Mintlify" link. |
593-
| `scroll_to_bottom` | When a user scrolls to the bottom of a page. |
594-
| `thumb_vote` | When a user votes (thumbs up or down) on a page. |
595-
| `ai_chat_citation_click` | When a user clicks a citation in a chat. |
596-
| `ai_chat_feedback_positive_click` | When a user clicks the positive feedback button in a chat. |
597-
| `ai_chat_feedback_negative_click` | When a user clicks the negative feedback button in a chat. |
598-
| `chat_completed` | When a chat session is completed. |
599-
| `chat_enter` | When a user initiates a chat. |
600-
| `chat_followup` | When a user sends a follow up message. |
601-
| `chat_shared` | When a user shares a chat conversation. |
602-
| `search_close` | When a user closes the search bar. |
603-
| `search_result_click` | When a user clicks a search result. |
581+
| Event name | Description |
582+
|:---------------------------------------|:--------------------------------------------------------------------|
583+
| `docs.accordion.close` | When a user closes an accordion. |
584+
| `docs.accordion.open` | When a user opens an accordion. |
585+
| `docs.api_playground.request` | When a user calls an API in the API playground. |
586+
| `docs.code_block.copy` | When a user copies code from a code block. |
587+
| `docs.code_block.ask_ai` | When a user asks the assistant to explain a code block. |
588+
| `docs.navitem.cta_click` | When a user clicks a call to action. |
589+
| `docs.expandable.close` | When a user closes an expandable. |
590+
| `docs.expandable.open` | When a user opens an expandable. |
591+
| `docs.navitem.click` | When a user clicks a header navigation item. |
592+
| `docs.footer.powered_by_mintlify_click` | When a user clicks the "Powered by Mintlify" link. |
593+
| `docs.assistant.source_click` | When a user clicks a citation in a chat. |
594+
| `docs.assistant.thumbs_up` | When a user clicks the positive feedback button in a chat. |
595+
| `docs.assistant.thumbs_down` | When a user clicks the negative feedback button in a chat. |
596+
| `docs.assistant.completed` | When a chat session is completed. |
597+
| `docs.assistant.enter` | When a user initiates a chat. |
598+
| `docs.assistant.shared` | When a user shares a chat conversation. |
599+
| `docs.search.close` | When a user closes the search bar. |
600+
| `docs.search.result_click` | When a user clicks a search result. |

quickstart.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pnpm add -g mint
100100
</CodeGroup>
101101

102102
<Info>
103-
You need Node.js version 19 or higher installed on your machine. If you encounter installation issues, check the troubleshooting guide.
103+
You need Node.js installed on your machine. If you encounter installation issues, check the troubleshooting guide.
104104
</Info>
105105

106106
### Edit the Documentation
@@ -224,16 +224,19 @@ Enter your domain (for example, `docs.yourcompany.com`) and follow the provided
224224

225225
Congratulations! You have successfully deployed your documentation site with Mintlify. Here are suggested next steps to enhance your documentation:
226226

227-
<Card title="Customize Your Theme" icon="paintbrush" href="themes" horizontal>
227+
<Card title="Configure your global settings" icon="settings" href="settings" horizontal>
228+
Configure site-wide styling, navigation, integrations, and more with the `docs.json` file.
229+
</Card>
230+
<Card title="Customize your theme" icon="paintbrush" href="themes" horizontal>
228231
Learn how to customize colors, fonts, and the overall appearance of your documentation site.
229232
</Card>
230-
<Card title="Organize Navigation" icon="map" href="navigation#overview" horizontal>
233+
<Card title="Organize navigation" icon="map" href="navigation" horizontal>
231234
Structure your documentation with intuitive navigation to help users find what they need.
232235
</Card>
233-
<Card title="Add Interactive Components" icon="puzzle" href="/components/accordions" horizontal>
236+
<Card title="Add interactive components" icon="puzzle" href="/components/accordions" horizontal>
234237
Enhance your documentation with interactive components like accordions, tabs, and code samples.
235238
</Card>
236-
<Card title="Set Up API References" icon="code" href="/api-playground/overview" horizontal>
239+
<Card title="Set up API references" icon="code" href="/api-playground/overview" horizontal>
237240
Create interactive API references with OpenAPI and AsyncAPI specifications.
238241
</Card>
239242

0 commit comments

Comments
 (0)