Skip to content

Commit 387c3ff

Browse files
authored
Documentation edits made through Mintlify web editor
1 parent 518cd02 commit 387c3ff

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

advanced/subpath/vercel.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ description: "Host documentation at a subpath using Vercel"
55

66
<Steps>
77
<Step title="Move your docs files">
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:
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 `/docs` you would do the following:
99

1010
```
1111
/docs
1212
introduction.mdx
1313
navigation.mdx
1414
docs.json
1515
```
16-
1716
</Step>
1817
<Step title="Configure your vercel.json">
1918
In your main website add the following rewrites to your `vercel.json`. Make sure to replace `[SUBDOMAIN]` with your subdomain.
@@ -56,12 +55,11 @@ description: "Host documentation at a subpath using Vercel"
5655
]
5756
}
5857
```
59-
6058
</Step>
6159
</Steps>
6260

6361
<Note>
6462
For more information, you can also refer to Vercel's offical guide on
6563
rewrites: [Project Configuration:
6664
Rewrites](https://vercel.com/docs/projects/project-configuration#rewrites)
67-
</Note>
65+
</Note>

0 commit comments

Comments
 (0)