If you use ssg mode to deploy to your personal github pages, all pages will be prefixed with a prefix, for example: https://username.github.io/projectName. At this time, since the URL is forced to start with /docs, the ssg build will fail.
|
<a href="/docs" {...props}> |
I think there should be an optional basePath prop passed in, and <a href=basePath+"/docs" {...props}>,then svecodocs could be deploy on github page perfectly.
If you use ssg mode to deploy to your personal github pages, all pages will be prefixed with a prefix, for example: https://username.github.io/projectName. At this time, since the URL is forced to start with
/docs, the ssg build will fail.I think there should be an optional
basePathprop passed in, and<a href=basePath+"/docs" {...props}>,then svecodocs could be deploy on github page perfectly.