Skip to content

Commit 383969e

Browse files
Update quickstart.mdx
1 parent ef880d1 commit 383969e

File tree

1 file changed

+97
-90
lines changed

1 file changed

+97
-90
lines changed

quickstart.mdx

Lines changed: 97 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,88 @@
11
---
22
title: "Quickstart"
3-
description: "Deploy your documentation in minutes"
3+
description: "Build beautiful documentation in under 10 minutes"
44
icon: "rocket"
55
---
66

7-
This quickstart guide shows you how to set up and deploy your documentation site in minutes.
7+
Get your documentation site live in minutes with this step-by-step guide.
88

9-
After completing this guide, you will have a live documentation site ready to customize and expand.
9+
You'll go from zero to a fully deployed documentation site that's ready for your team to use and customize.
1010

1111
<Info>
1212

13-
**Prerequisites**: Before you begin, [create an account](https://mintlify.com/start) and complete onboarding.
13+
**Before you start**: [Sign up for Mintlify](https://mintlify.com/start) and complete the initial setup wizard.
1414

1515
</Info>
1616

17-
## Getting started
17+
## Launch your site
1818

19-
After you complete the onboarding process, your documentation site automatically deploys to a unique URL with this format:
19+
Once you finish the setup wizard, your documentation automatically goes live at:
2020

2121
```
2222
https://<your-project-name>.mintlify.app
2323
```
2424

25-
Find your URL on the Overview page of your [dashboard](https://dashboard.mintlify.com/).
25+
You can find this URL in your [dashboard](https://dashboard.mintlify.com/) overview section.
2626

2727
<Frame>
2828
<img src="/images/quickstart/mintlify-domain-light.png" alt="Mintlify Domain" className="block dark:hidden" />
2929
<img src="/images/quickstart/mintlify-domain-dark.png" alt="Mintlify Domain" className="hidden dark:block" />
3030
</Frame>
3131

32-
Your site's URL is available immediately. Use this URL for testing and sharing with your team while you are setting up your docs site.
32+
Your site is live immediately - share this URL with your team while you build out your content.
3333

34-
### Install the GitHub App
34+
### Connect GitHub
3535

36-
Mintlify provides a GitHub App that automates deployment when you push changes to your repository.
36+
Set up automatic deployments by connecting your GitHub repository.
3737

38-
Install the GitHub App by following the instructions from the onboarding checklist or your dashboard.
38+
Follow these steps to install the GitHub integration:
3939

40-
1. Navigate to **Settings** in your Mintlify dashboard.
41-
2. Select **GitHub App** from the sidebar.
42-
3. Select **Install GitHub App**. This opens a new tab to the GitHub App installation page.
43-
4. Select the organization or user account where you want to install the app.
44-
5. Select the repositories that you want to connect.
40+
1. Go to **Settings** in your dashboard
41+
2. Click **GitHub App** in the sidebar
42+
3. Click **Install GitHub App** - this opens GitHub in a new tab
43+
4. Choose your organization or personal account
44+
5. Select which repositories to connect
4545

4646
<Frame>
4747
<img src="/images/quickstart/github-app-installation-light.png" alt="GitHub App Installation" className="block dark:hidden" />
4848
<img src="/images/quickstart/github-app-installation-dark.png" alt="GitHub App Installation" className="hidden dark:block" />
4949
</Frame>
5050

5151
<Info>
52-
Update the GitHub App permissions if you move your documentation to a different repository.
52+
Need to change repositories later? Update the GitHub App permissions anytime.
5353
</Info>
5454

55-
### Authorize your GitHub account
55+
### Link your GitHub profile
5656

57-
1. Navigate to **Settings** in your Mintlify dashboard.
58-
2. Select **My Profile** from the sidebar.
59-
3. Select **Authorize GitHub account**. This opens a new tab to the GitHub authorization page.
57+
Connect your personal GitHub account for seamless editing:
58+
59+
1. Navigate to **Settings****My Profile**
60+
2. Click **Authorize GitHub account**
61+
3. Complete the authorization in the new GitHub tab
6062

6163
<Info>
62-
An admin for your GitHub organization may need to authorize your account depending on your organization settings.
64+
Your organization admin might need to approve this connection based on your GitHub settings.
6365
</Info>
6466

65-
## Editing workflows
67+
## Choose your editing style
6668

67-
Mintlify offers two workflows for creating and maintaining your documentation:
69+
Pick the workflow that matches how you like to work:
6870

69-
<Card title="Code-based workflow" icon="terminal" horizontal href="#code-based-workflow">
70-
For users who prefer working with existing tools in their local environment. Click to jump to this section.
71+
<Card title="Developer workflow" icon="terminal" horizontal href="#developer-workflow">
72+
Work locally with your favorite code editor and Git workflow.
7173
</Card>
7274

73-
<Card title="Web editor workflow" icon="mouse-pointer-2" horizontal href="#web-editor-workflow">
74-
For users who prefer a visual interface in their web browser. Click to jump to this section.
75+
<Card title="Browser workflow" icon="mouse-pointer-2" horizontal href="#browser-workflow">
76+
Edit directly in your browser with our visual editor.
7577
</Card>
7678

77-
## Code-based workflow
79+
## Developer workflow
7880

79-
The code-based workflow integrates with your existing development environment and Git repositories. This workflow is best for technical teams who want to manage documentation alongside code.
81+
Perfect for teams who want documentation integrated with their development process.
8082

81-
### Install the CLI
83+
### Set up the CLI
8284

83-
To work locally with your documentation, install the Command Line Interface (CLI), called [mint](https://www.npmjs.com/package/mint), by running this command in your terminal:
85+
Install our command-line tool to work with your docs locally:
8486

8587
<CodeGroup>
8688
```bash npm
@@ -93,15 +95,15 @@ To work locally with your documentation, install the Command Line Interface (CLI
9395
</CodeGroup>
9496

9597
<Info>
96-
You need Node.js installed on your machine. If you encounter installation issues, check the troubleshooting guide.
98+
Requires Node.js v19 or higher. Having trouble? Check our troubleshooting section below.
9799
</Info>
98100

99-
### Edit the documentation
101+
### Make your first edit
100102

101-
After setting up your environment, you can start editing your documentation files. For example, update the title of the introduction page:
103+
Let's update your homepage to see the workflow in action:
102104

103-
1. Open your repository created during onboarding.
104-
2. Open `index.mdx` and locate the top of the file:
105+
1. Clone the repository created during setup
106+
2. Open `index.mdx` and find the frontmatter:
105107

106108
```mdx index.mdx
107109
---
@@ -110,142 +112,147 @@ description: "This is the introduction to the documentation"
110112
---
111113
```
112114

113-
3. Update the `title` field to `"Hello World"`.
115+
3. Change the title to something new:
114116

115117
```mdx index.mdx {2}
116118
---
117-
title: "Hello World"
119+
title: "Welcome to our docs"
118120
description: "This is the introduction to the documentation"
119121
---
120122
```
121123

122-
### Preview the changes
124+
### Test locally
123125

124-
To preview the changes locally, run the following command:
126+
See your changes before publishing:
125127

126128
```bash
127129
mint dev
128130
```
129131

130-
Your preview will be available at `localhost:3000`.
132+
Open `localhost:3000` to preview your site.
131133

132134
<Frame>
133135
<img src="/images/quickstart/mintlify-dev-light.png" alt="Mintlify Dev" className="block dark:hidden" />
134136
<img src="/images/quickstart/mintlify-dev-dark.png" alt="Mintlify Dev" className="hidden dark:block" />
135137
</Frame>
136138

137-
### Push the changes
139+
### Deploy your changes
138140

139-
When you are ready to publish your changes, push them to your repository.
141+
Ready to go live? Just push to your repository:
140142

141-
Mintlify automatically detects the changes, builds your documentation, and deploys the updates to your site. Monitor the deployment status in your GitHub repository commit history or the [dashboard](https://dashboard.mintlify.com).
143+
```bash
144+
git add .
145+
git commit -m "Update homepage title"
146+
git push
147+
```
142148

143-
After the deployment completes, your latest update will be available at `<your-project-name>.mintlify.app`.
149+
Mintlify detects your changes and automatically rebuilds your site. Track the deployment in your GitHub Actions or dashboard.
144150

145-
<Card title="Jump to adding a custom domain" icon="arrow-down" href="#adding-a-custom-domain" horizontal>
146-
Optionally, skip the web editor workflow and jump to adding a custom domain.
151+
Your updates appear at `<your-project-name>.mintlify.app` within minutes.
152+
153+
<Card title="Skip to custom domain setup" icon="arrow-down" href="#custom-domain" horizontal>
154+
Ready to use your own domain? Jump ahead to the custom domain section.
147155
</Card>
148156

149-
## Web editor workflow
157+
## Browser workflow
150158

151-
The web editor workflow provides a what-you-see-is-what-you-get (WYSIWYG) interface for creating and editing documentation. This workflow is best for people who want to work in their web browser without additional local development tools.
159+
Edit your documentation directly in your browser - no local setup required.
152160

153-
### Access the web editor
161+
### Open the editor
154162

155-
1. Log in to your [dashboard](https://dashboard.mintlify.com).
156-
2. Select **Editor** on the left sidebar.
163+
1. Log into your [dashboard](https://dashboard.mintlify.com)
164+
2. Click **Editor** in the sidebar
157165

158166
<Info>
159-
If you have not installed the GitHub App, you will be prompted to install the app when you open the web editor.
167+
First time? You'll be prompted to install the GitHub App if you haven't already.
160168
</Info>
161169

162170
<Frame>
163171
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-light.png" className="block dark:hidden" />
164172
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-dark.png" className="hidden dark:block" />
165173
</Frame>
166174

167-
### Edit the documentation
168-
169-
In the web editor, you can navigate through your documentation files in the sidebar. Let's update the introduction page:
175+
### Edit your content
170176

171-
Find and select `index.mdx` in the file explorer.
177+
Navigate to any file in the sidebar and start editing. Let's update the homepage:
172178

173-
Then, in the editor, update the title field to "Hello World".
179+
1. Click `index.mdx` in the file tree
180+
2. Change the title field to "Welcome to our docs"
174181

175182
<Frame>
176183
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-light.png" className="block dark:hidden" />
177184
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-dark.png" className="hidden dark:block" />
178185
</Frame>
179186

180187
<Tip>
181-
The editor provides a rich set of formatting tools and components. Type <kbd>/</kbd> in the editor to open the command menu and access these tools.
188+
Press <kbd>/</kbd> anywhere in the editor to open the command palette and access formatting tools.
182189
</Tip>
183190

184-
### Publish your changes
191+
### Go live
185192

186-
When you're satisfied with your edits, select the **Publish** button in the top-right corner. Your changes are immediately deployed to your documentation site.
193+
Click **Publish** in the top-right corner. Your changes deploy instantly to your live site.
187194

188195
<Tip>
189-
Use branches to preview and review changes through pull requests before deploying to your live site.
196+
Use branches for team collaboration and review changes before they go live.
190197
</Tip>
191198

192-
For more details about using the web editor, including using branches and pull requests to collaborate and preview changes, see our [web editor documentation](/editor/getting-started).
199+
Learn more about advanced editor features in our [web editor guide](/editor/getting-started).
193200

194-
## Adding a custom domain
201+
## Custom domain
195202

196-
While your `<your-project-name>.mintlify.app` subdomain works well for testing and development, most teams prefer using a custom domain for production documentation.
203+
Ready to use your own domain instead of the Mintlify subdomain?
197204

198-
To add a custom domain, navigate to the [Domain Setup](https://dashboard.mintlify.com/settings/deployment/custom-domain) page in your dashboard.
205+
Head to [Domain Setup](https://dashboard.mintlify.com/settings/deployment/custom-domain) in your dashboard.
199206

200207
<Frame>
201208
<img src="/images/quickstart/custom-domain-light.png" alt="Custom Domain" className="block dark:hidden" />
202209
<img src="/images/quickstart/custom-domain-dark.png" alt="Custom Domain" className="hidden dark:block" />
203210
</Frame>
204211

205-
Enter your domain (for example, `docs.yourcompany.com`) and follow the provided instructions to configure DNS settings with your domain provider.
212+
Enter your domain (like `docs.yourcompany.com`) and configure these DNS settings with your domain provider:
206213

207214
<Table>
208215
| Record Type | Name | Value | TTL |
209216
|-------------|------|-------|-----|
210-
| CNAME | docs (or subdomain) | cname.mintlify.app | 3600 |
217+
| CNAME | docs (or your subdomain) | cname.mintlify.app | 3600 |
211218
</Table>
212219

213220
<Info>
214-
DNS changes can take up to 48 hours to propagate, though changes often complete much sooner.
221+
DNS changes typically take 15-30 minutes but can take up to 48 hours in some cases.
215222
</Info>
216223

217-
## Next steps
224+
## What's next?
218225

219-
Congratulations! You have successfully deployed your documentation site with Mintlify. Here are suggested next steps to enhance your documentation:
226+
Your documentation site is live! Here's how to make it even better:
220227

221-
<Card title="Configure your global settings" icon="settings" href="settings" horizontal>
222-
Configure site-wide styling, navigation, integrations, and more with the `docs.json` file.
228+
<Card title="Customize your site" icon="settings" href="settings" horizontal>
229+
Configure colors, navigation, integrations, and more in your `docs.json` file.
223230
</Card>
224-
<Card title="Customize your theme" icon="paintbrush" href="themes" horizontal>
225-
Learn how to customize colors, fonts, and the overall appearance of your documentation site.
231+
<Card title="Style your brand" icon="paintbrush" href="themes" horizontal>
232+
Match your brand with custom colors, fonts, and styling options.
226233
</Card>
227-
<Card title="Organize navigation" icon="map" href="navigation" horizontal>
228-
Structure your documentation with intuitive navigation to help users find what they need.
234+
<Card title="Structure your content" icon="map" href="navigation" horizontal>
235+
Organize pages with groups, tabs, and hierarchical navigation.
229236
</Card>
230-
<Card title="Add interactive components" icon="puzzle" href="/components/accordions" horizontal>
231-
Enhance your documentation with interactive components like accordions, tabs, and code samples.
237+
<Card title="Add rich components" icon="puzzle" href="/components/accordions" horizontal>
238+
Use callouts, code blocks, tabs, and other interactive elements.
232239
</Card>
233-
<Card title="Set up API references" icon="code" href="/api-playground/overview" horizontal>
234-
Create interactive API references with OpenAPI and AsyncAPI specifications.
240+
<Card title="Build API docs" icon="code" href="/api-playground/overview" horizontal>
241+
Generate interactive API references from OpenAPI specifications.
235242
</Card>
236243

237-
## Troubleshooting
244+
## Common issues
238245

239-
If you encounter issues during the setup process, check these common troubleshooting solutions:
246+
Running into problems? Here are quick fixes for the most common issues:
240247

241248
<AccordionGroup>
242-
<Accordion title="Local preview not working">
243-
Make sure you have Node.js v19+ installed and that you run the `mint dev` command from the directory containing your `docs.json` file.
249+
<Accordion title="Can't run mint dev locally">
250+
Check that you have Node.js v19+ installed and you're running the command from the folder containing your `docs.json` file.
244251
</Accordion>
245-
<Accordion title="Changes not reflecting on live site">
246-
Deployment can take upwards to a few minutes. Check your GitHub Actions (for code-based workflow) or deployment logs in the Mintlify dashboard to ensure there are no build errors.
252+
<Accordion title="Changes aren't showing up">
253+
Deployments can take 2-3 minutes. Check your GitHub Actions tab or dashboard deployment logs for any build errors.
247254
</Accordion>
248-
<Accordion title="Custom domain not connecting">
249-
Verify that your DNS records are set up correctly and allow sufficient time for DNS propagation (up to 48 hours). You can use tools like [DNSChecker](https://dnschecker.org) to verify your CNAME record.
255+
<Accordion title="Custom domain isn't working">
256+
Double-check your DNS records and wait for propagation. Use [DNSChecker](https://dnschecker.org) to verify your CNAME record is set up correctly.
250257
</Accordion>
251258
</AccordionGroup>

0 commit comments

Comments
 (0)