Skip to content

Commit f1a3d4e

Browse files
suggestEdit only for public repos (#406)
* suggestEdit only for public repos * More clear --------- Co-authored-by: Hahnbee Lee <[email protected]>
1 parent e8d0bf1 commit f1a3d4e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

settings/global.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,14 @@ Example:
357357
An array of the anchors, includes the icon, color, and url.
358358

359359
{" "}
360+
360361
<img
361362
className="block h-32 dark:hidden"
362363
src="https://mintlify-assets.b-cdn.net/anchors-light.png"
363364
/>
364365

365366
{" "}
367+
366368
<img
367369
className="hidden h-32 dark:block"
368370
src="https://mintlify-assets.b-cdn.net/anchors-dark.png"
@@ -521,7 +523,11 @@ Example:
521523
</ResponseField>
522524

523525
<ResponseField name="suggestEdit" type="boolean" default={false}>
524-
Enables a button to allow users to suggest edits via pull requests
526+
Enables a button to allow users to suggest edits via pull requests for public repositories.
527+
528+
<Warning>
529+
If your docs repo is private, `suggestEdit` will not work.
530+
</Warning>
525531
</ResponseField>
526532

527533
<ResponseField name="raiseIssue" type="boolean" default={false}>

0 commit comments

Comments
 (0)