Skip to content

Commit 66b10d8

Browse files
Update deploy/docs-subpath.mdx
1 parent 4c764ac commit 66b10d8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

deploy/docs-subpath.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,12 @@ If you proxy all traffic on your custom domain, you may need to configure [heade
2121

2222
## Custom subpaths
2323

24-
If you need your documentation at a subpath other than `/docs` (for example, `/help` or `/guides`), contact the [Mintlify team](mailto:support@mintlify.com) with details about your desired path and hosting setup.
24+
You can host your documentation at any custom subpath (for example, `/help` or `/guides`) by setting the `basePath` configuration in your `docs.json` file:
25+
26+
```json docs.json
27+
{
28+
"basePath": "/help"
29+
}
30+
```
31+
32+
After configuring your `basePath`, follow the setup instructions for your hosting provider above to route traffic to your documentation at the custom subpath.

0 commit comments

Comments
 (0)