@docusaurus/plugin-content-pages 4.0.0-canary-6896 → 4.0.0-canary-6898

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/content.js CHANGED
@@ -50,7 +50,7 @@ async function loadPagesContent(params) {
50
50
  async function processPageSourceFile(relativeSource, params) {
51
51
  const { context, options, contentPaths } = params;
52
52
  const { siteConfig, baseUrl, siteDir, i18n } = context;
53
- const vcs = siteConfig.future.experimental_vcs;
53
+ const { vcs } = siteConfig;
54
54
  const { editUrl } = options;
55
55
  // Lookup in localized folder in priority
56
56
  const contentPath = await (0, utils_1.getFolderContainingFile)((0, utils_1.getContentPathList)(contentPaths), relativeSource);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-content-pages",
3
- "version": "4.0.0-canary-6896",
3
+ "version": "4.0.0-canary-6898",
4
4
  "description": "Pages plugin for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-content-pages.d.ts",
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "dependencies": {
21
- "@docusaurus/core": "4.0.0-canary-6896",
22
- "@docusaurus/fs": "4.0.0-canary-6896",
23
- "@docusaurus/glob": "4.0.0-canary-6896",
24
- "@docusaurus/mdx-loader": "4.0.0-canary-6896",
25
- "@docusaurus/types": "4.0.0-canary-6896",
26
- "@docusaurus/utils": "4.0.0-canary-6896",
27
- "@docusaurus/utils-validation": "4.0.0-canary-6896",
21
+ "@docusaurus/core": "4.0.0-canary-6898",
22
+ "@docusaurus/fs": "4.0.0-canary-6898",
23
+ "@docusaurus/glob": "4.0.0-canary-6898",
24
+ "@docusaurus/mdx-loader": "4.0.0-canary-6898",
25
+ "@docusaurus/types": "4.0.0-canary-6898",
26
+ "@docusaurus/utils": "4.0.0-canary-6898",
27
+ "@docusaurus/utils-validation": "4.0.0-canary-6898",
28
28
  "tslib": "^2.8.1",
29
29
  "webpack": "^5.111.0"
30
30
  },
@@ -35,5 +35,5 @@
35
35
  "engines": {
36
36
  "node": ">=24.21"
37
37
  },
38
- "gitHead": "ff0fc69d74156d041b6ddfd675f19ad7c461a26c"
38
+ "gitHead": "9cb6d6b09eacaefa738949b06bffe912fe759eaf"
39
39
  }
package/src/content.ts CHANGED
@@ -98,7 +98,7 @@ async function processPageSourceFile(
98
98
  ): Promise<Metadata | undefined> {
99
99
  const {context, options, contentPaths} = params;
100
100
  const {siteConfig, baseUrl, siteDir, i18n} = context;
101
- const vcs = siteConfig.future.experimental_vcs;
101
+ const {vcs} = siteConfig;
102
102
  const {editUrl} = options;
103
103
 
104
104
  // Lookup in localized folder in priority