Skip to content

Commit 84c916e

Browse files
committed
Update docs
1 parent 1c832db commit 84c916e

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

docusaurus.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,13 @@ const config = {
4646
configuration: {
4747
spec: {
4848
// Last updated: 2025-02-15 TODO[g-despot] Update to correct openapi_docs branch
49-
url: "https://raw.githubusercontent.com/weaviate/weaviate/openapi_docs_v1-30/openapi-specs/schema.json",
49+
url: "https://raw.githubusercontent.com/weaviate/weaviate/openapi-for-docs/openapi-specs/schema.json",
5050
},
5151
hideModels: true,
5252
// This feature currently broken - potentially fixed in: https://github.com/scalar/scalar/pull/1387
5353
// hiddenClients: [...],
54+
showAuthentication: false,
55+
showRequestSamples: false,
5456
},
5557
},
5658
],

src/css/custom.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,3 +905,23 @@ button.close {
905905
margin: 0 !important;
906906
padding: 0 !important;
907907
}
908+
909+
/*
910+
* SCALAR OPENAPI DOCS - FINAL FIX
911+
* -------------------------------
912+
* Fixes visibility of sidebar icons.
913+
*/
914+
915+
.scalar-api-reference .sidebar-heading-chevron svg {
916+
color: var(--ifm-font-color-base);
917+
}
918+
919+
// Target the wrapper for the authentication section
920+
.scalar-reference-intro-auth {
921+
display: none !important;
922+
}
923+
924+
// Target the wrapper for the client libraries section
925+
.scalar-reference-intro-clients {
926+
display: none !important;
927+
}

0 commit comments

Comments
 (0)