@docusaurus/plugin-content-pages 3.7.0-canary-6226 → 3.7.0-canary-6230

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "3.7.0-canary-6226",
3
+ "version": "3.7.0-canary-6230",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,11 +18,11 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "3.7.0-canary-6226",
22
- "@docusaurus/mdx-loader": "3.7.0-canary-6226",
23
- "@docusaurus/types": "3.7.0-canary-6226",
24
- "@docusaurus/utils": "3.7.0-canary-6226",
25
- "@docusaurus/utils-validation": "3.7.0-canary-6226",
21
+ "@docusaurus/core": "3.7.0-canary-6230",
22
+ "@docusaurus/mdx-loader": "3.7.0-canary-6230",
23
+ "@docusaurus/types": "3.7.0-canary-6230",
24
+ "@docusaurus/utils": "3.7.0-canary-6230",
25
+ "@docusaurus/utils-validation": "3.7.0-canary-6230",
26
26
  "fs-extra": "^11.1.1",
27
27
  "tslib": "^2.6.0",
28
28
  "webpack": "^5.88.1"
@@ -34,5 +34,5 @@
34
34
  "engines": {
35
35
  "node": ">=18.0"
36
36
  },
37
- "gitHead": "3cf0275e790bbdc3c77c1da052da78574893d9e1"
37
+ "gitHead": "0f0362d0127756a591b2e3aefe367d3681f6b8b3"
38
38
  }
@@ -7,7 +7,11 @@
7
7
 
8
8
  declare module '@docusaurus/plugin-content-pages' {
9
9
  import type {MDXOptions} from '@docusaurus/mdx-loader';
10
- import type {LoadContext, Plugin} from '@docusaurus/types';
10
+ import type {
11
+ LoadContext,
12
+ Plugin,
13
+ OptionValidationContext,
14
+ } from '@docusaurus/types';
11
15
  import type {FrontMatterLastUpdate, LastUpdateData} from '@docusaurus/utils';
12
16
 
13
17
  export type Assets = {
@@ -82,6 +86,10 @@ declare module '@docusaurus/plugin-content-pages' {
82
86
  context: LoadContext,
83
87
  options: PluginOptions,
84
88
  ): Promise<Plugin<LoadedContent | null>>;
89
+
90
+ export function validateOptions(
91
+ args: OptionValidationContext<Options | undefined, PluginOptions>,
92
+ ): PluginOptions;
85
93
  }
86
94
 
87
95
  declare module '@theme/MDXPage' {