Skip to content

Commit 3dc0e1c

Browse files
Documentation edits made through Mintlify web editor
1 parent 7724d2c commit 3dc0e1c

File tree

6 files changed

+75
-64
lines changed

6 files changed

+75
-64
lines changed

advanced/dashboard/permissions.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: 'Editor Permissions'
33
description: 'Allow more members of your team to update your docs'
44
---
55

6-
The team member who created your initial docs will have update access to your docs, as long as they push to your documentation repo with the same GitHub account that was used while signing up for Mintlify.
6+
The team member who created your initial documentation will have update access to your docs, provided they push to your documentation repository using the same GitHub account that was used during Mintlify signup.
77

8-
If another editor attempts to update the docs while on the free plan, you will see a warning in your git commit check.
8+
If another editor attempts to update the docs while on the free plan, a warning will appear in your git commit check.
99

1010
<Frame>
1111
<img className="rounded-md" src="/images/editor-gate.png" />
1212
</Frame>
1313

14-
In the details of the git check warning, you'll find the link to upgrade your plan. You can also upgrade your plan on the [dashboard](https://dashboard.mintlify.com) to enable unlimited editors to update your docs. Once you upgrade your plan, trigger a manual update or push another change to deploy your updates.
14+
You can find the upgrade link in the details of the git check warning. Alternatively, you can upgrade your plan directly through the [dashboard](https://dashboard.mintlify.com) to enable unlimited editors for your documentation. After upgrading, either trigger a manual update or push a new change to deploy your updates.
1515

16-
Learn more about our pricing [here](https://mintlify.com/pricing).
16+
To learn more about our pricing options, visit our [pricing page](https://mintlify.com/pricing).

advanced/dashboard/sso.mdx

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Single Sign-On (SSO)"
33
description: "Customize how your team can login to your admin dashboard"
44
---
55

6-
Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Google Workspace, we have provider-specific documentation for setting up SSO, but if you use another provider, please contact us!
6+
Use Single Sign-On (SSO) to access your dashboard via SAML and OIDC. If you use Okta or Google Workspace, we have provider-specific documentation for setting up SSO. For other providers, please contact us!
77

88
<Note>
99
SSO functionality is available on our Enterprise plan. [Contact
@@ -16,37 +16,37 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
1616
<Tab title="SAML">
1717
<Steps>
1818
<Step title="Create an application">
19-
Under `Applications`, click to create a new app integration using SAML 2.0.
19+
Under "Applications," click to create a new app integration using SAML 2.0.
2020
</Step>
2121
<Step title="Configure integration">
22-
Enter the following:
23-
* Single sign-on URL (provided by Mintlify)
22+
Enter the following information:
23+
* Single Sign-On URL (provided by Mintlify)
2424
* Audience URI (provided by Mintlify)
2525
* Name ID Format: `EmailAddress`
2626
* Attribute Statements:
27-
| Name | Name format | Value
28-
| ---- | ----------- | -----
27+
| Name | Name format | Value |
28+
| ---- | ----------- | ----- |
2929
| `firstName` | Basic | `user.firstName` |
3030
| `lastName` | Basic | `user.lastName` |
3131
</Step>
3232
<Step title="Send us your IdP information">
33-
Once the application is set up, navigate to the sign-on tab and send us the metadata URL.
33+
Once the application is set up, navigate to the Sign-On tab and send us the metadata URL.
3434
We'll enable the connection from our side using this information.
3535
</Step>
3636
</Steps>
3737
</Tab>
3838
<Tab title="OIDC">
3939
<Steps>
4040
<Step title="Create an application">
41-
Under `Applications`, click to create a new app integration using OIDC.
42-
You should choose the `Web Application` application type.
41+
Under "Applications," click to create a new app integration using OIDC.
42+
Choose the "Web Application" application type.
4343
</Step>
4444
<Step title="Configure integration">
4545
Select the authorization code grant type and enter the Redirect URI provided by Mintlify.
4646
</Step>
4747
<Step title="Send us your IdP information">
48-
Once the application is set up, navigate to the General tab and locate the client ID & client secret.
49-
Please securely provide us with these, along with your Okta instance URL (e.g. `<your-tenant-name>.okta.com`). You can send these via a service like 1Password or SendSafely.
48+
Once the application is set up, navigate to the General tab and locate the Client ID & Client Secret.
49+
Please securely provide us with these credentials, along with your Okta instance URL (e.g., `<your-tenant-name>.okta.com`). You can send these via a service like 1Password or SendSafely.
5050
</Step>
5151
</Steps>
5252
</Tab>
@@ -58,19 +58,19 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
5858
<Tab title="SAML">
5959
<Steps>
6060
<Step title="Create an application">
61-
Under `Web and mobile apps`, select `Add custom SAML app` from the `Add app` dropdown.
61+
Under "Web and mobile apps," select "Add custom SAML app" from the "Add app" dropdown.
6262
<Frame>
6363
![](/images/gsuite-add-custom-saml-app.png)
6464
</Frame>
6565
</Step>
6666
<Step title="Send us your IdP information">
67-
Copy the provided SSO URL, Entity ID, and x509 certificate and send it to the Mintlify team.
67+
Copy the provided SSO URL, Entity ID, and X.509 certificate and send them to the Mintlify team.
6868
<Frame>
6969
![](/images/gsuite-saml-metadata.png)
7070
</Frame>
7171
</Step>
7272
<Step title="Configure integration">
73-
On the Service provider details page, enter the following:
73+
On the Service Provider Details page, enter the following information:
7474
* ACS URL (provided by Mintlify)
7575
* Entity ID (provided by Mintlify)
7676
* Name ID format: `EMAIL`
@@ -83,12 +83,11 @@ Use single sign-on to your dashboard via SAML and OIDC. If you use Okta or Googl
8383
On the next page, enter the following attribute statements:
8484
| Google Directory Attribute | App Attribute |
8585
| -------------------------- | ------------- |
86-
| `First name` | `firstName` |
86+
| `First name` | `firstName` |
8787
| `Last name` | `lastName` |
8888

89-
Once this step is complete and users are assigned to the application, let our team know and we'll enable SSO for your account!
89+
Once this step is complete and users are assigned to the application, let our team know, and we'll enable SSO for your account!
9090
</Step>
9191
</Steps>
9292
</Tab>
93-
94-
</Tabs>
93+
</Tabs>

advanced/rest-api/overview.mdx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,38 @@ title: Overview
44

55
## Trigger Updates
66

7-
You can leverage the REST API to programmatically trigger an update when desired.
7+
You can leverage the REST API to programmatically trigger updates when desired.
88

99
<Info>
10-
While the primary use-case will be to trigger updates, we will be adding more and more
11-
functionality to the API overtime. Let us know what else you want to see in
10+
While the primary use case is triggering updates, we will be adding more functionality to the API over time. Let us know what else you would like to see in
1211
[our community](https://mintlify.com/community)!
1312
</Info>
1413

1514
## Authentication
1615

1716
You can generate an API key through
1817
[the dashboard](https://dashboard.mintlify.com/settings/organization/api-keys). The API key is
19-
associated with the entire org and can be used across multiple deployments.
18+
associated with your entire organization and can be used across multiple deployments.
2019

2120
<Frame>
2221
<img src="/images/external-api-key.png" />
2322
</Frame>
2423

25-
## Admin API key
24+
## Admin API Key
2625

27-
The Admin API key is used for the majority of the API. It is used to trigger updates via the [Update endpoint](/advanced/rest-api/update/trigger).
26+
The Admin API key is used for the majority of the API endpoints. Its primary use is triggering updates via the [Update endpoint](/advanced/rest-api/update/trigger).
2827

29-
## Chat API key
28+
## Chat API Key
3029

31-
The Chat API allows you to embed the AI chat experience grounded in your docs and continually kept up to date into any application of your choosing.
30+
The Chat API allows you to embed an AI chat experience, grounded in your documentation and continuously kept up to date, into any application of your choosing.
3231

33-
Responses include citations so you can point your users to the right places they need to get help.
32+
Responses include citations, enabling you to direct your users to the specific documentation sections they need.
3433

3534
<Note>
3635
The Chat API token is a public token that can be referenced in your
37-
frontend code whereas the API key is a server-side token that should be kept
36+
frontend code, whereas the API key is a server-side token that should be kept
3837
secret.
3938
</Note>
4039

41-
Now that you have an API key, check out our [example](https://github.com/mintlify/discovery-api-example) for how to use
42-
the API for AI chat. You can also see a deployed version of this example at [chat.mintlify.com](https://chat.mintlify.com).
40+
Now that you have an API key, check out our [example repository](https://github.com/mintlify/discovery-api-example) to learn how to use
41+
the API for AI chat. You can also see a deployed version of this example at [chat.mintlify.com](https://chat.mintlify.com).

api-playground/mdx/configuration.mdx

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ title: 'MDX Setup'
33
description: 'Generate docs pages for your API endpoints using MDX'
44
---
55

6-
Mintlify allows you to define your API endpoints using a combination of `docs.json` configuration, MDX metadata fields, and the `<ParamFields />` component. From the defined endpoints, we generate an API playground, request examples, and response examples.
6+
Mintlify allows you to define your API endpoints using a combination of `docs.json` configuration, MDX metadata fields, and the `<ParamFields />` component. From these defined endpoints, we generate an API playground, request examples, and response examples.
77

88
<Steps>
99
<Step title="Configure your API">
10-
In your `docs.json` file, define your base URL and auth method:
10+
In your `docs.json` file, define your base URL and authentication method:
1111

1212
```json
1313
"api": {
1414
"mdx": {
15-
"server": "https://mintlify.com/api", // string array for multiple base URLs
15+
"server": "https://mintlify.com/api", // String array for multiple base URLs
1616
"auth": {
1717
"method": "key",
18-
"name": "x-api-key" // options: bearer, basic, key.
18+
"name": "x-api-key" // Options: bearer, basic, key
1919
}
2020
}
2121
}
2222
```
2323

24-
If you would not like to show an API playground, you don't need to include auth types. Hide the playground with the following field:
24+
If you do not want to display an API playground, you can omit the authentication types. To hide the playground, add the following field:
2525

2626
```json
2727
"api": {
@@ -31,12 +31,11 @@ Mintlify allows you to define your API endpoints using a combination of `docs.js
3131
}
3232
```
3333

34-
Find a full list of API configurations [here](/settings/global#param-api).
34+
Find a complete list of API configurations [here](/settings/global#param-api).
3535
</Step>
3636

3737
<Step title="Create your endpoint pages">
38-
39-
Each API endpoint page should have a corresponding MDX file. At the top of each file, define:
38+
Each API endpoint should have a corresponding MDX file. At the top of each file, define:
4039

4140
```md
4241
---
@@ -45,30 +44,28 @@ Mintlify allows you to define your API endpoints using a combination of `docs.js
4544
---
4645
```
4746

48-
You can specify path parameters by adding the parameter name to the path, wrapped with `{}`:
47+
You can specify path parameters by adding the parameter name to the path, wrapped with curly braces `{}`:
4948

5049
```bash
5150
https://api.example.com/v1/endpoint/{userId}
5251
```
5352

5453
<Note>
55-
56-
If you have `server` configured in [docs.json](/settings/global), you can use relative paths like `/v1/endpoint`.
57-
54+
If you have configured `server` in [docs.json](/settings/global), you can use relative paths like `/v1/endpoint`.
5855
</Note>
5956

60-
You can also override the globally-defined display mode for the API playground per page by adding `playground` at the top of the MDX file:
57+
You can also override the globally-defined display mode for the API playground on a per-page basis by adding the `playground` field at the top of the MDX file:
6158

6259
```md
6360
---
6461
title: 'Create new user'
6562
api: 'POST https://api.mintlify.com/user'
6663
playground: 'none'
64+
---
6765
```
68-
6966
</Step>
7067

7168
<Step title="Add your endpoints to your docs">
72-
Add your endpoint pages to the sidebar by adding the paths to the `navigation` field in your `docs.json`. Learn more about structuring your docs [here](/settings/navigation).
69+
Add your endpoint pages to the sidebar by including their paths in the `navigation` field of your `docs.json`. Learn more about structuring your documentation [here](/settings/navigation).
7370
</Step>
74-
</Steps>
71+
</Steps>

docs.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@
2222
{
2323
"group": "Editing",
2424
"icon": "pen-paintbrush",
25-
"pages": ["development", "web-editor"]
25+
"pages": [
26+
"development",
27+
"web-editor"
28+
]
2629
},
2730
"settings/global",
2831
{
@@ -69,7 +72,8 @@
6972
"icon": "markdown",
7073
"pages": [
7174
"api-playground/mdx/configuration",
72-
"api-playground/mdx/authentication"
75+
"api-playground/mdx/authentication",
76+
"api-playground/mdx/configuration"
7377
]
7478
},
7579
"api-playground/troubleshooting"
@@ -127,6 +131,7 @@
127131
"settings/authentication-personalization/personalization-setup/oauth"
128132
]
129133
},
134+
"settings/authentication-personalization/sending-data",
130135
"settings/authentication-personalization/sending-data"
131136
]
132137
},
@@ -135,7 +140,9 @@
135140
"icon": "house-lock",
136141
"pages": [
137142
"advanced/dashboard/sso",
138-
"advanced/dashboard/permissions"
143+
"advanced/dashboard/permissions",
144+
"advanced/dashboard/permissions",
145+
"advanced/dashboard/sso"
139146
]
140147
},
141148
{
@@ -164,7 +171,8 @@
164171
"advanced/rest-api/chat/create-topic",
165172
"advanced/rest-api/chat/generate-message"
166173
]
167-
}
174+
},
175+
"advanced/rest-api/overview"
168176
]
169177
}
170178
]
@@ -262,7 +270,9 @@
262270
"groups": [
263271
{
264272
"group": "Changelog",
265-
"pages": ["changelog/overview"]
273+
"pages": [
274+
"changelog/overview"
275+
]
266276
}
267277
]
268278
}
@@ -374,4 +384,4 @@
374384
"publicApiKey": "pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8"
375385
}
376386
}
377-
}
387+
}

settings/authentication-personalization/sending-data.mdx

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,33 @@ type User = {
2424
type="number"
2525
>
2626
The time at which this information should expire, in **seconds since epoch**. If the user loads the page and the current time is after this value, the stored data will be deleted.
27-
<Warning><b>For JWT Handshakes:</b> This is *not* the same as the `exp` claim of the JWT. The `exp` claim determines when a JWT should no longer be considered valid, and should be set as low as possible. In this case, it can probably be set to 10 seconds or lower. The `expiresAt` field determines when retrieved data should be considered stale, and can be anywhere from one day to several weeks.</Warning>
27+
28+
<Warning>
29+
<b>For JWT Handshakes:</b> This is *not* the same as the `exp` claim of the JWT. The `exp` claim determines when a JWT should no longer be considered valid and should be set as low as possible (typically 10 seconds or lower). The `expiresAt` field, on the other hand, determines when retrieved data should be considered stale and can be set anywhere from one day to several weeks.
30+
</Warning>
2831
</ParamField>
32+
2933
<ParamField
3034
path="groups"
3135
type="string[]"
3236
>
33-
A list of groups that the user belongs to. This will determine which pages should be shown to this user. If any of these groups is listed in the `groups` field of a pages metadata, that page will be shown.
37+
A list of groups that the user belongs to. This determines which pages should be shown to this user. If any of these groups is listed in the `groups` field of a page's metadata, that page will be displayed.
3438
</ParamField>
39+
3540
<ParamField
3641
path="content"
3742
type="object"
3843
>
39-
A bag of values that can be accessed from within MDX content using the `user` variable. For example, if you have supplied `{ firstName: 'Ronan' }` as your content field, you can use the following in your MDX: `Good morning, {user.firstName}!`
44+
A collection of values that can be accessed from within MDX content using the `user` variable. For example, if you have supplied `{ firstName: 'Ronan' }` as your content field, you can use the following in your MDX: `Good morning, {user.firstName}!`
4045
</ParamField>
46+
4147
<ParamField
4248
path="apiPlaygroundInputs"
4349
type="object"
4450
>
45-
User-specific values that will be prefilled in the API playground if supplied. For example, if each of my customers makes requests at a specific subdomain, I can send `{ server: { subdomain: 'foo' } }` as my `apiPlaygroundInputs` field, and this value will be prefilled on any API page with this `subdomain` value.
46-
47-
<Note>The`header`, `query`, and `cookie` fields will only be prefilled if they are part of your [security scheme](https://swagger.io/docs/specification/authentication/). Creating a standard header parameter named `Authorization` is not sufficient to enable this feature. To know if a field will be prefilled, navigate to your existing docs and check if the field is in either the `Authorization` or `Server` section.</Note>
48-
</ParamField>
51+
User-specific values that will be prefilled in the API playground. For example, if each of your customers makes requests at a specific subdomain, you can send `{ server: { subdomain: 'foo' } }` as your `apiPlaygroundInputs` field, and this value will be prefilled on any API page with this `subdomain` value.
4952

50-
53+
<Note>
54+
The `header`, `query`, and `cookie` fields will only be prefilled if they are part of your [security scheme](https://swagger.io/docs/specification/authentication/). Creating a standard header parameter named `Authorization` is not sufficient to enable this feature. To verify if a field will be prefilled, navigate to your existing docs and check if the field appears in either the `Authorization` or `Server` section.
55+
</Note>
56+
</ParamField>

0 commit comments

Comments
 (0)