Skip to content

Commit 0553699

Browse files
committed
move /api 404 info to navigation
1 parent 5d48bea commit 0553699

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

navigation.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ The [navigation](settings#param-navigation) property in [docs.json](settings) de
88

99
With proper navigation configuration, you can organize your content into a logical hierarchy that makes it easy for users to find exactly what they're looking for.
1010

11+
<Info>
12+
No navigation elements can be titled `api`. The `/api` path is a reserved folder in production environments. If a page URL has `/api`, it will return a 404 error.
13+
</Info>
14+
1115
## Pages
1216

1317
Pages are the most fundamental navigation component.

support.mdx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,6 @@ export function openSearch(e) {
3232

3333
## Frequently Asked Questions
3434

35-
<AccordionGroup>
36-
37-
<Accordion title="Docs page won't load (error 404)" icon="ban" iconType="regular">
38-
Check to see if you have `/api` in the URL. This is a reserved folder in production environments, which produces a 404 error.
39-
</Accordion>
40-
41-
42-
</AccordionGroup>
43-
4435
<Info>
4536
We do our best to respond to all requests within 24 hours but delays may occur during busy times.
4637
</Info>

0 commit comments

Comments
 (0)