@docusaurus/plugin-content-docs 3.10.1-canary-6591 → 3.10.1-canary-6593
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/sidebars/generator.js +1 -1
- package/lib/versions/files.js +1 -1
- package/package.json +11 -11
- package/src/sidebars/generator.ts +1 -1
- package/src/versions/files.ts +1 -1
|
@@ -131,7 +131,7 @@ Available doc IDs:
|
|
|
131
131
|
return undefined;
|
|
132
132
|
}
|
|
133
133
|
const id = link
|
|
134
|
-
? findDocByLocalId(link.id)?.id ?? getDoc(link.id).id
|
|
134
|
+
? (findDocByLocalId(link.id)?.id ?? getDoc(link.id).id)
|
|
135
135
|
: findConventionalCategoryDocLink()?.id;
|
|
136
136
|
if (!id) {
|
|
137
137
|
return undefined;
|
package/lib/versions/files.js
CHANGED
|
@@ -93,7 +93,7 @@ async function readVersionNames(siteDir, options) {
|
|
|
93
93
|
if (!versionFileContent && options.disableVersioning) {
|
|
94
94
|
throw new Error(`Docs: using "disableVersioning: true" option on a non-versioned site does not make sense.`);
|
|
95
95
|
}
|
|
96
|
-
const versions = options.disableVersioning ? [] : versionFileContent ?? [];
|
|
96
|
+
const versions = options.disableVersioning ? [] : (versionFileContent ?? []);
|
|
97
97
|
// We add the current version at the beginning, unless:
|
|
98
98
|
// - user don't want to; or
|
|
99
99
|
// - it's already been explicitly added to versions.json
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "3.10.1-canary-
|
|
3
|
+
"version": "3.10.1-canary-6593",
|
|
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.10.1-canary-
|
|
39
|
-
"@docusaurus/logger": "3.10.1-canary-
|
|
40
|
-
"@docusaurus/mdx-loader": "3.10.1-canary-
|
|
41
|
-
"@docusaurus/module-type-aliases": "3.10.1-canary-
|
|
42
|
-
"@docusaurus/theme-common": "3.10.1-canary-
|
|
43
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
44
|
-
"@docusaurus/utils": "3.10.1-canary-
|
|
45
|
-
"@docusaurus/utils-common": "3.10.1-canary-
|
|
46
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
38
|
+
"@docusaurus/core": "3.10.1-canary-6593",
|
|
39
|
+
"@docusaurus/logger": "3.10.1-canary-6593",
|
|
40
|
+
"@docusaurus/mdx-loader": "3.10.1-canary-6593",
|
|
41
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6593",
|
|
42
|
+
"@docusaurus/theme-common": "3.10.1-canary-6593",
|
|
43
|
+
"@docusaurus/types": "3.10.1-canary-6593",
|
|
44
|
+
"@docusaurus/utils": "3.10.1-canary-6593",
|
|
45
|
+
"@docusaurus/utils-common": "3.10.1-canary-6593",
|
|
46
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6593",
|
|
47
47
|
"@types/react-router-config": "^5.0.7",
|
|
48
48
|
"combine-promises": "^1.1.0",
|
|
49
49
|
"fs-extra": "^11.2.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=24.14"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "958bdad4e51b2df8d29749d8a6455f39ff85a348"
|
|
71
71
|
}
|
|
@@ -206,7 +206,7 @@ Available doc IDs:
|
|
|
206
206
|
return undefined;
|
|
207
207
|
}
|
|
208
208
|
const id = link
|
|
209
|
-
? findDocByLocalId(link.id)?.id ?? getDoc(link.id).id
|
|
209
|
+
? (findDocByLocalId(link.id)?.id ?? getDoc(link.id).id)
|
|
210
210
|
: findConventionalCategoryDocLink()?.id;
|
|
211
211
|
if (!id) {
|
|
212
212
|
return undefined;
|
package/src/versions/files.ts
CHANGED
|
@@ -145,7 +145,7 @@ export async function readVersionNames(
|
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
const versions = options.disableVersioning ? [] : versionFileContent ?? [];
|
|
148
|
+
const versions = options.disableVersioning ? [] : (versionFileContent ?? []);
|
|
149
149
|
|
|
150
150
|
// We add the current version at the beginning, unless:
|
|
151
151
|
// - user don't want to; or
|