Browse Source

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
xmkb
Dom H 3 years ago committed by Pete Johanson
parent
commit
c679b7e07d
  1. 1
      docs/docusaurus.config.js

1
docs/docusaurus.config.js

@ -6,6 +6,7 @@ module.exports = { @@ -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: [

Loading…
Cancel
Save