Skip to content

Commit 1e3e79d

Browse files
committed
Update a lot of nits
1 parent 0ec7c43 commit 1e3e79d

File tree

14 files changed

+29
-30
lines changed

14 files changed

+29
-30
lines changed

api-playground/openapi/advanced-features.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ For complex datatypes, OpenAPI provides the `oneOf`, `anyOf`, and `allOf` keywor
1313
- `anyOf` functions like an "or" operator
1414
- `allOf` functions like an "and" operator
1515

16-
<Warning>Mintlify treats the `oneOf` and `anyOf` keywords the same. We have found that, when people use `oneOf`, they often *mean* `anyOf` - and there is often no meaningful difference to the user.</Warning>
16+
<Warning>The `oneOf` and `anyOf` keywords are treated the same. We have found that, when people use `oneOf`, they often *mean* `anyOf` - and there is often no meaningful difference to the user.</Warning>
1717

18-
<Info>Mintlify currently does not support the `not` keyword.</Info>
18+
<Info>The `not` keyword is not currently supported.</Info>
1919

2020
### Combining schemas with `allOf`
2121

api-playground/openapi/writing-openapi.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Writing OpenAPI"
3-
description: "Use OpenAPI features to enhance your Mintlify docs"
3+
description: "Use OpenAPI features to enhance your documentation"
44
---
55

66
## Describing your API

api-playground/overview.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ The API playground is an interactive environment to make requests and preview an
1010

1111
<Info>
1212
Autogenerating API pages with OpenAPI will automatically generate API
13-
playground. Read more about using OpenAPI with Mintlify
14-
[here](/api-playground/openapi).
13+
playground. Read more about using OpenAPI [here](/api-playground/openapi).
1514
</Info>

development.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: 'Preview changes locally to update your docs'
99

1010
</Info>
1111

12-
**Step 1**: Install Mintlify:
12+
**Step 1**: Install the Mintlify CLI:
1313

1414
<CodeGroup>
1515

@@ -33,7 +33,7 @@ description: 'Preview changes locally to update your docs'
3333
mintlify dev
3434
```
3535

36-
Alternatively, if you do not want to install Mintlify globally you can use a run script available:
36+
Alternatively, if you do not want to install the CLI globally you can use a run script available:
3737

3838
<CodeGroup>
3939
```bash npm
@@ -58,19 +58,19 @@ A local preview of your documentation will be available at `http://localhost:300
5858

5959
### Custom Ports
6060

61-
By default, Mintlify uses port 3000. You can customize the port Mintlify runs on by using the `--port` flag. To run Mintlify on port 3333, for instance, use this command:
61+
By default, Mintlify uses port 3000. You can customize the port using the `--port` flag. To run Mintlify on port 3333, for instance, use this command:
6262

6363
```bash
6464
mintlify dev --port 3333
6565
```
6666

67-
If you attempt to run Mintlify on a port that's already in use, it will use the next available port:
67+
If you attempt to run on a port that's already in use, it will use the next available port:
6868

6969
```md
7070
Port 3000 is already in use. Trying 3001 instead.
7171
```
7272

73-
## Mintlify Versions
73+
## Versions
7474

7575
Please note that each CLI release is associated with a specific version of Mintlify. If your local website doesn't align with the production version, please update the CLI:
7676

image-embeds.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ icon: 'image'
1111

1212
<Info>
1313
Mintlify supports files up to 5 MB. To use larger files, consider a storage
14-
service like Cloudinary and embed in your Mintlify documentation.
14+
service like Cloudinary and embed in your documentation using the URL.
1515
</Info>
1616

1717
## Image

migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: 'How to migrate documentation from your existing provider'
44
icon: 'arrow-up-from-bracket'
55
---
66

7-
You can use our [public packages](https://www.npmjs.com/package/@mintlify/scraping) to scrape documentation frameworks to Mintlify.
7+
You can use our [public packages](https://www.npmjs.com/package/@mintlify/scraping) to convert your existing documentation to Mintlify.
88

99
We currently support migration for:
1010
<CardGroup cols={2}>

settings/authentication-personalization/authentication-setup/jwt.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If you don’t have a dashboard, or if you want to keep your dashboard and docs
1313

1414
<Steps>
1515
<Step title="Generate a private key">
16-
Go to your [Mintlify dashboard settings](https://dashboard.mintlify.com/products/authentication) and generate a private key. Store this key somewhere secure where it can be accessed by your backend.
16+
Go to your [dashboard settings](https://dashboard.mintlify.com/products/authentication) and generate a private key. Store this key somewhere secure where it can be accessed by your backend.
1717
</Step>
1818
<Step title="Create a login flow">
1919
Create a login flow that does the following:
@@ -23,7 +23,7 @@ If you don’t have a dashboard, or if you want to keep your dashboard and docs
2323
- Create a redirect URL back to the `/login/jwt-callback` path of your docs, including the JWT as the hash
2424
</Step>
2525
<Step title="Configure your Authentication settings">
26-
Return to your [Mintlify dashboard settings](https://dashboard.mintlify.com/products/authentication) and add the login URL to your Authentication settings.
26+
Return to your [dashboard settings](https://dashboard.mintlify.com/products/authentication) and add the login URL to your Authentication settings.
2727
</Step>
2828
</Steps>
2929

@@ -39,7 +39,7 @@ I create a JWT containing the user’s custom data according to Mintlify’s spe
3939
I use a JWT library to sign this JWT with my Mintlify secret, create a redirect URL of the
4040
form `https://docs.foo.com/login/jwt-callback#{SIGNED_JWT}`, and redirect the user.
4141

