Skip to content

docs(mkdocs): set site_url so the sitemap and canonical links are generated - #75

Merged
rennf93 merged 1 commit into
masterfrom
fix/docs-site-url
Oct 14, 2026
Merged

rennf93 merged 1 commit into
masterfrom
fix/docs-site-url

Conversation

@rennf93

@rennf93 rennf93 commented Oct 14, 2026

Copy link
Copy Markdown
Member

Closes #74

Adds site_url: https://guard-core.github.io/guard-core-php/. Without it MkDocs writes an empty sitemap.xml and no canonical link.

I checked the same one-line change on guard-core-rs with mkdocs build --strict: the build passes, the home page gets <link rel="canonical" href="https://guard-core.github.io/guard-core-rs/">, and the sitemap lists every page.

@github-actions github-actions Bot added the documentation Docs site, README, governance files label Oct 14, 2026
@rennf93
rennf93 merged commit 79e31e1 into master Oct 14, 2026
26 checks passed
@rennf93
rennf93 deleted the fix/docs-site-url branch October 14, 2026 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Docs site, README, governance files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs sitemap is empty and pages have no canonical URL

1 participant