Skip to content

Commit 76f07b0

Browse files
Update quickstart.mdx
1 parent 0b5b2ea commit 76f07b0

File tree

1 file changed

+94
-91
lines changed

1 file changed

+94
-91
lines changed

quickstart.mdx

Lines changed: 94 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,86 @@
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 with custom branding and interactive features.
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+
Your unique URL appears on your [dashboard overview](https://dashboard.mintlify.com/).
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+
This URL is live immediately - share it with your team for feedback while you customize your docs.
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+
Link your GitHub repository to enable automatic deployments when you make changes.
3737

38-
Install the GitHub App by following the instructions from the onboarding checklist or your dashboard.
38+
From your dashboard:
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****GitHub App**
41+
2. Click **Install GitHub App** (opens GitHub in a new tab)
42+
3. Choose your organization or personal account
43+
4. Select which repositories to connect
4544

4645
<Frame>
4746
<img src="/images/quickstart/github-app-installation-light.png" alt="GitHub App Installation" className="block dark:hidden" />
4847
<img src="/images/quickstart/github-app-installation-dark.png" alt="GitHub App Installation" className="hidden dark:block" />
4948
</Frame>
5049

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

55-
### Authorize your GitHub account
54+
### Link your GitHub profile
5655

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.
56+
Connect your personal GitHub account for seamless editing:
57+
58+
1. Navigate to **Settings****My Profile**
59+
2. Click **Authorize GitHub account**
6060

6161
<Info>
62-
An admin for your GitHub organization may need to authorize your account depending on your organization settings.
62+
Organization admins may need to approve this connection based on your GitHub settings.
6363
</Info>
6464

65-
## Editing workflows
65+
## Choose your editing style
6666

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

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.
69+
<Card title="Local development" icon="terminal" horizontal href="#local-development">
70+
Edit files in your favorite code editor with full Git workflow support.
7171
</Card>
7272

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.
73+
<Card title="Browser editor" icon="mouse-pointer-2" horizontal href="#browser-editor">
74+
Visual editing interface - no local setup required.
7575
</Card>
7676

77-
## Code-based workflow
77+
## Local development
7878

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.
79+
Work with your documentation files directly in your development environment alongside your code.
8080

81-
### Install the CLI
81+
### Get the CLI
8282

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:
83+
Install the Mintlify CLI to preview changes locally:
8484

8585
<CodeGroup>
8686
```bash npm
@@ -93,15 +93,15 @@ To work locally with your documentation, install the Command Line Interface (CLI
9393
</CodeGroup>
9494

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

99-
### Edit the documentation
99+
### Make your first edit
100100

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

103-
1. Open your repository created during onboarding.
104-
2. Open `index.mdx` and locate the top of the file:
103+
1. Open your documentation repository
104+
2. Find `index.mdx` and look at the frontmatter:
105105

106106
```mdx index.mdx
107107
---
@@ -110,142 +110,145 @@ description: "This is the introduction to the documentation"
110110
---
111111
```
112112

113-
3. Update the `title` field to `"Hello World"`.
113+
3. Change the title to something personal:
114114

115115
```mdx index.mdx {2}
116116
---
117-
title: "Hello World"
117+
title: "Welcome to our docs"
118118
description: "This is the introduction to the documentation"
119119
---
120120
```
121121

122-
### Preview the changes
122+
### See it live locally
123123

124-
To preview the changes locally, run the following command:
124+
Start the development server:
125125

126126
```bash
127127
mint dev
128128
```
129129

130-
Your preview will be available at `localhost:3000`.
130+
Open `localhost:3000` to see your changes instantly.
131131

132132
<Frame>
133133
<img src="/images/quickstart/mintlify-dev-light.png" alt="Mintlify Dev" className="block dark:hidden" />
134134
<img src="/images/quickstart/mintlify-dev-dark.png" alt="Mintlify Dev" className="hidden dark:block" />
135135
</Frame>
136136

137-
### Push the changes
137+
### Deploy your changes
138+
139+
Ready to go live? Just push to your repository:
138140

139-
When you are ready to publish your changes, push them to your repository.
141+
```bash
142+
git add .
143+
git commit -m "Update homepage title"
144+
git push
145+
```
140146

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).
147+
Mintlify detects the changes and automatically rebuilds your site. Track deployment progress in your [dashboard](https://dashboard.mintlify.com) or GitHub Actions.
142148

143-
After the deployment completes, your latest update will be available at `<your-project-name>.mintlify.app`.
149+
Your updates appear at `<your-project-name>.mintlify.app` within minutes.
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+
<Card title="Skip to custom domain setup" icon="arrow-down" href="#custom-domain" horizontal>
152+
Ready to use your own domain? Jump ahead.
147153
</Card>
148154

149-
## Web editor workflow
155+
## Browser editor
150156

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.
157+
Edit your documentation visually without any local setup - perfect for quick updates and non-technical team members.
152158

153-
### Access the web editor
159+
### Open the editor
154160

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

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

162168
<Frame>
163169
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-light.png" className="block dark:hidden" />
164170
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-dark.png" className="hidden dark:block" />
165171
</Frame>
166172

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:
173+
### Edit visually
170174

171-
Find and select `index.mdx` in the file explorer.
175+
Navigate to any page using the file tree on the left. Let's update the homepage:
172176

173-
Then, in the editor, update the title field to "Hello World".
177+
1. Click `index.mdx` in the file explorer
178+
2. Change the title field to "Welcome to our docs"
174179

175180
<Frame>
176181
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-light.png" className="block dark:hidden" />
177182
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-dark.png" className="hidden dark:block" />
178183
</Frame>
179184

180185
<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.
186+
Press <kbd>/</kbd> anywhere in the editor to open the component menu and add rich content like callouts, code blocks, and more.
182187
</Tip>
183188

184-
### Publish your changes
189+
### Go live instantly
185190

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.
191+
Click **Publish** in the top-right corner. Your changes deploy immediately to your live site.
187192

188193
<Tip>
189-
Use branches to preview and review changes through pull requests before deploying to your live site.
194+
Use branches for collaborative editing and review workflows before publishing to production.
190195
</Tip>
191196

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).
197+
Learn more about advanced editor features in our [web editor guide](/editor/getting-started).
193198

194-
## Adding a custom domain
199+
## Custom domain
195200

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.
201+
Replace your `.mintlify.app` URL with your own domain for a professional look.
197202

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

200205
<Frame>
201206
<img src="/images/quickstart/custom-domain-light.png" alt="Custom Domain" className="block dark:hidden" />
202207
<img src="/images/quickstart/custom-domain-dark.png" alt="Custom Domain" className="hidden dark:block" />
203208
</Frame>
204209

205-
Enter your domain (for example, `docs.yourcompany.com`) and follow the provided instructions to configure DNS settings with your domain provider.
210+
Enter your desired domain (like `docs.yourcompany.com`) and add this DNS record with your domain provider:
206211

207212
<Table>
208213
| Record Type | Name | Value | TTL |
209214
|-------------|------|-------|-----|
210-
| CNAME | docs (or subdomain) | cname.mintlify.app | 3600 |
215+
| CNAME | docs | cname.mintlify.app | 3600 |
211216
</Table>
212217

213218
<Info>
214-
DNS changes can take up to 48 hours to propagate, though changes often complete much sooner.
219+
DNS changes typically take 5-30 minutes but can take up to 48 hours in rare cases.
215220
</Info>
216221

217-
## Next steps
222+
## What's next?
218223

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

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.
226+
<Card title="Brand your site" icon="paintbrush" href="themes" horizontal>
227+
Customize colors, fonts, and styling to match your brand.
223228
</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.
229+
<Card title="Structure your content" icon="map" href="navigation" horizontal>
230+
Organize pages with intuitive navigation and grouping.
226231
</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.
232+
<Card title="Add rich components" icon="puzzle" href="/components/accordions" horizontal>
233+
Use interactive elements like tabs, accordions, and code examples.
229234
</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.
235+
<Card title="Configure site settings" icon="settings" href="settings" horizontal>
236+
Set up analytics, SEO, custom scripts, and integrations.
232237
</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.
238+
<Card title="Build API docs" icon="code" href="/api-playground/overview" horizontal>
239+
Generate interactive API references from OpenAPI specs.
235240
</Card>
236241

237-
## Troubleshooting
238-
239-
If you encounter issues during the setup process, check these common troubleshooting solutions:
242+
## Common issues
240243

241244
<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.
245+
<Accordion title="CLI won't install or start">
246+
Ensure you have Node.js v19+ installed. Run `node --version` to check. If using an older version, update Node.js and try again.
244247
</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.
248+
<Accordion title="Site not updating after push">
249+
Check your GitHub Actions tab for build errors. Deployments typically take 2-5 minutes. Verify your GitHub App has access to the correct repository.
247250
</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.
251+
<Accordion title="Custom domain not working">
252+
Double-check your CNAME record points to `cname.mintlify.app`. Use [DNSChecker](https://dnschecker.org) to verify DNS propagation. Contact support if issues persist after 48 hours.
250253
</Accordion>
251254
</AccordionGroup>

0 commit comments

Comments
 (0)