From f5e099e81a4312722bd8345dc5cf5a3daebbba7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jind=C5=99ich=20B=C3=A4r?= Date: Mon, 21 Oct 2024 10:00:49 +0200 Subject: [PATCH] docs: bump `@apify/docusaurus-plugin-typedoc-api` (#277) Fixes type-wise links between documentation pages (see https://github.com/apify/apify-client-js/issues/591 for more context ). --- website/docusaurus.config.js | 1 + website/package-lock.json | 19 +++++++++++++++---- website/package.json | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 45aff2dc..d93b2d44 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -82,6 +82,7 @@ module.exports = { pathToCurrentVersionTypedocJSON: `${__dirname}/api-typedoc-generated.json`, sortSidebar: groupSort, routeBasePath: 'reference', + python: true, }, ], ...config.plugins, diff --git a/website/package-lock.json b/website/package-lock.json index 5ba1906d..7f0d3c78 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -7,7 +7,7 @@ "name": "apify-client-python", "dependencies": { "@apify/docs-theme": "^1.0.132", - "@apify/docusaurus-plugin-typedoc-api": "^4.2.5", + "@apify/docusaurus-plugin-typedoc-api": "^4.2.6", "@docusaurus/core": "^3.5.2", "@docusaurus/plugin-client-redirects": "^3.5.2", "@docusaurus/preset-classic": "^3.5.2", @@ -307,14 +307,15 @@ } }, "node_modules/@apify/docusaurus-plugin-typedoc-api": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@apify/docusaurus-plugin-typedoc-api/-/docusaurus-plugin-typedoc-api-4.2.5.tgz", - "integrity": "sha512-JfyTI+GQjsBeeB/iw5lj9JcZ76bsczcdlXlodjtRyIkjCRjm7d3a3UM+YgCZn5G7B0UMPcPuB4x07MXSlRGZ4w==", + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/@apify/docusaurus-plugin-typedoc-api/-/docusaurus-plugin-typedoc-api-4.2.6.tgz", + "integrity": "sha512-M/rpRqbHZjL49xXtvdxdh/M7jSSR5lb3mjKERzKKnX6i92B5BRetL7Eb4qHre9QPQVijgzILhlhTi8otvr0LAw==", "license": "MIT", "dependencies": { "@docusaurus/plugin-content-docs": "^3.5.2", "@docusaurus/types": "^3.5.2", "@docusaurus/utils": "^3.5.2", + "@types/react": "^18.3.11", "@vscode/codicons": "^0.0.35", "marked": "^9.1.6", "marked-smartypants": "^1.1.5", @@ -331,6 +332,16 @@ "typescript": "^5.0.0" } }, + "node_modules/@apify/docusaurus-plugin-typedoc-api/node_modules/@types/react": { + "version": "18.3.11", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.11.tgz", + "integrity": "sha512-r6QZ069rFTjrEYgFdOck1gK7FLVsgJE7tTz0pQBczlBNUhBNk0MQH4UbnFSwjpQLMkLzgqvBBa+qGpLje16eTQ==", + "license": "MIT", + "dependencies": { + "@types/prop-types": "*", + "csstype": "^3.0.2" + } + }, "node_modules/@apify/eslint-config": { "version": "0.2.4", "dev": true, diff --git a/website/package.json b/website/package.json index 73507f1c..3c86df7c 100644 --- a/website/package.json +++ b/website/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@apify/docs-theme": "^1.0.132", - "@apify/docusaurus-plugin-typedoc-api": "^4.2.5", + "@apify/docusaurus-plugin-typedoc-api": "^4.2.6", "@docusaurus/core": "^3.5.2", "@docusaurus/plugin-client-redirects": "^3.5.2", "@docusaurus/preset-classic": "^3.5.2",