From c679b7e07d79efc9e7ea33e0b8a038a4ababcfa6 Mon Sep 17 00:00:00 2001 From: Dom H Date: Mon, 18 Apr 2022 20:05:51 +0100 Subject: [PATCH] fix(docs): Standardize URLs with no trailing slash Previously, a trailing slash would be appended to all URLs when accessed directly, but not when accessed via menus and links. This Docusaurus configuration option keeps the URLs consistent by never appending a trailing slash. https://docusaurus.io/docs/api/docusaurus-config#trailing-slash --- docs/docusaurus.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 66fa811d..e039d369 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -6,6 +6,7 @@ module.exports = { url: "https://zmk.dev", baseUrl: "/", favicon: "img/favicon.ico", + trailingSlash: "false", organizationName: "zmkfirmware", // Usually your GitHub org/user name. projectName: "zmk", // Usually your repo name. plugins: [