@docusaurus/plugin-content-docs 0.0.0-5048 → 0.0.0-5051
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.
|
@@ -5,4 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import type { Sidebars, SidebarProcessorParams, ProcessedSidebars } from './types';
|
|
8
|
+
export declare type SidebarPostProcessorParams = SidebarProcessorParams & {
|
|
9
|
+
draftIds: Set<string>;
|
|
10
|
+
};
|
|
8
11
|
export declare function postProcessSidebars(sidebars: ProcessedSidebars, params: SidebarProcessorParams): Sidebars;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5051",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "MIT",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@docusaurus/core": "0.0.0-
|
|
29
|
-
"@docusaurus/logger": "0.0.0-
|
|
30
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
31
|
-
"@docusaurus/utils": "0.0.0-
|
|
32
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
28
|
+
"@docusaurus/core": "0.0.0-5051",
|
|
29
|
+
"@docusaurus/logger": "0.0.0-5051",
|
|
30
|
+
"@docusaurus/mdx-loader": "0.0.0-5051",
|
|
31
|
+
"@docusaurus/utils": "0.0.0-5051",
|
|
32
|
+
"@docusaurus/utils-validation": "0.0.0-5051",
|
|
33
33
|
"combine-promises": "^1.1.0",
|
|
34
34
|
"fs-extra": "^10.1.0",
|
|
35
35
|
"import-fresh": "^3.3.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"webpack": "^5.72.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
45
|
-
"@docusaurus/types": "0.0.0-
|
|
44
|
+
"@docusaurus/module-type-aliases": "0.0.0-5051",
|
|
45
|
+
"@docusaurus/types": "0.0.0-5051",
|
|
46
46
|
"@types/js-yaml": "^4.0.5",
|
|
47
47
|
"@types/picomatch": "^2.3.0",
|
|
48
48
|
"commander": "^5.1.0",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"engines": {
|
|
59
59
|
"node": ">=14"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "98ecf4caa7fda660f156a1e78cff95058256ac6b"
|
|
62
62
|
}
|
|
@@ -17,7 +17,7 @@ declare module '@docusaurus/plugin-content-docs' {
|
|
|
17
17
|
Tag,
|
|
18
18
|
} from '@docusaurus/utils';
|
|
19
19
|
import type {Plugin, LoadContext} from '@docusaurus/types';
|
|
20
|
-
import type {Required} from 'utility-types';
|
|
20
|
+
import type {Overwrite, Required} from 'utility-types';
|
|
21
21
|
|
|
22
22
|
export type Assets = {
|
|
23
23
|
image?: string;
|
|
@@ -206,7 +206,22 @@ declare module '@docusaurus/plugin-content-docs' {
|
|
|
206
206
|
*/
|
|
207
207
|
tagsBasePath: string;
|
|
208
208
|
};
|
|
209
|
-
export type Options = Partial<
|
|
209
|
+
export type Options = Partial<
|
|
210
|
+
Overwrite<
|
|
211
|
+
PluginOptions,
|
|
212
|
+
{
|
|
213
|
+
/**
|
|
214
|
+
* Custom parsing logic to extract number prefixes from file names. Use
|
|
215
|
+
* `false` to disable this behavior and leave the docs untouched, and
|
|
216
|
+
* `true` to use the default parser.
|
|
217
|
+
*
|
|
218
|
+
* @param filename One segment of the path, without any slashes.
|
|
219
|
+
* @see https://docusaurus.io/docs/sidebar#using-number-prefixes
|
|
220
|
+
*/
|
|
221
|
+
numberPrefixParser: PluginOptions['numberPrefixParser'] | boolean;
|
|
222
|
+
}
|
|
223
|
+
>
|
|
224
|
+
>;
|
|
210
225
|
export type SidebarsConfig = import('./sidebars/types').SidebarsConfig;
|
|
211
226
|
|
|
212
227
|
export type VersionMetadata = ContentPaths & {
|