Skip to content

Commit

Permalink
Update docusaurus to 3.5.2 (#31)
Browse files Browse the repository at this point in the history
* Update docusaurus to 3.5.2

* Update plugin references to the new API

* Fix formatting
  • Loading branch information
Krzemien97 authored Aug 23, 2024
1 parent 890aa7b commit 3421a80
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 216 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"spellcheck": "cspell \"**/*.mdx\""
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/plugin-client-redirects": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/core": "3.5.2",
"@docusaurus/plugin-client-redirects": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^2.1.0",
"medium-zoom": "^1.1.0",
Expand All @@ -32,9 +32,9 @@
"remark-math": "6"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/tsconfig": "3.4.0",
"@docusaurus/types": "3.4.0",
"@docusaurus/module-type-aliases": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@docusaurus/types": "3.5.2",
"cspell": "^8.8.4",
"prettier": "^3.3.1",
"typescript": "^5.4.5"
Expand Down
5 changes: 4 additions & 1 deletion src/components/LinkButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import React from 'react';
import styles from './styles.module.css';
import isInternalUrl from '@docusaurus/isInternalUrl';
import { useDocsSidebar, useDocById } from '@docusaurus/theme-common/internal';
import {
useDocsSidebar,
useDocById,
} from '@docusaurus/plugin-content-docs/client';
import type {
PropSidebar,
PropSidebarItemLink,
Expand Down
Loading

0 comments on commit 3421a80

Please sign in to comment.