Add sitemap and sitemap meta tag to docs site#499
Merged
csharpfritz merged 2 commits intodevfrom Mar 22, 2026
Merged
Conversation
Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com> Agent-Logs-Url: https://github.com/FritzAndFriends/BlazorWebFormsComponents/sessions/0a9bccbb-1c5c-4660-af93-5084ce1fc875
Copilot
AI
changed the title
[WIP] Add sitemap and meta tag to docs website
Add sitemap and sitemap meta tag to docs site
Mar 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The docs site was missing a
sitemap.xmllink tag in the HTML<head>, limiting discoverability by search engines.Changes
docs/_overrides/main.html— New MkDocs Material theme override that injects a<link rel="sitemap">tag into every page's<head>via theextraheadblock:mkdocs.yml— Addedcustom_dir: docs/_overridesto the theme config to activate the override.MkDocs already generates
sitemap.xmlautomatically whensite_urlis set; this adds the corresponding HTML meta link. The_overridesdirectory was already pre-excluded by themkdocs-excludeplugin, indicating this pattern was anticipated.⚡ Quickly spin up Copilot coding agent tasks from anywhere on your macOS or Windows machine with Raycast.