Browse Source

refactor(docs): Bump to docusaurus 2.0.0-beta.18

* Fix up the config to use proper locations.
xmkb
Peter Johanson 3 years ago committed by Pete Johanson
parent
commit
60d367cbb9
  1. 9
      docs/docusaurus.config.js
  2. 35309
      docs/package-lock.json
  3. 8
      docs/package.json

9
docs/docusaurus.config.js

@ -19,10 +19,6 @@ module.exports = {
colorMode: { colorMode: {
respectPrefersColorScheme: true, respectPrefersColorScheme: true,
}, },
googleAnalytics: {
trackingID: "UA-145201102-2",
anonymizeIP: true,
},
// sidebarCollapsible: false, // sidebarCollapsible: false,
navbar: { navbar: {
title: "ZMK Firmware", title: "ZMK Firmware",
@ -109,6 +105,7 @@ module.exports = {
copyright: `Copyright © ${new Date().getFullYear()} ZMK Project Contributors. <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a>`, copyright: `Copyright © ${new Date().getFullYear()} ZMK Project Contributors. <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/80x15.png" /></a>`,
}, },
algolia: { algolia: {
appId: "USXLDJ14JE",
apiKey: "75325855fc90356828fe212d38e5ca34", apiKey: "75325855fc90356828fe212d38e5ca34",
indexName: "zmkfirmware", indexName: "zmkfirmware",
}, },
@ -117,6 +114,10 @@ module.exports = {
[ [
"@docusaurus/preset-classic", "@docusaurus/preset-classic",
{ {
googleAnalytics: {
trackingID: "UA-145201102-2",
anonymizeIP: true,
},
docs: { docs: {
// It is recommended to set document id as docs home page (`docs/` path). // It is recommended to set document id as docs home page (`docs/` path).
sidebarPath: require.resolve("./sidebars.js"), sidebarPath: require.resolve("./sidebars.js"),

35309
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

8
docs/package.json

@ -15,8 +15,8 @@
"typecheck": "tsc" "typecheck": "tsc"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^2.0.0-beta.3", "@docusaurus/core": "^2.0.0-beta.18",
"@docusaurus/preset-classic": "^2.0.0-beta.3", "@docusaurus/preset-classic": "^2.0.0-beta.18",
"@fortawesome/fontawesome-svg-core": "^1.2.32", "@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.3", "@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.16", "@fortawesome/react-fontawesome": "^0.1.16",
@ -43,8 +43,8 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"@docusaurus/module-type-aliases": "^2.0.0-beta.3", "@docusaurus/module-type-aliases": "^2.0.0-beta.18",
"@docusaurus/types": "^2.0.0-beta.3", "@docusaurus/types": "^2.0.0-beta.18",
"@tsconfig/docusaurus": "^1.0.2", "@tsconfig/docusaurus": "^1.0.2",
"@types/js-yaml": "^4.0.5", "@types/js-yaml": "^4.0.5",
"@types/react": "^17.0.3", "@types/react": "^17.0.3",

Loading…
Cancel
Save