Skip to content

Commit

Permalink
chore(deps): migrate docusaurus to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme Ferreira committed Jan 17, 2024
1 parent b89b7e4 commit 8f0f4d2
Show file tree
Hide file tree
Showing 8 changed files with 3,591 additions and 2,395 deletions.
2 changes: 1 addition & 1 deletion website/docs/guides/admin/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ KafkaFlow provides a Dashboard where you can visualize information related to yo

:::caution
It is important to note that the Dashboard runs, shows information, and manages the consumers on all application instances. This means that if you have 10 machines running your application, the Dashboard will run in every instance. **Any operation will affect the consumer in all the machines**.
:::caution
:::

## Adding the Dashboard

Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/middlewares/serializer-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Both classes can be provided as an argument through a factory method too.

:::tip
For topics that have just one message type, use the `AddSingleTypeSerializer`/`AddSingleTypeDeserializer` method.
:::tip
:::


```csharp
Expand Down
7 changes: 4 additions & 3 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const lightCodeTheme = require('prism-react-renderer/themes/github');
const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const {themes} = require('prism-react-renderer');
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
Expand Down Expand Up @@ -146,7 +147,7 @@ const config = {
prism: {
theme: lightCodeTheme,
darkTheme: darkCodeTheme,
additionalLanguages: ['csharp']
additionalLanguages: ['csharp', 'bash', 'json']
},
}),
};
Expand Down
18 changes: 9 additions & 9 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "^2.4.0",
"@docusaurus/preset-classic": "^2.4.0",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "^3.1.0",
"@docusaurus/preset-classic": "^3.1.0",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-lite-youtube-embed": "^2.3.52"
"prism-react-renderer": "^2.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-lite-youtube-embed": "^2.4.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.2.0"
"@docusaurus/module-type-aliases": "^3.1.0"
},
"browserslist": {
"production": [
Expand All @@ -39,6 +39,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ KafkaFlow provides a Dashboard where you can visualize information related to yo

:::caution
It is important to note that the Dashboard runs, shows information, and manages the consumers on all application instances. This means that if you have 10 machines running your application, the Dashboard will run in every instance. **Any operation will affect the consumer in all the machines**.
:::caution
:::

## Adding the Dashboard

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-2.x/guides/global-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The Message Consume Completed Event signals the successful completion of message

:::info
Please note that the current event is not compatible with Batch Consume in the current version (v2). However, this limitation is expected to be addressed in future releases (v3+).
:::info
:::

```csharp
services.AddKafka(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Both classes can be provided as an argument through a factory method too.

:::tip
For topics that have just one message type, use the `AddSingleTypeSerializer` method.
:::tip
:::


```csharp
Expand Down
Loading

0 comments on commit 8f0f4d2

Please sign in to comment.