From b80c4a6f71d9d68b42cb43baefc2c63785f5ca3c Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Sun, 1 Dec 2024 11:25:55 -0500 Subject: [PATCH] Enable trailing slash in docs 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. --- docs/docusaurus.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index e87141d..d351bed 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -17,6 +17,7 @@ const config: Config = { baseUrl: `/${github.repo}/`, organizationName: github.username, projectName: github.repo, + trailingSlash: true, onBrokenLinks: "throw", onBrokenMarkdownLinks: "warn",