Skip to content
This repository was archived by the owner on Dec 8, 2025. It is now read-only.

Commit a852ce2

Browse files
authored
Docusaurus2.3 (#91)
1 parent e613652 commit a852ce2

File tree

3 files changed

+465
-206
lines changed

3 files changed

+465
-206
lines changed

website/docusaurus.config.js

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -104,28 +104,14 @@ async function createConfig() {
104104
theme: lightCodeTheme,
105105
darkTheme: darkCodeTheme,
106106
},
107-
algolia: {
108-
appId: "AL1OJNE8M9",
109-
110-
apiKey: "0d31b2119e202cd71b47e914cc567fab",
111-
112-
indexName: "devicescript",
113-
114-
// Optional: see doc section below
115-
contextualSearch: true,
116-
117-
// Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them.
118-
externalUrlRegex: "external\\.com|domain\\.com",
119-
120-
// Optional: Algolia search parameters
121-
searchParameters: {},
122-
123-
// Optional: path for search page that enabled by default (`false` to disable it)
124-
searchPagePath: "search",
125-
},
126107
}),
127108
},
128109
{
110+
algolia: {
111+
appId: "AL1OJNE8M9",
112+
apiKey: "0d31b2119e202cd71b47e914cc567fab",
113+
indexName: "devicescript",
114+
},
129115
codeSandbox: {
130116
defaultTemplate: "devicescript",
131117
templates: {

website/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@
1515
"typecheck": "tsc"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "2.2.0",
19-
"@docusaurus/preset-classic": "2.2.0",
20-
"@docusaurus/theme-mermaid": "^2.2.0",
18+
"@docusaurus/core": "2.3.0",
19+
"@docusaurus/preset-classic": "2.3.0",
20+
"@docusaurus/theme-mermaid": "^2.3.0",
2121
"@mdx-js/react": "^1.6.22",
22-
"@rise4fun/docusaurus-plugin-rise4fun": "^1.5.1",
23-
"@rise4fun/docusaurus-remark-plugin-code-tabs": "^1.1.4",
24-
"@rise4fun/docusaurus-remark-plugin-compile-code": "^1.3.0",
22+
"@rise4fun/docusaurus-plugin-rise4fun": "^1.7.0",
23+
"@rise4fun/docusaurus-remark-plugin-code-tabs": "^1.1.5",
24+
"@rise4fun/docusaurus-remark-plugin-compile-code": "^1.4.0",
2525
"@rise4fun/docusaurus-remark-plugin-side-editor": "^1.0.1",
26-
"@rise4fun/docusaurus-theme-codesandbox-button": "^1.0.7",
27-
"@rise4fun/docusaurus-theme-side-editor": "^1.0.7",
26+
"@rise4fun/docusaurus-theme-codesandbox-button": "^1.1.0",
27+
"@rise4fun/docusaurus-theme-side-editor": "^1.1.0",
2828
"@devicescript/cli": "*",
2929
"clsx": "^1.2.1",
3030
"prism-react-renderer": "^1.3.5",
31-
"react": "^18.2.0",
32-
"react-dom": "^18.2.0"
31+
"react": "^17.0.0",
32+
"react-dom": "^17.0.0"
3333
},
3434
"devDependencies": {
35-
"@docusaurus/module-type-aliases": "2.2.0",
35+
"@docusaurus/module-type-aliases": "2.3.0",
3636
"@tsconfig/docusaurus": "^1.0.6",
37-
"typescript": "^4.9.4"
37+
"typescript": "^4.9.5"
3838
},
3939
"browserslist": {
4040
"production": [

0 commit comments

Comments
 (0)