@modern-js/main-doc 0.0.0-nightly-20240704170700 → 0.0.0-nightly-20240706170610

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.
@@ -9,6 +9,10 @@ sidebar_label: ssg
9
9
 
10
10
  Enable the SSG for **Self-controlled Routing** or **Conventional Routing**.
11
11
 
12
+ :::info Enable SSG
13
+ This configuration will only be available when the SSG feature is enabled. Please read the [Static Site Generation](/guides/advanced-features/ssg) documentation to learn how to enable the SSG feature.
14
+ :::
15
+
12
16
  :::info
13
17
  For more routes detail, see [Routing](/guides/basic-features/routes).
14
18
 
@@ -9,6 +9,10 @@ sidebar_label: ssg
9
9
 
10
10
  开启**自控式路由**或**约定式路由** SSG 功能的配置。
11
11
 
12
+ :::info 开启 SSG 功能
13
+ 此配置需要在开启 SSG 功能情况下才会生效。请阅读 [静态站点生成](/guides/advanced-features/ssg) 文档了解如何开启 SSG 功能。
14
+ :::
15
+
12
16
  :::info 客户端路由
13
17
  相关内容可以查看[路由方案](/guides/basic-features/routes)。
14
18
 
package/package.json CHANGED
@@ -15,17 +15,17 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-nightly-20240704170700",
18
+ "version": "0.0.0-nightly-20240706170610",
19
19
  "publishConfig": {
20
20
  "registry": "https://registry.npmjs.org/",
21
21
  "access": "public",
22
22
  "provenance": true
23
23
  },
24
24
  "dependencies": {
25
- "@modern-js/sandpack-react": "0.0.0-nightly-20240704170700"
25
+ "@modern-js/sandpack-react": "0.0.0-nightly-20240706170610"
26
26
  },
27
27
  "peerDependencies": {
28
- "@modern-js/builder-doc": "0.0.0-nightly-20240704170700"
28
+ "@modern-js/builder-doc": "0.0.0-nightly-20240706170610"
29
29
  },
30
30
  "devDependencies": {
31
31
  "classnames": "^2",
@@ -39,8 +39,8 @@
39
39
  "@rspress/shared": "1.18.2",
40
40
  "@types/node": "^16",
41
41
  "@types/fs-extra": "9.0.13",
42
- "@modern-js/builder-doc": "0.0.0-nightly-20240704170700",
43
- "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240704170700"
42
+ "@modern-js/doc-plugin-auto-sidebar": "0.0.0-nightly-20240706170610",
43
+ "@modern-js/builder-doc": "0.0.0-nightly-20240706170610"
44
44
  },
45
45
  "scripts": {
46
46
  "dev": "rspress dev",