You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: advanced/subpath/vercel.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,6 @@ title: "Vercel"
3
3
description: "Host documentation at a subpath using Vercel"
4
4
---
5
5
6
-
ffdsafdsafd
7
-
8
6
<Steps>
9
7
<Steptitle="Move your docs files">
10
8
Edit your file structure so that all your files are within a folder which is your custom subpath. So if you want to host your docs at [my-cool-custom-domain.com/docs](http://my-cool-custom-domain.com/docs) you would do the following:
@@ -15,53 +13,55 @@ ffdsafdsafd
15
13
navigation.mdx
16
14
docs.json
17
15
```
16
+
18
17
</Step>
19
18
<Steptitle="Configure your vercel.json">
20
-
In your main website add the following rewrites to your `vercel.json`
19
+
In your main website add the following rewrites to your `vercel.json`. Make sure to replace `[SUBDOMAIN]` with your subdomain.
0 commit comments