Skip to content

Commit 9a884b7

Browse files
Copilotcsharpfritz
andauthored
Add sitemap and sitemap meta tag to docs site (#499)
* Initial plan * Add sitemap meta tag to docs site via MkDocs Material theme override Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com> Agent-Logs-Url: https://github.com/FritzAndFriends/BlazorWebFormsComponents/sessions/0a9bccbb-1c5c-4660-af93-5084ce1fc875 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: csharpfritz <78577+csharpfritz@users.noreply.github.com>
1 parent ed49fd6 commit 9a884b7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/_overrides/main.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% extends "base.html" %}
2+
3+
{% block extrahead %}
4+
{{ super() }}
5+
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ config.site_url }}sitemap.xml">
6+
{% endblock %}

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ extra:
1515

1616
theme:
1717
name: material
18+
custom_dir: docs/_overrides
1819
language: en
1920
palette:
2021
scheme: default

0 commit comments

Comments
 (0)