Skip to content

Commit 268f6f2

Browse files
committed
fix patch
1 parent 9f36ae2 commit 268f6f2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

patches/docusaurus-plugin-openapi-docs+0.0.0-961.patch

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
diff --git a/node_modules/docusaurus-plugin-openapi-docs/lib/sidebars/index.js b/node_modules/docusaurus-plugin-openapi-docs/lib/sidebars/index.js
2-
index 5802904..17409d5 100644
2+
index 5802904..576c3ed 100644
33
--- a/node_modules/docusaurus-plugin-openapi-docs/lib/sidebars/index.js
44
+++ b/node_modules/docusaurus-plugin-openapi-docs/lib/sidebars/index.js
5-
@@ -139,9 +139,18 @@ function groupByTags(items, sidebarOptions, options, tags, docPath) {
5+
@@ -139,9 +139,16 @@ function groupByTags(items, sidebarOptions, options, tags, docPath) {
66
}
77
const taggedApiItems = apiItems.filter((item) => { var _a; return !!((_a = item.api.tags) === null || _a === void 0 ? void 0 : _a.includes(tag)); });
88
const taggedSchemaItems = schemaItems.filter((item) => { var _a; return !!((_a = item.schema["x-tags"]) === null || _a === void 0 ? void 0 : _a.includes(tag)); });
99
+ const altids = [];
1010
+
1111
+ if (tagObject?.['x-legacy-doc-urls']) {
12-
+ console.log(tagObject);
1312
+ altids.push(...tagObject['x-legacy-doc-urls']);
1413
+ }
1514
+
@@ -20,7 +19,7 @@ index 5802904..17409d5 100644
2019
link: linkConfig,
2120
collapsible: sidebarCollapsible,
2221
collapsed: sidebarCollapsed,
23-
@@ -201,11 +210,12 @@ function generateSidebarSlice(sidebarOptions, options, api, tags, docPath, tagGr
22+
@@ -201,11 +208,12 @@ function generateSidebarSlice(sidebarOptions, options, api, tags, docPath, tagGr
2423
filteredTags.push(tag);
2524
}
2625
});

0 commit comments

Comments
 (0)