Move redirects config to plugins section (was misplaced under theme)

This commit is contained in:
inference-bot committed 2026-11-12 02:53:22 +00:00
1 parent 4ececfa584
commit 1865552390
1 file changed
+8 -7
+8 -7
View File
@@ -30,13 +30,6 @@ use_directory_urls: true
theme:
name: material
redirects:
redirect_maps:
"charter.md": "governance/charter.md"
"code-of-conduct.md": "governance/code-of-conduct.md"
"open-questions.md": "governance/open-questions.md"
"terms-of-service.md": "governance/terms-of-service.md"
"privacy-policy.md": "governance/privacy-policy.md"
# Theme overrides. Used only to add a "documentation source" link to the
# footer on *every* page (overrides/partials/copyright.html) without putting
# it in the Markdown sources. No styling is changed here.
@@ -94,6 +87,14 @@ nav:
plugins:
# Built-in, offline search — the index is a JSON file in the build output.
- search
# Built-in redirects — old governance URLs map into the governance/ folder.
- redirects:
redirect_maps:
"charter.md": "governance/charter.md"
"code-of-conduct.md": "governance/code-of-conduct.md"
"open-questions.md": "governance/open-questions.md"
"terms-of-service.md": "governance/terms-of-service.md"
"privacy-policy.md": "governance/privacy-policy.md"
hooks:
# Rewrites directory-style links (e.g. [incidents/](incidents/)) to the