Enable trailing slash in docs
Some checks failed
Build and deploy documentation site / build (push) Has been cancelled
Build and deploy documentation site / deploy (push) Has been cancelled

This should fix a small SEO issue: the canonical URL for each page does not have a trailing slash but GitHub Pages redirects URLs without a trailing slash to the version with a trailing slash. This seems to confuse Google.
This commit is contained in:
Matthew Lopez
2024-12-01 11:25:55 -05:00
committed by GitHub
parent a55230bb22
commit b80c4a6f71

View File

@@ -17,6 +17,7 @@ const config: Config = {
baseUrl: `/${github.repo}/`,
organizationName: github.username,
projectName: github.repo,
trailingSlash: true,
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",