Skip to content

Commit

Permalink
Enable trailing slash in docs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MatthewL246 authored Dec 1, 2024
1 parent a55230b commit b80c4a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const config: Config = {
baseUrl: `/${github.repo}/`,
organizationName: github.username,
projectName: github.repo,
trailingSlash: true,

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
Expand Down

0 comments on commit b80c4a6

Please sign in to comment.