Skip to content

Commit 9b52134

Browse files
upgrade docusaurus
1 parent 395c1fe commit 9b52134

File tree

4 files changed

+11871
-7645
lines changed

4 files changed

+11871
-7645
lines changed

website/docs/components/getting-started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const data = (context, callback) => {
105105
};
106106
```
107107

108-
[Advanced server.js operations](The-server.js).
108+
[Advanced server.js operations](the-server.js).
109109

110110
# Editing, debugging, testing
111111

website/docusaurus.config.js

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33

4-
const lightCodeTheme = require("prism-react-renderer/themes/github");
5-
const darkCodeTheme = require("prism-react-renderer/themes/dracula");
4+
const { themes } = require("prism-react-renderer");
5+
const lightCodeTheme = themes.github;
6+
const darkCodeTheme = themes.dracula;
67

78
/** @type {import('@docusaurus/types').Config} */
89
const config = {
@@ -101,10 +102,10 @@ const config = {
101102
darkTheme: darkCodeTheme,
102103
},
103104
algolia: {
104-
appId: 'YKTLKDBBGV',
105+
appId: "YKTLKDBBGV",
105106
// Public API key: it is safe to commit it
106-
apiKey: 'b75f1257f754f7f15e79a16b81bef105',
107-
indexName: 'opencomponents'
107+
apiKey: "b75f1257f754f7f15e79a16b81bef105",
108+
indexName: "opencomponents",
108109
},
109110
}),
110111
};

0 commit comments

Comments
 (0)