create-react-docs-ui 0.1.6 → 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.1.6",
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
-
@@ -9,10 +9,9 @@
9
9
  "preview": "vite preview"
10
10
  },
11
11
  "dependencies": {
12
- "buffer": "^6.0.3",
13
- "react": ">=18",
14
- "react-docs-ui": "^0.1.3",
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
  }
@@ -75,23 +75,44 @@ footer:
75
75
  enabled: true
76
76
  copyright: "© 2024 React Docs UI. All rights reserved."
77
77
  repository:
78
- url: "https://github.com/your_github_id/your_repo_name"
78
+ url: "https://github.com/shenjianZ/React-docs-ui"
79
79
  branch: "master"
80
- lastUpdated: "2024-12-19"
81
- links:
82
- - title: "Documentation"
83
- link: "/guide/introduction"
84
- - title: "GitHub"
85
- link: "https://github.com/your_github_id/your_repo_name"
86
- external: true
87
- - title: "License"
88
- link: "/license"
80
+ lastUpdated: "2025-08-14"
81
+ version: "v0.1.7"
82
+ groups:
83
+ - title: "Community"
84
+ items:
85
+ - title: "Discussions"
86
+ link: "https://github.com/shenjianZ/React-docs-ui/discussions"
87
+ external: true
88
+ - title: "Issues"
89
+ link: "https://github.com/shenjianZ/React-docs-ui/issues"
90
+ external: true
91
+ - title: "Contributing"
92
+ link: "https://github.com/shenjianZ/React-docs-ui/blob/master/CONTRIBUTING.md"
93
+ external: true
94
+ - title: "Releases"
95
+ link: "https://github.com/shenjianZ/React-docs-ui/releases"
96
+ external: true
97
+ - title: "Help & Support"
98
+ items:
99
+ - title: "Examples"
100
+ link: "/guide/quick-start"
101
+ - title: "Source Code"
102
+ link: "https://github.com/shenjianZ/React-docs-ui"
103
+ external: true
104
+ - title: "License"
105
+ link: "https://github.com/shenjianZ/React-docs-ui/blob/master/LICENSE"
106
+ external: true
107
+ - title: "Back to Top"
108
+ link: "#"
109
+ action: "scrollTop"
89
110
  social:
90
111
  - name: "email"
91
112
  url: "mailto:contact@example.com"
92
113
  icon: "mail"
93
114
  - name: "github"
94
- url: "https://github.com/your_github_id"
115
+ link: "https://github.com/shenjianZ/React-docs-ui"
95
116
  icon: "github"
96
117
  # - name: "youtube"
97
118
  # url: "https://youtube.com/@yourhandle"
@@ -134,4 +155,31 @@ pwa:
134
155
  shortName: "ReactDocsUI"
135
156
  description: "Beautiful documentation websites made simple"
136
157
  themeColor: "#ffffff"
137
- 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
@@ -73,16 +73,45 @@ toc:
73
73
  # Footer Configuration
74
74
  footer:
75
75
  enabled: true
76
- copyright: "© 2024 React Docs UI. All rights reserved."
76
+ copyright: "© 2025 React Docs UI. All rights reserved."
77
77
  repository:
78
- url: "https://github.com/your_github_id/your_repo_name"
78
+ url: "https://github.com/shenjianZ/React-docs-ui"
79
79
  branch: "master"
80
- lastUpdated: "2024-12-19"
80
+ lastUpdated: "2025-08-14"
81
+ version: "v0.1.7"
82
+ groups:
83
+ - title: "社区"
84
+ items:
85
+ - title: "讨论区"
86
+ link: "https://github.com/shenjianZ/React-docs-ui/discussions"
87
+ external: true
88
+ - title: "问题反馈"
89
+ link: "https://github.com/shenjianZ/React-docs-ui/issues"
90
+ external: true
91
+ - title: "贡献指南"
92
+ link: "https://github.com/shenjianZ/React-docs-ui/blob/master/CONTRIBUTING.md"
93
+ external: true
94
+ - title: "版本发布"
95
+ link: "https://github.com/shenjianZ/React-docs-ui/releases"
96
+ external: true
97
+ - title: "帮助支持"
98
+ items:
99
+ - title: "示例"
100
+ link: "/guide/quick-start"
101
+ - title: "源代码"
102
+ link: "https://github.com/shenjianZ/React-docs-ui"
103
+ external: true
104
+ - title: "开源许可"
105
+ link: "https://github.com/shenjianZ/React-docs-ui/blob/master/LICENSE"
106
+ external: true
107
+ - title: "回到顶部"
108
+ link: "#"
109
+ action: "scrollTop"
81
110
  links:
82
111
  - title: "Documentation"
83
112
  link: "/guide/introduction"
84
113
  - title: "GitHub"
85
- link: "https://github.com/your_github_id/your_repo_name"
114
+ link: "https://github.com/shenjianZ/React-docs-ui"
86
115
  external: true
87
116
  - title: "License"
88
117
  link: "/license"
@@ -134,4 +163,31 @@ pwa:
134
163
  shortName: "ReactDocsUI"
135
164
  description: "Beautiful documentation websites made simple"
136
165
  themeColor: "#ffffff"
137
- 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 # 重置主题偏好