diff --git a/apify-docs-theme/src/theme/custom.css b/apify-docs-theme/src/theme/custom.css index c5c654d8d..2cdda8475 100644 --- a/apify-docs-theme/src/theme/custom.css +++ b/apify-docs-theme/src/theme/custom.css @@ -1016,8 +1016,8 @@ aside li.section-header > .menu__list { padding-left: 0; } -.theme-doc-sidebar-menu li.section-header > ul > li .menu__list-item-collapsible:hover, -.theme-doc-sidebar-menu li.section-header > ul > li .menu__list-item-collapsible--active { +.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible:hover, +.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible--active { background: inherit !important; } diff --git a/package-lock.json b/package-lock.json index cc15978ab..ac37cd0b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,11 +25,11 @@ "@docusaurus/utils": "3.6.3", "@giscus/react": "^3.0.0", "@mdx-js/react": "^3.0.1", - "@redocly/cli": "1.25.14", + "@redocly/cli": "^1.27.1", "ajv": "^8.17.1", "clsx": "^2.0.0", - "docusaurus-plugin-openapi-docs": "0.0.0-961", - "docusaurus-theme-openapi-docs": "0.0.0-961", + "docusaurus-plugin-openapi-docs": "^4.3.1", + "docusaurus-theme-openapi-docs": "^4.3.1", "form-data": "^4.0.0", "github-buttons": "^2.28.0", "postcss-preset-env": "^10.0.0", @@ -74,7 +74,7 @@ }, "apify-docs-theme": { "name": "@apify/docs-theme", - "version": "1.0.148", + "version": "1.0.151", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.1.1", @@ -6035,12 +6035,12 @@ } }, "node_modules/@redocly/cli": { - "version": "1.25.14", - "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-1.25.14.tgz", - "integrity": "sha512-HRDOoN3YpFe4+2rWrL/uTqRUDqqyrRtj1MVHFJ0heKTfBLOFEEfXXUYExw7R6yoiY3+GnptR96wePeFpH1gheg==", + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-1.27.1.tgz", + "integrity": "sha512-IgFzIKgWDaGY8jOlWYVp7VyIwElIjqrVLvZWzdDS/vdQlJ0DdISQ1nRy/YSh0Rqw69hJOpgn5cXMH/SS/qO33Q==", "license": "MIT", "dependencies": { - "@redocly/openapi-core": "1.25.14", + "@redocly/openapi-core": "1.27.1", "abort-controller": "^3.0.0", "chokidar": "^3.5.1", "colorette": "^1.2.0", @@ -6069,35 +6069,6 @@ "npm": ">=7.0.0" } }, - "node_modules/@redocly/cli/node_modules/@redocly/config": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.16.0.tgz", - "integrity": "sha512-t9jnODbUcuANRSl/K4L9nb12V+U5acIHnVSl26NWrtSdDZVtoqUXk2yGFPZzohYf62cCfEQUT8ouJ3bhPfpnJg==", - "license": "MIT" - }, - "node_modules/@redocly/cli/node_modules/@redocly/openapi-core": { - "version": "1.25.14", - "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.25.14.tgz", - "integrity": "sha512-B9ewI0KVC1yqyeoQzErVnV4kdnxaYfwRMctxk/YwJxZZc/nVZ3VOVE+r2kXIFaGbUgc4ZHFn+aE2qvzCRXTXHw==", - "license": "MIT", - "dependencies": { - "@redocly/ajv": "^8.11.2", - "@redocly/config": "^0.16.0", - "colorette": "^1.2.0", - "https-proxy-agent": "^7.0.4", - "js-levenshtein": "^1.1.6", - "js-yaml": "^4.1.0", - "lodash.isequal": "^4.5.0", - "minimatch": "^5.0.1", - "node-fetch": "^2.6.1", - "pluralize": "^8.0.0", - "yaml-ast-parser": "0.0.43" - }, - "engines": { - "node": ">=14.19.0", - "npm": ">=7.0.0" - } - }, "node_modules/@redocly/config": { "version": "0.17.1", "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.17.1.tgz", @@ -6105,9 +6076,9 @@ "license": "MIT" }, "node_modules/@redocly/openapi-core": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.26.0.tgz", - "integrity": "sha512-8Ofu6WpBp7eoLmf1qQ4+T0W4LRr8es+4Drw/RJG+acPXmaT2TmHk2B2v+3+1R9GqSIj6kx3N7JmQkxAPCnvDLw==", + "version": "1.27.1", + "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.27.1.tgz", + "integrity": "sha512-zQ47/A+Drk2Y75/af69MD3Oad4H9LxkUDzcm7XBkyLNDKIWQrDKDnS5476oDq77+zciymNxgMVtxxVXlnGS8kw==", "license": "MIT", "dependencies": { "@redocly/ajv": "^8.11.2", @@ -6116,7 +6087,6 @@ "https-proxy-agent": "^7.0.4", "js-levenshtein": "^1.1.6", "js-yaml": "^4.1.0", - "lodash.isequal": "^4.5.0", "minimatch": "^5.0.1", "node-fetch": "^2.6.1", "pluralize": "^8.0.0", @@ -11897,9 +11867,9 @@ "license": "Apache-2.0" }, "node_modules/docusaurus-plugin-openapi-docs": { - "version": "0.0.0-961", - "resolved": "https://registry.npmjs.org/docusaurus-plugin-openapi-docs/-/docusaurus-plugin-openapi-docs-0.0.0-961.tgz", - "integrity": "sha512-JxYJ+iIHVbGOJoRFy4QcxFwR9PrdnMVfBk/OojsfDLKqrmwF6tTZxDn5IUMKSqZJ+bndz9u+OIyA1/ejOpJG1w==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/docusaurus-plugin-openapi-docs/-/docusaurus-plugin-openapi-docs-4.3.1.tgz", + "integrity": "sha512-uVv/mipiQzgqHIhgnTmJmsBW3UuuAufmuyXeHzQR8PGovsjMOKJU6YVDTd8qHlkXQ09IdoBLKG0RUZ9daNxt0w==", "license": "MIT", "dependencies": { "@apidevtools/json-schema-ref-parser": "^11.5.4", @@ -12060,9 +12030,9 @@ } }, "node_modules/docusaurus-theme-openapi-docs": { - "version": "0.0.0-961", - "resolved": "https://registry.npmjs.org/docusaurus-theme-openapi-docs/-/docusaurus-theme-openapi-docs-0.0.0-961.tgz", - "integrity": "sha512-QkB/R9494XFFxQ2xLVRcrKTRpQ8hfv5WvIIyd3onUzUl0bC2QwHULlIfDAMqa/gU/LGGRkko3gpq7BtFoEu60Q==", + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/docusaurus-theme-openapi-docs/-/docusaurus-theme-openapi-docs-4.3.1.tgz", + "integrity": "sha512-AeMBDckf+L3CDybLuzxUnjfBOa4zvpfux+u8g2apMSRub1Zh17EdqSWapzHWcMRw3xmknR4kqMFboWLXhwW1ew==", "license": "MIT", "dependencies": { "@hookform/error-message": "^2.0.1", diff --git a/package.json b/package.json index 99ee2bcd9..f8c18cecf 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "api:clean": "docusaurus clean-api-docs all", "api:rebuild": "npm run api:clean && npm run api:generate", "redoc:start": "redocly preview-docs", - "redoc:build": "redocly bundle -o apify-api", + "redoc:build": "redocly bundle apify-api/openapi/openapi.yaml -o apify-api", "redoc:test": "redocly lint && npm run redoc:build", "redoc:test2": "redocly lint && npm run redoc:build && bin/schemathesis", "write-translations": "docusaurus write-translations", @@ -75,11 +75,11 @@ "@docusaurus/utils": "3.6.3", "@giscus/react": "^3.0.0", "@mdx-js/react": "^3.0.1", - "@redocly/cli": "1.25.14", + "@redocly/cli": "^1.27.1", "ajv": "^8.17.1", "clsx": "^2.0.0", - "docusaurus-plugin-openapi-docs": "0.0.0-961", - "docusaurus-theme-openapi-docs": "0.0.0-961", + "docusaurus-plugin-openapi-docs": "^4.3.1", + "docusaurus-theme-openapi-docs": "^4.3.1", "form-data": "^4.0.0", "github-buttons": "^2.28.0", "postcss-preset-env": "^10.0.0", diff --git a/patches/docusaurus-plugin-openapi-docs+0.0.0-961.patch b/patches/docusaurus-plugin-openapi-docs+4.3.1.patch similarity index 100% rename from patches/docusaurus-plugin-openapi-docs+0.0.0-961.patch rename to patches/docusaurus-plugin-openapi-docs+4.3.1.patch diff --git a/patches/docusaurus-theme-openapi-docs+0.0.0-961.patch b/patches/docusaurus-theme-openapi-docs+4.3.1.patch similarity index 100% rename from patches/docusaurus-theme-openapi-docs+0.0.0-961.patch rename to patches/docusaurus-theme-openapi-docs+4.3.1.patch