Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Commit 95b17da

Browse files
authored
Update deploying-your-docs.mdx
I added a final step in order to access all urls of the deployed site on Netlify. It is required as Docz is a single page app. This adresses doczjs/docz#46.
1 parent 80bdd7d commit 95b17da

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/docs/documentation/general/deploying-your-docs.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,14 @@ After that, just fill settings like below, passing your build command and the de
4747

4848
![](https://cdn-std.dprcdn.net/files/acc_649651/3uvA9J)
4949

50+
Finally, add the following file to your project's root folder.
51+
52+
```toml
53+
# COMMENT: This a rule for Single Page Applications as Docz site is one
54+
[[redirects]]
55+
from = "/*"
56+
to = "/"
57+
status = 200
58+
```
59+
5060
That's all. Now you have your documentation hosted on a domain with a quick and easy deploy process configured.

0 commit comments

Comments
 (0)