-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect sitemap URLs when baseURL
!= /
#901
Comments
Did you misconfuse two different websites ? |
Hi @endiliey, as the actual However, the documentation says that we should set it as |
Sure, I'll try to come up with a PR today. |
🐛 Bug Report
According to the documentation:
So we should set
url
ashttps://reasonml.github.io
even though the root of the docs ishttps://reasonml.github.io/reason-react/
.But if we set it like that, the URLs in sitemaps would be:
While it should be:
Have you read the Contributing Guidelines on issues?
yes
To Reproduce
Create a new website
Set
siteConfig.js
asTake a look at the generated
sitemap.xml
.Expected behavior
The URLs should be like
https://reasonml.github.io/reason-react/examples
.Actual Behavior
The URLs would be like
https://reasonml.github.io/examples
.Reproducible Demo
The actual
reason-react
actually seturl
ashttps://reasonml.github.io/reason-react
. See https://github.com/reasonml/reason-react/blob/1420cba22ad35eb8fd257a58957f1e4047c55034/website/siteConfig.js#L80.So perhaps this is just a documentation error?
The text was updated successfully, but these errors were encountered: