create-react-docs-ui 0.1.7 → 0.2.0
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": "create-react-docs-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
"boilerplate",
|
|
35
35
|
"create-tool"
|
|
36
36
|
],
|
|
37
|
-
"license": "MIT"
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=18"
|
|
40
|
+
},
|
|
41
|
+
"packageManager": "pnpm@10.14.0+sha512.ad27a79641b49c3e481a16a805baa71817a04bbe06a38d17e60e2eaee83f6a146c6a688125f5792e48dd5ba30e7da52a5cda4c3992b9ccf333f9ce223af84748"
|
|
38
42
|
}
|
|
39
|
-
|
|
40
|
-
|
package/template/package.json
CHANGED
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
"preview": "vite preview"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"
|
|
13
|
-
"react": "
|
|
14
|
-
"react-
|
|
15
|
-
"react-dom": ">=18",
|
|
12
|
+
"react-docs-ui": "^0.2.0",
|
|
13
|
+
"react": "^19.0.0",
|
|
14
|
+
"react-dom": "^19.0.0",
|
|
16
15
|
"react-router-dom": "^7.8.0"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
@@ -26,5 +25,8 @@
|
|
|
26
25
|
"@vitejs/plugin-react": "^4.7.0",
|
|
27
26
|
"typescript": "~5.8.3",
|
|
28
27
|
"vite": "^7.1.0"
|
|
28
|
+
},
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18"
|
|
29
31
|
}
|
|
30
32
|
}
|
|
@@ -155,4 +155,31 @@ pwa:
|
|
|
155
155
|
shortName: "ReactDocsUI"
|
|
156
156
|
description: "Beautiful documentation websites made simple"
|
|
157
157
|
themeColor: "#ffffff"
|
|
158
|
-
backgroundColor: "#ffffff"
|
|
158
|
+
backgroundColor: "#ffffff"
|
|
159
|
+
|
|
160
|
+
# Context Menu Configuration
|
|
161
|
+
contextMenu:
|
|
162
|
+
# Global switch, set to false to completely disable context menu
|
|
163
|
+
enabled: true
|
|
164
|
+
|
|
165
|
+
# Page group menu items configuration
|
|
166
|
+
page:
|
|
167
|
+
copyUrl: true # Copy current URL
|
|
168
|
+
copyTitle: false # Copy page title
|
|
169
|
+
copyMarkdownLink: true # Copy Markdown link
|
|
170
|
+
openInNewTab: false # Open in new tab
|
|
171
|
+
reload: true # Refresh
|
|
172
|
+
printPage: true # Print page
|
|
173
|
+
scrollToTop: true # Scroll to top
|
|
174
|
+
scrollToBottom: true # Scroll to bottom
|
|
175
|
+
|
|
176
|
+
# Site group menu items configuration
|
|
177
|
+
site:
|
|
178
|
+
goHome: true # Go to home
|
|
179
|
+
quickNav: false # Quick navigation
|
|
180
|
+
language: false # Language switch
|
|
181
|
+
|
|
182
|
+
# Appearance group menu items configuration
|
|
183
|
+
appearance:
|
|
184
|
+
theme: false # Theme switch
|
|
185
|
+
resetThemePref: false # Reset theme preference
|
|
@@ -163,4 +163,31 @@ pwa:
|
|
|
163
163
|
shortName: "ReactDocsUI"
|
|
164
164
|
description: "Beautiful documentation websites made simple"
|
|
165
165
|
themeColor: "#ffffff"
|
|
166
|
-
backgroundColor: "#ffffff"
|
|
166
|
+
backgroundColor: "#ffffff"
|
|
167
|
+
|
|
168
|
+
# 右键菜单配置
|
|
169
|
+
contextMenu:
|
|
170
|
+
# 全局开关,false 则完全禁用右键菜单
|
|
171
|
+
enabled: true
|
|
172
|
+
|
|
173
|
+
# 页面组菜单项配置
|
|
174
|
+
page:
|
|
175
|
+
copyUrl: true # 复制当前链接
|
|
176
|
+
copyTitle: false # 复制页面标题
|
|
177
|
+
copyMarkdownLink: true # 复制 Markdown 链接
|
|
178
|
+
openInNewTab: false # 在新标签页打开
|
|
179
|
+
reload: true # 刷新
|
|
180
|
+
printPage: true # 打印页面
|
|
181
|
+
scrollToTop: true # 回到顶部
|
|
182
|
+
scrollToBottom: true # 滚动到底部
|
|
183
|
+
|
|
184
|
+
# 站点组菜单项配置
|
|
185
|
+
site:
|
|
186
|
+
goHome: true # 返回首页
|
|
187
|
+
quickNav: false # 快速跳转
|
|
188
|
+
language: false # 语言切换
|
|
189
|
+
|
|
190
|
+
# 外观组菜单项配置
|
|
191
|
+
appearance:
|
|
192
|
+
theme: false # 主题切换
|
|
193
|
+
resetThemePref: false # 重置主题偏好
|