Closed avivace closed 3 years ago
Transferred to the website repo, no worries :p
Yeah, I tried submitting the sitemap some time ago, and it failed for the same reason—I've forgotten since then. I'm not quite sure why it's failing, though. The sitemap is automatically generated, too.
I'm pretty sure /docs/
failed because it's an origin-relative URL, not an absolute URL. From General sitemap guidelines:
Use consistent, fully-qualified URLs. Google will crawl your URLs exactly as listed. For instance, if your site is at
https://www.example.com/
, don't specify a URL ashttps://example.com/
(missingwww
) or./mypage.html
(a relative URL).
To try: set the URL config properties, see if the sitemap generator picks them up.
https://github.com/gbdev/rgbds-www/blob/9c688a50847c96a90e5c3067a1a7c07cbe47afa4/_config.yml#L16-L17
... with these settings, my sitemap on localhost properly contains absolute URLs, so this is likely not it... I just updated the gems, though, so we'll see if those updates fix the issue.
... nope, so I'll try setting them real quick. It's imo likely that GitHub overrides those somehow, causing the truncated URLs to appear.
... nope. I reverted the commit (a quick force-push on this repo won't hurt anyone), but at this point we may have to report an issue to GitHub themselves—this doesn't seem to be on our side.
Fixed by 0c9b420 :)
Great! Thanks @ISSOtm
Apologies if this is not the correct place to report errors on the generated website/documentation.
This is what I'm seeing on the Google Webmaster console for rgbds.gbdev.io: