From 693339c9d0684acdaa333bb8ce9cb6f607227d3d Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Tue, 15 Sep 2026 17:36:11 +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 6b17140..5735b65 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -45,4 +45,10 @@ config.themeConfig.footer.logo = { ...registryLogo }; // with their last regeneration date. config.presets[0][1].docs.showLastUpdateTime = true; +// 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;