@docusaurus/plugin-content-docs 3.6.3-canary-6167 → 3.6.3-canary-6169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client/docsUtils.js +1 -0
- package/package.json +11 -11
- package/src/client/docsUtils.tsx +1 -0
package/lib/client/docsUtils.js
CHANGED
|
@@ -110,6 +110,7 @@ export function isVisibleSidebarItem(item, activePath) {
|
|
|
110
110
|
switch (item.type) {
|
|
111
111
|
case 'category':
|
|
112
112
|
return (isActiveSidebarItem(item, activePath) ||
|
|
113
|
+
(typeof item.href !== 'undefined' && !item.linkUnlisted) ||
|
|
113
114
|
item.items.some((subItem) => isVisibleSidebarItem(subItem, activePath)));
|
|
114
115
|
case 'link':
|
|
115
116
|
// An unlisted item remains visible if it is active
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "3.6.3-canary-
|
|
3
|
+
"version": "3.6.3-canary-6169",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@docusaurus/core": "3.6.3-canary-
|
|
39
|
-
"@docusaurus/logger": "3.6.3-canary-
|
|
40
|
-
"@docusaurus/mdx-loader": "3.6.3-canary-
|
|
41
|
-
"@docusaurus/module-type-aliases": "3.6.3-canary-
|
|
42
|
-
"@docusaurus/theme-common": "3.6.3-canary-
|
|
43
|
-
"@docusaurus/types": "3.6.3-canary-
|
|
44
|
-
"@docusaurus/utils": "3.6.3-canary-
|
|
45
|
-
"@docusaurus/utils-common": "3.6.3-canary-
|
|
46
|
-
"@docusaurus/utils-validation": "3.6.3-canary-
|
|
38
|
+
"@docusaurus/core": "3.6.3-canary-6169",
|
|
39
|
+
"@docusaurus/logger": "3.6.3-canary-6169",
|
|
40
|
+
"@docusaurus/mdx-loader": "3.6.3-canary-6169",
|
|
41
|
+
"@docusaurus/module-type-aliases": "3.6.3-canary-6169",
|
|
42
|
+
"@docusaurus/theme-common": "3.6.3-canary-6169",
|
|
43
|
+
"@docusaurus/types": "3.6.3-canary-6169",
|
|
44
|
+
"@docusaurus/utils": "3.6.3-canary-6169",
|
|
45
|
+
"@docusaurus/utils-common": "3.6.3-canary-6169",
|
|
46
|
+
"@docusaurus/utils-validation": "3.6.3-canary-6169",
|
|
47
47
|
"@types/react-router-config": "^5.0.7",
|
|
48
48
|
"combine-promises": "^1.1.0",
|
|
49
49
|
"fs-extra": "^11.1.1",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=18.0"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "4957d1c1c6f7791c953f400d89765e53afc45855"
|
|
71
71
|
}
|
package/src/client/docsUtils.tsx
CHANGED
|
@@ -168,6 +168,7 @@ export function isVisibleSidebarItem(
|
|
|
168
168
|
case 'category':
|
|
169
169
|
return (
|
|
170
170
|
isActiveSidebarItem(item, activePath) ||
|
|
171
|
+
(typeof item.href !== 'undefined' && !item.linkUnlisted) ||
|
|
171
172
|
item.items.some((subItem) => isVisibleSidebarItem(subItem, activePath))
|
|
172
173
|
);
|
|
173
174
|
case 'link':
|