jen
2
Hey @karltaylor,
Yup, this looks like the right pattern It’s similar to this one:
For the baseUrl for your docs site config, I would start with /
as described in the Docusaurus docs.
As for your redirect rules, your first one will likely need a *
and :splat
:
from = "/docs/*"
to = "https://docusaurus-website.netlify.com/:splat"
status = 200
force = true
And the second one might need to be to = "/index.html"
.
Want to give this all a try and let us know if it works for you?
1 Like