Skip to content

Commit 6ffcab7

Browse files
authored
fix: update openapi dependencies (#1392)
- bump the docusaurus openapi plugin to stable version - bump redocly CLI to latest version - fix tiny CSS bug in openapi sidebar (hover on section header)
1 parent bb5ab92 commit 6ffcab7

File tree

5 files changed

+23
-53
lines changed

5 files changed

+23
-53
lines changed

apify-docs-theme/src/theme/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,8 @@ aside li.section-header > .menu__list {
10161016
padding-left: 0;
10171017
}
10181018

1019-
.theme-doc-sidebar-menu li.section-header > ul > li .menu__list-item-collapsible:hover,
1020-
.theme-doc-sidebar-menu li.section-header > ul > li .menu__list-item-collapsible--active {
1019+
.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible:hover,
1020+
.theme-doc-sidebar-menu > li.section-header > ul > li.theme-doc-sidebar-item-category-level-2 > .menu__list-item-collapsible--active {
10211021
background: inherit !important;
10221022
}
10231023

package-lock.json

Lines changed: 17 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"api:clean": "docusaurus clean-api-docs all",
2424
"api:rebuild": "npm run api:clean && npm run api:generate",
2525
"redoc:start": "redocly preview-docs",
26-
"redoc:build": "redocly bundle -o apify-api",
26+
"redoc:build": "redocly bundle apify-api/openapi/openapi.yaml -o apify-api",
2727
"redoc:test": "redocly lint && npm run redoc:build",
2828
"redoc:test2": "redocly lint && npm run redoc:build && bin/schemathesis",
2929
"write-translations": "docusaurus write-translations",
@@ -75,11 +75,11 @@
7575
"@docusaurus/utils": "3.6.3",
7676
"@giscus/react": "^3.0.0",
7777
"@mdx-js/react": "^3.0.1",
78-
"@redocly/cli": "1.25.14",
78+
"@redocly/cli": "^1.27.1",
7979
"ajv": "^8.17.1",
8080
"clsx": "^2.0.0",
81-
"docusaurus-plugin-openapi-docs": "0.0.0-961",
82-
"docusaurus-theme-openapi-docs": "0.0.0-961",
81+
"docusaurus-plugin-openapi-docs": "^4.3.1",
82+
"docusaurus-theme-openapi-docs": "^4.3.1",
8383
"form-data": "^4.0.0",
8484
"github-buttons": "^2.28.0",
8585
"postcss-preset-env": "^10.0.0",

0 commit comments

Comments
 (0)