mirror of
https://github.com/clearml/clearml-docs
synced 2025-03-09 21:51:47 +00:00
Upgrade docusaurus 2.1.0
This commit is contained in:
parent
b422c0db2a
commit
dc548c852e
@ -31,18 +31,16 @@ module.exports = {
|
|||||||
defaultMode: 'light',
|
defaultMode: 'light',
|
||||||
disableSwitch: false,
|
disableSwitch: false,
|
||||||
respectPrefersColorScheme: true,
|
respectPrefersColorScheme: true,
|
||||||
switchConfig: {
|
// switchConfig: {
|
||||||
darkIcon: '\u{1F319}',
|
// darkIcon: '\u{1F319}',
|
||||||
lightIcon: '\u{1F315}',
|
// lightIcon: '\u{1F315}',
|
||||||
// React inline style object
|
// darkIconStyle: {
|
||||||
// see https://reactjs.org/docs/dom-elements.html#style
|
// marginLeft: '2px',
|
||||||
darkIconStyle: {
|
// },
|
||||||
marginLeft: '2px',
|
// lightIconStyle: {
|
||||||
},
|
// marginLeft: '1px',
|
||||||
lightIconStyle: {
|
// },
|
||||||
marginLeft: '1px',
|
// },
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
announcementBar: {
|
announcementBar: {
|
||||||
id: 'supportus',
|
id: 'supportus',
|
||||||
@ -188,12 +186,12 @@ module.exports = {
|
|||||||
editUrl:
|
editUrl:
|
||||||
'https://github.com/allegroai/clearml-docs/edit/main/',
|
'https://github.com/allegroai/clearml-docs/edit/main/',
|
||||||
},
|
},
|
||||||
API: {
|
// API: {
|
||||||
sidebarPath: require.resolve('./sidebars.js'),
|
// sidebarPath: require.resolve('./sidebars.js'),
|
||||||
// Please change this to your repo.
|
// // Please change this to your repo.
|
||||||
editUrl:
|
// editUrl:
|
||||||
'https://github.com/allegroai/clearml-docs/edit/main/',
|
// 'https://github.com/allegroai/clearml-docs/edit/main/',
|
||||||
},
|
// },
|
||||||
blog: {
|
blog: {
|
||||||
blogTitle: 'ClearML Tutorials',
|
blogTitle: 'ClearML Tutorials',
|
||||||
blogDescription: 'ClearML tutorials and documentation',
|
blogDescription: 'ClearML tutorials and documentation',
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
"medium-zoom": "^1.0.6",
|
"medium-zoom": "^1.0.6",
|
||||||
"prism-react-renderer": "^1.2.0",
|
"prism-react-renderer": "^1.2.0",
|
||||||
"react": "^16.8.4",
|
"react": "^16.8.4",
|
||||||
"react-dom": "^16.8.4"
|
"react-dom": "^16.8.4",
|
||||||
|
"joi": "^17.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-eslint": "^10.0.3",
|
"babel-eslint": "^10.0.3",
|
||||||
@ -41,7 +42,8 @@
|
|||||||
"eslint-plugin-react": "^7.20.0",
|
"eslint-plugin-react": "^7.20.0",
|
||||||
"eslint-plugin-react-hooks": "^4.0.4",
|
"eslint-plugin-react-hooks": "^4.0.4",
|
||||||
"prettier": "^2.0.2",
|
"prettier": "^2.0.2",
|
||||||
"stylelint": "^13.2.1"
|
"stylelint": "^13.2.1",
|
||||||
|
"joi": "^17.4.0"
|
||||||
},
|
},
|
||||||
"browserslist": {
|
"browserslist": {
|
||||||
"production": [
|
"production": [
|
||||||
|
Loading…
Reference in New Issue
Block a user