Skip to content

Commit

Permalink
update docusaurus version
Browse files Browse the repository at this point in the history
  • Loading branch information
SlicedSilver committed Dec 9, 2024
1 parent efc1e64 commit 51a512c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
3 changes: 0 additions & 3 deletions website/babel.config.js

This file was deleted.

6 changes: 6 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ const getConfig = async () => {
projectName: 'lightweight-charts',
trailingSlash: false,

future: {
// @ts-ignore experimental property name
// eslint-disable-next-line camelcase
experimental_faster: true,
},

headTags: [
{
tagName: 'link',
Expand Down
19 changes: 10 additions & 9 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,28 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/theme-search-algolia": "3.4.0",
"@tsconfig/docusaurus": "~2.0.3",
"@docusaurus/core": "3.6.3",
"@docusaurus/faster": "3.6.3",
"@docusaurus/module-type-aliases": "3.6.3",
"@docusaurus/preset-classic": "3.6.3",
"@docusaurus/theme-search-algolia": "3.6.3",
"@tsconfig/docusaurus": "2.0.3",
"@types/react": "^18.3",
"cross-env": "~7.0.3",
"cross-env": "7.0.3",
"docusaurus-plugin-typedoc": "1.0.1",
"lightweight-charts": "~4.1.5",
"lightweight-charts": "~4.2.2",
"lightweight-charts-3.8": "npm:lightweight-charts@~3.8.0",
"lightweight-charts-4.0": "npm:lightweight-charts@~4.0.1",
"lightweight-charts-4.1": "npm:lightweight-charts@~4.1.5",
"lightweight-charts-local": "file:..",
"prism-react-renderer": "~2.3.1",
"prism-react-renderer": "~2.4.0",
"raw-loader": "~4.0.2",
"react": "^18.3",
"react-dom": "^18.3",
"typedoc": "~0.25.13",
"typedoc-plugin-markdown": "4.0.3",
"typescript": "5.4.5",
"vue": "^3.4.29"
"vue": "3.5.13"
},
"devDependencies": {
"typedoc-plugin-frontmatter": "1.0.0"
Expand Down
1 change: 1 addition & 0 deletions website/src/components/VersionWarningAdmonition/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type UseDocsPreferredVersion = Omit<
'preferredVersion'
> & {
preferredVersion: (PropVersionMetadata & { name: string }) | null;
savePreferredVersionName: (version: string) => void;
};

export default function VersionWarningAdmonition({
Expand Down
2 changes: 1 addition & 1 deletion website/tutorials/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ or submit your own.

A collection of code examples showcasing the various capabilities of the library, and how to implement common additional features.

import { useDocsSidebar } from "@docusaurus/theme-common/internal";
import { useDocsSidebar } from '@docusaurus/plugin-content-docs/client';
export const HowToList = () => {
const examplesCategory = useDocsSidebar().items.find(
item => item.type === "category" && item.label === "How To"
Expand Down

0 comments on commit 51a512c

Please sign in to comment.