Upgrade docusaurus 2.1.0

This commit is contained in:
allegroai-git 2022-10-25 00:10:16 +03:00
parent b422c0db2a
commit dc548c852e
2 changed files with 20 additions and 20 deletions

View File

@ -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',

View File

@ -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": [