@docusaurus/plugin-content-pages 0.0.0-6064 → 0.0.0-6067

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/index.js CHANGED
@@ -39,8 +39,7 @@ async function pluginContentPages(context, options) {
39
39
  const aliasedSource = (0, utils_1.aliasedSitePath)(mdxPath, siteDir);
40
40
  return path_1.default.join(dataDir, `${(0, utils_1.docuHash)(aliasedSource)}.json`);
41
41
  },
42
- // Assets allow to convert some relative images paths to
43
- // require(...) calls
42
+ // createAssets converts relative paths to require() calls
44
43
  createAssets: ({ frontMatter }) => ({
45
44
  image: frontMatter.image,
46
45
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "0.0.0-6064",
3
+ "version": "0.0.0-6067",
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": "0.0.0-6064",
22
- "@docusaurus/mdx-loader": "0.0.0-6064",
23
- "@docusaurus/types": "0.0.0-6064",
24
- "@docusaurus/utils": "0.0.0-6064",
25
- "@docusaurus/utils-validation": "0.0.0-6064",
21
+ "@docusaurus/core": "0.0.0-6067",
22
+ "@docusaurus/mdx-loader": "0.0.0-6067",
23
+ "@docusaurus/types": "0.0.0-6067",
24
+ "@docusaurus/utils": "0.0.0-6067",
25
+ "@docusaurus/utils-validation": "0.0.0-6067",
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": "f9f463e54c7ff8013cb938f94857af8e4bff5a72"
37
+ "gitHead": "856911a5474e8e907f83438abe5c42d4793e06cb"
38
38
  }
package/src/index.ts CHANGED
@@ -75,8 +75,7 @@ export default async function pluginContentPages(
75
75
  const aliasedSource = aliasedSitePath(mdxPath, siteDir);
76
76
  return path.join(dataDir, `${docuHash(aliasedSource)}.json`);
77
77
  },
78
- // Assets allow to convert some relative images paths to
79
- // require(...) calls
78
+ // createAssets converts relative paths to require() calls
80
79
  createAssets: ({frontMatter}: {frontMatter: PageFrontMatter}) => ({
81
80
  image: frontMatter.image,
82
81
  }),