update packages
This commit is contained in:
parent
f5eac79851
commit
df88d1ac4a
|
@ -29,7 +29,7 @@ const config = {
|
|||
editUrl: "https://github.com/waku-org/waku.guide/tree/develop/"
|
||||
},
|
||||
theme: {
|
||||
name: "docusaurus-default",
|
||||
name: "default",
|
||||
options: {
|
||||
customCss: [require.resolve("./src/css/custom.scss")]
|
||||
}
|
||||
|
@ -45,15 +45,14 @@ const config = {
|
|||
}
|
||||
},
|
||||
navbar: {
|
||||
title: "Waku",
|
||||
logo: {
|
||||
srcDark: "img/logo_white.svg"
|
||||
},
|
||||
hideOnScroll: true,
|
||||
items: [
|
||||
{
|
||||
type: 'search'
|
||||
},
|
||||
{
|
||||
type: "docSidebar",
|
||||
position: "right",
|
||||
position: "left",
|
||||
sidebarId: "main",
|
||||
label: "About Waku"
|
||||
},
|
||||
|
@ -75,7 +74,7 @@ const config = {
|
|||
{
|
||||
to: "/powered-by-waku",
|
||||
label: "Powered by Waku",
|
||||
position: "right"
|
||||
position: "left"
|
||||
},
|
||||
{
|
||||
type: "dropdown",
|
||||
|
@ -179,26 +178,16 @@ const config = {
|
|||
}
|
||||
]
|
||||
},
|
||||
colorMode: {
|
||||
defaultMode: "light",
|
||||
disableSwitch: false,
|
||||
respectPrefersColorScheme: false
|
||||
}
|
||||
// colorMode: {
|
||||
// defaultMode: "dark",
|
||||
// disableSwitch: false,
|
||||
// respectPrefersColorScheme: false
|
||||
// }
|
||||
}),
|
||||
plugins: [
|
||||
[
|
||||
"@easyops-cn/docusaurus-search-local",
|
||||
{
|
||||
hashed: true,
|
||||
indexDocs: true,
|
||||
indexPages: true
|
||||
}
|
||||
]
|
||||
],
|
||||
themes: ["@docusaurus/theme-mermaid"],
|
||||
markdown: {
|
||||
mermaid: true
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
module.exports = config;
|
||||
|
|
15
package.json
15
package.json
|
@ -16,20 +16,21 @@
|
|||
"check:spell": "cspell \"**/*.{md,mdx}\""
|
||||
},
|
||||
"dependencies": {
|
||||
"@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.13",
|
||||
"@docusaurus/core": "^2.4.0",
|
||||
"@docusaurus/preset-classic": "^2.4.0",
|
||||
"@docusaurus/theme-mermaid": "^2.4.0",
|
||||
"@acid-info/logos-docusaurus-preset": "^1.0.0-alpha.14",
|
||||
"@docusaurus/core": "^2.4.1",
|
||||
"@docusaurus/preset-classic": "^2.4.1",
|
||||
"@docusaurus/theme-mermaid": "^2.4.1",
|
||||
"@mdx-js/react": "^1.6.22",
|
||||
"add": "^2.0.6",
|
||||
"dotenv": "^16.0.3",
|
||||
"prism-react-renderer": "^1.3.5",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"yarn": "^1.22.19"
|
||||
"@emotion/react": "^11.11.0",
|
||||
"@emotion/styled": "^11.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@docusaurus/module-type-aliases": "^2.4.0",
|
||||
"@docusaurus/module-type-aliases": "^2.4.1",
|
||||
"@tsconfig/docusaurus": "^1.0.5",
|
||||
"cspell": "^6.16.0",
|
||||
"docusaurus-plugin-sass": "^0.2.2",
|
||||
|
@ -37,7 +38,7 @@
|
|||
"lint-staged": "^13.0.3",
|
||||
"prettier": "^2.7.1",
|
||||
"pretty-quick": "^3.1.3",
|
||||
"sass": "^1.55.0",
|
||||
"sass": "^1.62.1",
|
||||
"typescript": "^4.7.4"
|
||||
},
|
||||
"browserslist": {
|
||||
|
|
Loading…
Reference in New Issue