From f722ee3e84709d49315416e2f1341b63a646bcfd Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Tue, 15 Sep 2026 17:36:17 +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 7aaa431..9226810 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -41,4 +41,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;