@docusaurus/plugin-content-pages 4.0.0-canary-6839 → 4.0.0-canary-6841

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/routes.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import type { PluginContentLoadedActions, RouteConfig } from '@docusaurus/types';
7
+ import type { PluginContentLoadedActions } from '@docusaurus/types';
8
8
  import type { PluginOptions, LoadedContent } from '@docusaurus/plugin-content-pages';
9
9
  type CreateAllRoutesParam = {
10
10
  content: LoadedContent;
@@ -12,5 +12,4 @@ type CreateAllRoutesParam = {
12
12
  actions: PluginContentLoadedActions;
13
13
  };
14
14
  export declare function createAllRoutes(param: CreateAllRoutesParam): Promise<void>;
15
- export declare function buildAllRoutes({ content, actions, options, }: CreateAllRoutesParam): Promise<RouteConfig[]>;
16
15
  export {};
package/lib/routes.js CHANGED
@@ -7,7 +7,6 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.createAllRoutes = createAllRoutes;
10
- exports.buildAllRoutes = buildAllRoutes;
11
10
  const utils_1 = require("@docusaurus/utils");
12
11
  function createPageRouteMetadata(metadata) {
13
12
  const lastUpdatedAt = metadata.type === 'mdx' ? metadata.lastUpdatedAt : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "4.0.0-canary-6839",
3
+ "version": "4.0.0-canary-6841",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "4.0.0-canary-6839",
22
- "@docusaurus/glob": "4.0.0-canary-6839",
23
- "@docusaurus/mdx-loader": "4.0.0-canary-6839",
24
- "@docusaurus/types": "4.0.0-canary-6839",
25
- "@docusaurus/utils": "4.0.0-canary-6839",
26
- "@docusaurus/utils-validation": "4.0.0-canary-6839",
21
+ "@docusaurus/core": "4.0.0-canary-6841",
22
+ "@docusaurus/glob": "4.0.0-canary-6841",
23
+ "@docusaurus/mdx-loader": "4.0.0-canary-6841",
24
+ "@docusaurus/types": "4.0.0-canary-6841",
25
+ "@docusaurus/utils": "4.0.0-canary-6841",
26
+ "@docusaurus/utils-validation": "4.0.0-canary-6841",
27
27
  "fs-extra": "^11.4.0",
28
28
  "tslib": "^2.8.1",
29
29
  "webpack": "^5.111.0"
@@ -35,5 +35,5 @@
35
35
  "engines": {
36
36
  "node": ">=24.21"
37
37
  },
38
- "gitHead": "c93a33b60c528917c38fbf07e54c14ff52bdc190"
38
+ "gitHead": "6c97ad62ff58f7eda88392a0e33fcd982d826567"
39
39
  }
package/src/routes.ts CHANGED
@@ -40,7 +40,7 @@ export async function createAllRoutes(
40
40
  routes.forEach(param.actions.addRoute);
41
41
  }
42
42
 
43
- export async function buildAllRoutes({
43
+ async function buildAllRoutes({
44
44
  content,
45
45
  actions,
46
46
  options,