upgrade docusaurus
Some checks failed
Release / deploy (push) Failing after 10s

This commit is contained in:
2024-06-04 10:31:37 +08:00
parent ccd91b7af4
commit ff6d07d414
7 changed files with 19 additions and 17 deletions

View File

@ -9,7 +9,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@docusaurus/core": "^3.1.1",
"@docusaurus/core": "^3.4.0",
"dayjs": "^1.11.10",
"reading-time": "^1.5.0"
}

View File

@ -51,7 +51,7 @@ export default function (context: LoadContext, options: any): Plugin {
getThemePath() {
return themePath;
},
async contentLoaded({ content, actions, allContent }): Promise<void> {
async allContentLoaded({ actions, allContent }): Promise<void> {
const { addRoute, createData, setGlobalData } = actions;
const docsData = allContent["docusaurus-plugin-content-docs"] as {