42-
I then go to the Mintlify dashboard settings and enter `https://foo.com/docs-login` for the
42+
I then go to the dashboard settings and enter `https://foo.com/docs-login` for the
4343
Login URL field.
4444

4545
Here's what the code might look like:

settings/authentication-personalization/authentication-setup/mintlify.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ I want to set up authentication for my docs hosted at `docs.foo.com`. I want my
2424
to be internal, and the people that will be viewing my docs are the same people that
2525
contribute to my docs.
2626

27-
To set up authentication with Mintlify, I can go to my [Mintlify dashboard settings](https://dashboard.mintlify.com/products/authentication)
27+
To set up authentication with Mintlify, I can go to my [dashboard settings](https://dashboard.mintlify.com/products/authentication)
2828
and enable Authentication with the Mintlify Auth Handshake.
2929

3030
I can then ensure that anyone that should be able to read the docs has been added as a user in
31-
my [Mintlify dashboard settings](https://dashboard.mintlify.com/settings/organization/members).
31+
my [dashboard settings](https://dashboard.mintlify.com/settings/organization/members).
3232

3333
## Implementation
3434

settings/authentication-personalization/authentication-setup/oauth.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ I have an existing OAuth server that supports the Authorization Code flow. I wan
3939

4040
To set up authentication with Mintlify, I create an endpoint `api.foo.com/docs/user-info` which requires an OAuth access token with the `docs-user-info` scope, and responds with the user's custom data according to Mintlify’s specification.
4141

42-
I then go to the Mintlify dashboard settings, navigate to the Authentication settings, select OAuth, and enter the relevant values for the OAuth flow and Info API endpoint:
42+
I then go to the dashboard settings, navigate to the Authentication settings, select OAuth, and enter the relevant values for the OAuth flow and Info API endpoint:
4343
- **Authorization URL**: `https://auth.foo.com/authorization`
4444
- **Client ID**: `ydybo4SD8PR73vzWWd6S0ObH`
4545
- **Scopes**: `['docs-user-info']`

settings/authentication-personalization/personalization-setup/jwt.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ If you don’t have a dashboard, or if you want to keep your dashboard and docs
1414

1515
<Steps>
1616
<Step title="Generate a private key">
17-
Go to your [Mintlify dashboard settings](https://dashboard.mintlify.com/products/authentication) and generate a private key. Store this key somewhere secure where it can be accessed by your backend.
17+
Go to your [dashboard settings](https://dashboard.mintlify.com/products/authentication) and generate a private key. Store this key somewhere secure where it can be accessed by your backend.
1818
</Step>
1919
<Step title="Create a login flow">
2020
Create a login flow that does the following:
@@ -24,7 +24,7 @@ If you don’t have a dashboard, or if you want to keep your dashboard and docs
2424
- Create a redirect URL back to your docs, including the JWT as the hash
2525
</Step>
2626
<Step title="Configure your Personalization settings">
27-
Return to your [Mintlify dashboard settings](https://dashboard.mintlify.com/products/authentication) and add the login URL to your Personalization settings.
27+
Return to your [dashboard settings](https://dashboard.mintlify.com/products/authentication) and add the login URL to your Personalization settings.
2828
</Step>
2929
</Steps>
3030

@@ -40,7 +40,7 @@ I create a JWT containing the user’s custom data according to Mintlify’s spe
4040
I use a JWT library to sign this JWT with my Mintlify secret, create a redirect URL of the
4141
form `https://docs.foo.com#{SIGNED_JWT}`, and redirect the user.
4242

43-
I then go to the Mintlify dashboard settings and enter `https://foo.com/docs-login` for the
43+
I then go to the dashboard settings and enter `https://foo.com/docs-login` for the
4444
Login URL field.
4545

4646
Here's what the code might look like:

0 commit comments

Comments
 (0)