Skip to content

Commit a34cdec

Browse files
authored
Update Docusaurus to version 3.9.2 (#126)
* Update Docusaurus to version 3.9.2 * Update OpenAPI docs plugin to version 4.5.1 * Change Node.js version in docs
1 parent e048df8 commit a34cdec

File tree

277 files changed

+2265
-1691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+2265
-1691
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node
3030
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3131
with:
32-
node-version: '18'
32+
node-version: '20'
3333
cache: 'yarn'
3434
cache-dependency-path: yarn.lock
3535

docs/developer-guide/preparing-the-environment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For development you need the following in addition to the runtime tooling:
3434

3535
* Java 21 JDK ([OpenJDK](https://openjdk.java.net/), [Oracle Java SE JDK](https://www.oracle.com/technetwork/java/javase/downloads/index.html))
3636
* [Git](https://git-scm.com/downloads)
37-
* [NodeJS](https://nodejs.org/en/download/current/) (>=18.12.0, on macOS you can use [Homebrew](https://brew.sh/) and `brew install node@18`)
37+
* [NodeJS](https://nodejs.org/en/download/current/) (>=20.0, on macOS you can use [Homebrew](https://brew.sh/) and `brew install node@20`)
3838
* [yarn](https://yarnpkg.com/getting-started/install) `corepack enable; yarn init -2` (>=3.2.0)
3939

4040
Ensure the following commands execute successfully:

docs/quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ certificate, see [here](https://www.technipages.com/google-chrome-bypass-your-co
3131
Username: admin
3232
Password: secret
3333

34-
### Changing host and/or port
34+
### Changing host
3535
The URL you use to access the system is important, the default is configured as `https://localhost` if you are using a VM then you will need to set the `OR_HOSTNAME` environment variable, so if for example you will be accessing using `https://192.168.1.1` then use the following startup command:
3636

3737
BASH:

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@
1919
"typecheck": "tsc"
2020
},
2121
"dependencies": {
22-
"@docusaurus/core": "^3.7.0",
23-
"@docusaurus/preset-classic": "^3.7.0",
24-
"@docusaurus/theme-mermaid": "3.7.0",
22+
"@docusaurus/core": "^3.9.2",
23+
"@docusaurus/preset-classic": "^3.9.2",
24+
"@docusaurus/theme-mermaid": "3.9.2",
2525
"@mdx-js/react": "^3.0.0",
2626
"clsx": "^2.0.0",
27-
"docusaurus-plugin-openapi-docs": "4.3.6",
28-
"docusaurus-theme-openapi-docs": "4.3.6",
27+
"docusaurus-plugin-openapi-docs": "4.5.1",
28+
"docusaurus-theme-openapi-docs": "4.5.1",
2929
"prism-react-renderer": "^2.3.0",
3030
"react": "^19.0.0",
3131
"react-dom": "^19.0.0"
3232
},
3333
"devDependencies": {
34-
"@docusaurus/module-type-aliases": "^3.7.0",
35-
"@docusaurus/plugin-content-docs": "^3.7.0",
36-
"@docusaurus/theme-common": "^3.7.0",
37-
"@docusaurus/tsconfig": "^3.7.0",
38-
"@docusaurus/types": "^3.7.0",
39-
"@types/react": "^18",
34+
"@docusaurus/module-type-aliases": "^3.9.2",
35+
"@docusaurus/plugin-content-docs": "^3.9.2",
36+
"@docusaurus/theme-common": "^3.9.2",
37+
"@docusaurus/tsconfig": "^3.9.2",
38+
"@docusaurus/types": "^3.9.2",
39+
"@types/react": "^19",
4040
"typescript": "~5.6.2"
4141
},
4242
"browserslist": {
@@ -52,7 +52,7 @@
5252
]
5353
},
5454
"engines": {
55-
"node": ">=18.0"
55+
"node": ">=20.0"
5656
},
5757
"packageManager": "yarn@4.4.1"
5858
}

versioned_docs/version-1.2.0/rest-api/clear-events.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

versioned_docs/version-1.2.0/rest-api/create-alarm.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

versioned_docs/version-1.2.0/rest-api/create-asset-ruleset.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

versioned_docs/version-1.2.0/rest-api/create-asset.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

versioned_docs/version-1.2.0/rest-api/create-dashboard.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

versioned_docs/version-1.2.0/rest-api/create-global-ruleset.api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
1717
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
1818
import MimeTabs from "@theme/MimeTabs";
1919
import ParamsItem from "@theme/ParamsItem";
20-
import ResponseSamples from "@theme/ResponseSamples";
20+
import ResponseSamples from "@theme/CodeSamples";
2121
import SchemaItem from "@theme/SchemaItem";
2222
import SchemaTabs from "@theme/SchemaTabs";
2323
import Heading from "@theme/Heading";

0 commit comments

Comments
 (0)