Skip to content

Commit

Permalink
docs: update docusaurus to v3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Nov 5, 2024
1 parent bab3b71 commit dfac25f
Show file tree
Hide file tree
Showing 6 changed files with 2,589 additions and 2,217 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^2.0.0"
},
"packageManager": "[email protected].0",
"packageManager": "[email protected].1",
"volta": {
"node": "22.11.0",
"yarn": "4.5.0"
"yarn": "4.5.1"
}
}
4 changes: 3 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* eslint-disable global-require,import/no-extraneous-dependencies */
const webpack = require('webpack');
const { externalLinkProcessor } = require('./tools/utils/externalLink');

const packages = [
Expand Down Expand Up @@ -55,6 +54,9 @@ module.exports = {
/** @type {import('@docusaurus/types').ReportingSeverity} */ ('throw'),
onBrokenMarkdownLinks:
/** @type {import('@docusaurus/types').ReportingSeverity} */ ('throw'),
future: {
experimental_faster: true,
},
presets: /** @type {import('@docusaurus/types').PresetConfig[]} */ ([
[
'@docusaurus/preset-classic',
Expand Down
20 changes: 12 additions & 8 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"devDependencies": {
"@apify/eslint-config-ts": "^0.4.0",
"@apify/tsconfig": "^0.1.0",
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/types": "3.4.0",
"@docusaurus/module-type-aliases": "3.6.0",
"@docusaurus/types": "3.6.0",
"@types/react": "^18.0.28",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
Expand All @@ -30,14 +30,15 @@
"path-browserify": "^1.0.1",
"prettier": "^3.0.0",
"rimraf": "^6.0.0",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
},
"dependencies": {
"@apify/utilities": "^2.8.0",
"@docusaurus/core": "3.4.0",
"@docusaurus/mdx-loader": "3.4.0",
"@docusaurus/plugin-client-redirects": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/core": "3.6.0",
"@docusaurus/faster": "3.6.0",
"@docusaurus/mdx-loader": "3.6.0",
"@docusaurus/plugin-client-redirects": "3.6.0",
"@docusaurus/preset-classic": "3.6.0",
"@giscus/react": "^3.0.0",
"@mdx-js/react": "^3.0.1",
"axios": "^1.5.0",
Expand All @@ -56,5 +57,8 @@
"stream-browserify": "^3.0.0",
"unist-util-visit": "^5.0.0"
},
"packageManager": "[email protected]"
"resolutions": {
"typedoc": "^0.26.11"
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions website/src/theme/NavbarItem/ComponentTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import HtmlNavbarItem from '@theme/NavbarItem/HtmlNavbarItem';
import DocSidebarNavbarItem from '@theme/NavbarItem/DocSidebarNavbarItem';
import DocsVersionNavbarItem from '@theme/NavbarItem/DocsVersionNavbarItem';
import DocsVersionDropdownNavbarItem from '@theme/NavbarItem/DocsVersionDropdownNavbarItem';
import { useActiveDocContext } from '@docusaurus/plugin-content-docs/client';
import { useDocsVersion, useLayoutDoc } from '@docusaurus/theme-common/internal';
import { useActiveDocContext, useLayoutDoc } from '@docusaurus/plugin-content-docs/client';
import { useDocsVersion } from '@docusaurus/theme-common/internal';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import React from 'react';

Expand Down
Loading

0 comments on commit dfac25f

Please sign in to comment.