From dc548c852e5aa348d05571d68d842646605cb5a1 Mon Sep 17 00:00:00 2001 From: allegroai-git Date: Tue, 25 Oct 2022 00:10:16 +0300 Subject: [PATCH] Upgrade docusaurus 2.1.0 --- docusaurus.config.js | 34 ++++++++++++++++------------------ package.json | 6 ++++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index e96f7618..e7b4aa8e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -31,18 +31,16 @@ module.exports = { defaultMode: 'light', disableSwitch: false, respectPrefersColorScheme: true, - switchConfig: { - darkIcon: '\u{1F319}', - lightIcon: '\u{1F315}', - // React inline style object - // see https://reactjs.org/docs/dom-elements.html#style - darkIconStyle: { - marginLeft: '2px', - }, - lightIconStyle: { - marginLeft: '1px', - }, - }, + // switchConfig: { + // darkIcon: '\u{1F319}', + // lightIcon: '\u{1F315}', + // darkIconStyle: { + // marginLeft: '2px', + // }, + // lightIconStyle: { + // marginLeft: '1px', + // }, + // }, }, announcementBar: { id: 'supportus', @@ -188,12 +186,12 @@ module.exports = { editUrl: 'https://github.com/allegroai/clearml-docs/edit/main/', }, - API: { - sidebarPath: require.resolve('./sidebars.js'), - // Please change this to your repo. - editUrl: - 'https://github.com/allegroai/clearml-docs/edit/main/', - }, + // API: { + // sidebarPath: require.resolve('./sidebars.js'), + // // Please change this to your repo. + // editUrl: + // 'https://github.com/allegroai/clearml-docs/edit/main/', + // }, blog: { blogTitle: 'ClearML Tutorials', blogDescription: 'ClearML tutorials and documentation', diff --git a/package.json b/package.json index 01ac3a11..56e43a19 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,8 @@ "medium-zoom": "^1.0.6", "prism-react-renderer": "^1.2.0", "react": "^16.8.4", - "react-dom": "^16.8.4" + "react-dom": "^16.8.4", + "joi": "^17.4.0" }, "devDependencies": { "babel-eslint": "^10.0.3", @@ -41,7 +42,8 @@ "eslint-plugin-react": "^7.20.0", "eslint-plugin-react-hooks": "^4.0.4", "prettier": "^2.0.2", - "stylelint": "^13.2.1" + "stylelint": "^13.2.1", + "joi": "^17.4.0" }, "browserslist": { "production": [