Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ const config = {
position: "left",
label: "Documentation",
},
{
type: "docsVersionDropdown",
position: "left",
dropdownActiveClassDisabled: true,
},
Comment on lines +94 to +98

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

While this change correctly adds the version dropdown, I've identified a critical dependency issue that will likely prevent it from working. The project's package.json specifies React version ^19.0.0, but the Docusaurus version used in this project (@docusaurus/core@3.7.0) has a peer dependency on React ^18.0.0.

This incompatibility will likely cause build failures or runtime errors for the entire site. To fix this, please downgrade react and react-dom in package.json to a version compatible with Docusaurus v3, such as ^18.0.0.

{ to: "/blog", label: "Blog", position: "left" },
{
href: "https://github.com/kmesh-net/kmesh/releases",
Expand Down