Skip to content

Commit

Permalink
fix: update openapi dependencies
Browse files Browse the repository at this point in the history
- 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)
  • Loading branch information
B4nan committed Jan 8, 2025
1 parent bb5ab92 commit acc3575
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 53 deletions.
4 changes: 2 additions & 2 deletions apify-docs-theme/src/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
64 changes: 17 additions & 47 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit acc3575

Please sign in to comment.