Skip to content

Commit f2164c7

Browse files
Update quickstart.mdx
1 parent 1b75301 commit f2164c7

File tree

1 file changed

+27
-208
lines changed

1 file changed

+27
-208
lines changed

quickstart.mdx

Lines changed: 27 additions & 208 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,36 @@
11
---
22
title: "Quickstart"
33
description: "Deploy your documentation site and make your first changes."
4-
keywords: ["quickstart", "deploy", "get started", "first steps"]
54
---
65

7-
After completing this guide, you will have a live documentation site ready to customize and expand.
6+
[Create an account](https://mintlify.com/start) and complete onboarding to get started.
87

9-
<Info>
8+
## Deploy your site
109

11-
**Prerequisites**: Before you begin, [create an account](https://mintlify.com/start) and complete onboarding.
12-
13-
</Info>
14-
15-
## Getting started
16-
17-
After you complete the onboarding process, your documentation site automatically deploys to a unique URL with this format:
10+
After onboarding, your documentation site deploys automatically to:
1811

1912
```
2013
https://<your-project-name>.mintlify.app
2114
```
2215

2316
Find your URL on the Overview page of your [dashboard](https://dashboard.mintlify.com/).
2417

25-
<Frame>
26-
<img src="/images/quickstart/mintlify-domain-light.png" alt="Mintlify Domain" className="block dark:hidden" />
27-
<img src="/images/quickstart/mintlify-domain-dark.png" alt="Mintlify Domain" className="hidden dark:block" />
28-
</Frame>
29-
30-
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.
31-
32-
### Install the GitHub App
33-
34-
Mintlify provides a GitHub App that automates deployment when you push changes to your repository.
35-
36-
Install the GitHub App by following the instructions from the onboarding checklist or your dashboard.
37-
38-
1. Navigate to **Settings** in your Mintlify dashboard.
39-
2. Select **GitHub App** from the sidebar.
40-
3. Select **Install GitHub App**. This opens a new tab to the GitHub App installation page.
41-
4. Select the organization or user account where you want to install the app.
42-
5. Select the repositories that you want to connect.
43-
44-
<Frame>
45-
<img src="/images/quickstart/github-app-installation-light.png" alt="GitHub App Installation" className="block dark:hidden" />
46-
<img src="/images/quickstart/github-app-installation-dark.png" alt="GitHub App Installation" className="hidden dark:block" />
47-
</Frame>
18+
## Make your first edit
4819

49-
<Info>
50-
Update the GitHub App permissions if you move your documentation to a different repository.
51-
</Info>
20+
Choose your preferred workflow:
5221

53-
### Authorize your GitHub account
54-
55-
1. Navigate to **Settings** in your Mintlify dashboard.
56-
2. Select **My Profile** from the sidebar.
57-
3. Select **Authorize GitHub account**. This opens a new tab to the GitHub authorization page.
58-
59-
<Info>
60-
An admin for your GitHub organization may need to authorize your account depending on your organization settings.
61-
</Info>
62-
63-
## Editing workflows
64-
65-
Mintlify offers two workflows for creating and maintaining your documentation:
66-
67-
<Card title="Code-based workflow" icon="terminal" horizontal href="#code-based-workflow">
68-
For users who prefer working with existing tools in their local environment. Click to jump to this section.
69-
</Card>
70-
71-
<Card title="Web editor workflow" icon="mouse-pointer-2" horizontal href="#web-editor-workflow">
72-
For users who prefer a visual interface in their web browser. Click to jump to this section.
73-
</Card>
22+
### Web editor
7423

75-
## Code-based workflow
24+
1. Open the [Editor](https://dashboard.mintlify.com/editor) in your dashboard
25+
2. Select `index.mdx` from the file explorer
26+
3. Change the title to "Hello World"
27+
4. Click **Publish**
7628

77-
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.
29+
Your changes deploy immediately.
7830

79-
### Install the CLI
31+
### Local development
8032

81-
<Info>
82-
**Prerequisite**: The CLI requires [Node.js](https://nodejs.org/en) v19 or higher.
83-
</Info>
84-
85-
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:
33+
Install the CLI:
8634

8735
<CodeGroup>
8836
```bash npm
@@ -94,160 +42,31 @@ To work locally with your documentation, install the Command Line Interface (CLI
9442
```
9543
</CodeGroup>
9644

97-
### Create a new project
98-
99-
Run `mint new` to create a new documentation project. See the [CLI installation guide](/installation#create-a-new-project) for details on the command and flags.
100-
101-
### Edit the documentation
102-
103-
After setting up your project, you can start editing your documentation files. For example, update the title of the introduction page:
104-
105-
1. Navigate to your documentation repository.
106-
2. Open `index.mdx` and locate the top of the file:
107-
108-
```mdx index.mdx
109-
---
110-
title: "Introduction"
111-
description: "This is the introduction to the documentation"
112-
---
113-
```
114-
115-
3. Update the `title` field to `"Hello World"`.
116-
117-
```mdx index.mdx {2}
118-
---
119-
title: "Hello World"
120-
description: "This is the introduction to the documentation"
121-
---
122-
```
123-
124-
### Preview the changes
45+
Edit your docs:
12546

126-
To preview the changes locally, run the following command:
47+
1. Run `mint new` to create a project
48+
2. Open `index.mdx` and change the title to "Hello World"
49+
3. Run `mint dev` to preview at `localhost:3000`
50+
4. Push your changes to deploy
12751

128-
```bash
129-
mint dev
130-
```
52+
## Add a custom domain
13153

132-
Your preview is available at `localhost:3000`.
54+
Navigate to [Domain Setup](https://dashboard.mintlify.com/settings/deployment/custom-domain) and add your domain (e.g., `docs.yourcompany.com`).
13355

134-
<Frame>
135-
<img src="/images/quickstart/mintlify-dev-light.png" alt="Mintlify Dev" className="block dark:hidden" />
136-
<img src="/images/quickstart/mintlify-dev-dark.png" alt="Mintlify Dev" className="hidden dark:block" />
137-
</Frame>
56+
Configure your DNS:
13857

139-
### Push the changes
140-
141-
When you are ready to publish your changes, push them to your repository.
142-
143-
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).
144-
145-
After the deployment completes, your latest update will be available at `<your-project-name>.mintlify.app`.
146-
147-
<Card title="Jump to adding a custom domain" icon="arrow-down" href="#adding-a-custom-domain" horizontal>
148-
Optionally, skip the web editor workflow and jump to adding a custom domain.
149-
</Card>
150-
151-
## Web editor workflow
152-
153-
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.
154-
155-
### Access the web editor
156-
157-
1. Log in to your [dashboard](https://dashboard.mintlify.com).
158-
2. Select **Editor** on the left sidebar.
159-
160-
<Info>
161-
If you have not installed the GitHub App, you will be prompted to install the app when you open the web editor.
162-
</Info>
163-
164-
<Frame>
165-
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-light.png" className="block dark:hidden" />
166-
<img alt="The Mintlify web editor in the visual editor mode" src="/images/quickstart/web-editor-dark.png" className="hidden dark:block" />
167-
</Frame>
168-
169-
### Edit the documentation
170-
171-
In the web editor, you can navigate through your documentation files in the sidebar. Let's update the introduction page:
172-
173-
Find and select `index.mdx` in the file explorer.
174-
175-
Then, in the editor, update the title field to "Hello World".
176-
177-
<Frame>
178-
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-light.png" className="block dark:hidden" />
179-
<img alt="Editing in Web Editor" src="/images/quickstart/web-editor-editing-dark.png" className="hidden dark:block" />
180-
</Frame>
181-
182-
<Tip>
183-
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.
184-
</Tip>
185-
186-
### Publish your changes
187-
188-
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.
189-
190-
<Tip>
191-
Use branches to preview and review changes through pull requests before deploying to your live site.
192-
</Tip>
193-
194-
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).
195-
196-
## Adding a custom domain
197-
198-
While your `<your-project-name>.mintlify.app` subdomain works well for testing and development, most teams prefer using a custom domain for production documentation.
199-
200-
To add a custom domain, navigate to the [Domain Setup](https://dashboard.mintlify.com/settings/deployment/custom-domain) page in your dashboard.
201-
202-
<Frame>
203-
<img src="/images/quickstart/custom-domain-light.png" alt="Custom Domain" className="block dark:hidden" />
204-
<img src="/images/quickstart/custom-domain-dark.png" alt="Custom Domain" className="hidden dark:block" />
205-
</Frame>
206-
207-
Enter your domain (for example, `docs.yourcompany.com`) and follow the provided instructions to configure DNS settings with your domain provider.
208-
209-
<Table>
21058
| Record Type | Name | Value | TTL |
21159
|-------------|------|-------|-----|
212-
| CNAME | docs (or subdomain) | cname.vercel-dns.com | 3600 |
213-
</Table>
214-
215-
<Info>
216-
DNS changes can take up to 48 hours to propagate, though changes often complete much sooner.
217-
</Info>
60+
| CNAME | docs | cname.vercel-dns.com | 3600 |
21861

21962
## Next steps
22063

221-
Congratulations! You have successfully deployed your documentation site with Mintlify. Here are suggested next steps to enhance your documentation:
222-
223-
<Card title="Configure your global settings" icon="settings" href="organize/settings" horizontal>
224-
Configure site-wide styling, navigation, integrations, and more with the `docs.json` file.
225-
</Card>
226-
<Card title="Customize your theme" icon="paintbrush" href="customize/themes" horizontal>
227-
Learn how to customize colors, fonts, and the overall appearance of your documentation site.
64+
<Card title="Configure settings" icon="settings" href="organize/settings" horizontal>
65+
Customize your site with the `docs.json` file
22866
</Card>
22967
<Card title="Organize navigation" icon="map" href="organize/navigation" horizontal>
230-
Structure your documentation with intuitive navigation to help users find what they need.
68+
Structure your documentation
23169
</Card>
232-
<Card title="Add interactive components" icon="puzzle" href="/components/accordions" horizontal>
233-
Enhance your documentation with interactive components like accordions, tabs, and code samples.
70+
<Card title="Add components" icon="puzzle" href="/components/accordions" horizontal>
71+
Use interactive elements
23472
</Card>
235-
<Card title="Set up API references" icon="code" href="/api-playground/overview" horizontal>
236-
Create interactive API references with OpenAPI and AsyncAPI specifications.
237-
</Card>
238-
239-
## Troubleshooting
240-
241-
If you encounter issues during the setup process, check these common troubleshooting solutions:
242-
243-
<AccordionGroup>
244-
<Accordion title="Local preview not working">
245-
Make sure you have Node.js v19+ installed and that you run the `mint dev` command from the directory containing your `docs.json` file.
246-
</Accordion>
247-
<Accordion title="Changes not reflecting on live site">
248-
Deployment can take up 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.
249-
</Accordion>
250-
<Accordion title="Custom domain not connecting">
251-
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.
252-
</Accordion>
253-
</AccordionGroup>

0 commit comments

Comments
 (0)