From 77bd8fe03cbf53245eccebf7f2a3dc2051c774f8 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Tue, 15 Sep 2026 17:35:46 +1000 Subject: [PATCH] website: keep the Docusaurus default URL emission so trailing-slash URLs resolve The shared docusaurus-config sets trailingSlash: false, which makes Docusaurus emit .html; GitHub Pages then returns 404 for the same URL with a trailing slash. Dropping the setting restores /index.html, which is served for both forms. Co-Authored-By: Claude Fable 5.1 --- website/docusaurus.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 4fe52b7..d246c69 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -33,4 +33,10 @@ const registryLogo = { config.themeConfig.navbar.logo = { ...registryLogo }; config.themeConfig.footer.logo = { ...registryLogo }; +// URL form. Keep the Docusaurus default (pages emitted as /index.html) +// regardless of the shared config's trailingSlash setting, so GitHub Pages +// serves both /services/x/y and /services/x/y/. A trailingSlash: false site +// emits .html instead, which returns 404 for the trailing-slash URL. +delete config.trailingSlash; + export default config;