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
This commit is contained in:
parent
c11e2caf77
commit
c679b7e07d
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ module.exports = {
|
||||||
url: "https://zmk.dev",
|
url: "https://zmk.dev",
|
||||||
baseUrl: "/",
|
baseUrl: "/",
|
||||||
favicon: "img/favicon.ico",
|
favicon: "img/favicon.ico",
|
||||||
|
trailingSlash: "false",
|
||||||
organizationName: "zmkfirmware", // Usually your GitHub org/user name.
|
organizationName: "zmkfirmware", // Usually your GitHub org/user name.
|
||||||
projectName: "zmk", // Usually your repo name.
|
projectName: "zmk", // Usually your repo name.
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Add table
Reference in a new issue