From 584d7a9346cc21c3dfa2372f8f5f470d784e1ec4 Mon Sep 17 00:00:00 2001
From: Pawel Leszkiewicz
Date: Thu, 4 Feb 2021 16:31:05 +0100
Subject: [PATCH] #313 Upgrade version of docusaurus packages.
---
website/docusaurus.config.js | 9 ++++++++-
website/package.json | 6 +++---
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js
index cdfea599..8971229f 100755
--- a/website/docusaurus.config.js
+++ b/website/docusaurus.config.js
@@ -17,13 +17,16 @@ module.exports = {
organizationName: "magic-script", // Usually your GitHub org/user name.
projectName: "magic-script-components", // Usually your repo name.
themeConfig: {
+ colorMode: {
+ respectPrefersColorScheme: false
+ },
navbar: {
title: "MagicScript",
logo: {
alt: "MagicScript Logo",
src: "img/magicscript.svg"
},
- links: [
+ items: [
{
to: 'versions',
label: `Versions`,
@@ -61,6 +64,10 @@ module.exports = {
}
]
},
+ footer: {
+ style: 'light',
+ links: []
+ },
algolia: {
apiKey: "4a2801e1f42c5488e5db0eb1ed45b5ba",
indexName: "magicscript_components",
diff --git a/website/package.json b/website/package.json
index ac66cd49..fe6aeffb 100755
--- a/website/package.json
+++ b/website/package.json
@@ -11,9 +11,9 @@
"docs-tag": "docusaurus docs:version"
},
"dependencies": {
- "@docusaurus/core": "^2.0.0-alpha.58",
- "@docusaurus/preset-classic": "^2.0.0-alpha.58",
- "@docusaurus/utils": "^2.0.0-alpha.58",
+ "@docusaurus/core": "^2.0.0-alpha.70",
+ "@docusaurus/preset-classic": "^2.0.0-alpha.70",
+ "@docusaurus/utils": "^2.0.0-alpha.70",
"@mayankmohit/react-gif-player": "^0.4.2",
"classnames": "^2.2.6",
"react": "^16.12.0",