Skip to content

Commit e435379

Browse files
Add title and description parameters to 404 error configuration (#1122)
* Update settings.mdx * Update settings.mdx --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent f283e5a commit e435379

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

settings.mdx

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,12 @@ See [Themes](themes) for more information.
896896
Whether to automatically redirect to the home page when a page is not
897897
found.
898898
</ResponseField>
899+
<ResponseField name="title" type="string">
900+
Custom title for the 404 error page.
901+
</ResponseField>
902+
<ResponseField name="description" type="string">
903+
Custom description for the 404 error page. Supports Markdown formatting.
904+
</ResponseField>
899905
</Expandable>
900906
</ResponseField>
901907
</Expandable>
@@ -1045,7 +1051,9 @@ See [Themes](themes) for more information.
10451051
},
10461052
"errors": {
10471053
"404": {
1048-
"redirect": true
1054+
"redirect": false,
1055+
"title": "I can't be found",
1056+
"description": "What ever **happened** to this _page_?"
10491057
}
10501058
}
10511059
}
@@ -1219,7 +1227,9 @@ See [Themes](themes) for more information.
12191227
},
12201228
"errors": {
12211229
"404": {
1222-
"redirect": true
1230+
"redirect": false,
1231+
"title": "I can't be found",
1232+
"description": "What ever **happened** to this _page_?"
12231233
}
12241234
}
12251235
}
@@ -1403,7 +1413,9 @@ See [Themes](themes) for more information.
14031413
},
14041414
"errors": {
14051415
"404": {
1406-
"redirect": true
1416+
"redirect": false,
1417+
"title": "I can't be found",
1418+
"description": "What ever **happened** to this _page_?"
14071419
}
14081420
}
14091421
}

0 commit comments

Comments
 (0)