diff --git a/mkdocs.yml b/mkdocs.yml index f85ca48..0fe788b 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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