-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocs.html
More file actions
359 lines (340 loc) · 14.9 KB
/
Copy pathdocs.html
File metadata and controls
359 lines (340 loc) · 14.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="ErisPulse 文档中心:完整的 OneBot12 机器人开发框架文档,包含快速开始教程、API 参考、模块开发指南、QQ 机器人构建教程。"
/>
<meta
name="keywords"
content="ErisPulse 文档, OneBot12 文档, QQ机器人教程, 聊天机器人开发, Python机器人文档, 机器人API参考, 模块开发指南, OneBot协议"
/>
<meta name="theme-color" content="#4A9CD8" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta
name="apple-mobile-web-app-status-bar-style"
content="black-translucent"
/>
<meta name="apple-mobile-web-app-title" content="ErisPulse" />
<link rel="canonical" href="https://www.erisdev.com/docs.html" />
<!-- Schema.org 结构化数据 -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "ErisPulse 文档中心",
"url": "https://www.erisdev.com/docs.html",
"description": "ErisPulse 框架的完整文档,包括快速开始、开发指南、API参考等",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.erisdev.com/docs.html?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<!-- Open Graph 标签 -->
<meta property="og:title" content="ErisPulse 文档中心" />
<meta
property="og:description"
content="完整的框架文档,包括快速开始、开发指南、API参考、适配器标准等。"
/>
<meta
property="og:image"
content="https://www.erisdev.com/assets/img/logo.png"
/>
<meta property="og:url" content="https://www.erisdev.com/docs.html" />
<meta property="og:type" content="website" />
<meta property="og:locale" content="zh_CN" />
<!-- Twitter Card 标签 -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="ErisPulse 文档中心" />
<meta
name="twitter:description"
content="完整的框架文档,帮助你快速上手和深入理解 ErisPulse 框架。"
/>
<meta
name="twitter:image"
content="https://www.erisdev.com/assets/img/logo.png"
/>
<title>文档中心 - ErisPulse</title>
<!-- PWA 相关 -->
<link rel="manifest" href="manifest.json" />
<link rel="apple-touch-icon" href="assets/img/logo.png" />
<!-- CSS 样式表 -->
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/home.css" />
<link rel="stylesheet" href="assets/css/market.css" />
<link rel="stylesheet" href="assets/css/markdown.css" />
<link rel="stylesheet" href="assets/css/docs.css" />
<link rel="stylesheet" href="assets/css/builder.css" />
<link rel="stylesheet" href="assets/css/setting.css" />
<link rel="stylesheet" href="assets/css/about.css" />
<link
rel="stylesheet"
crossorigin="anonymous"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/line-numbers/prism-line-numbers.min.css"
/>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/marked/4.3.0/marked.min.js"
defer
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-core.min.js"
defer
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"
defer
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/line-numbers/prism-line-numbers.min.js"
defer
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"
defer
></script>
<script type="module">
// 初始化为 docs 视图
window.__INITIAL_VIEW__ = "docs";
</script>
</head>
<body>
<!-- 加载动画 -->
<div id="page-loader" class="page-loader">
<img
class="loader-icon"
src="assets/img/logo.png"
alt="ErisPulse Logo 加载中"
/>
</div>
<!-- H1 标题(SEO 优化) -->
<h1 style="display: none">
ErisPulse 文档中心 - OneBot12 机器人开发框架文档,QQ
机器人和聊天机器人教程
</h1>
<!-- 导航栏 -->
<nav class="navbar">
<a href="index.html" class="logo" data-view="home">
<img
src="assets/img/logo.png"
class="logo-icon"
alt="ErisPulse"
/>
<span>ErisPulse</span>
</a>
<button class="hamburger" id="hamburger">
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
</button>
<div class="nav-container" id="nav-container">
<div class="nav-links">
<a href="index.html" class="nav-link" data-view="home">
<i class="fas fa-home"></i>
<span class="nav-text" data-i18n="nav.home">首页</span>
</a>
<a href="market.html" class="nav-link" data-view="market">
<i class="fas fa-store"></i>
<span class="nav-text" data-i18n="nav.market"
>模块市场</span
>
</a>
<a
href="docs.html"
class="nav-link active"
data-view="docs"
>
<i class="fas fa-book"></i>
<span class="nav-text" data-i18n="nav.docs"
>文档中心</span
>
</a>
<a href="builder.html" class="nav-link" data-view="builder">
<i class="fas fa-wand-magic-sparkles"></i>
<span class="nav-text" data-i18n="nav.builder"
>构建器</span
>
</a>
<a
href="settings.html"
class="nav-link"
data-view="settings"
>
<i class="fas fa-cog"></i>
<span class="nav-text" data-i18n="nav.settings"
>设置</span
>
</a>
<a href="about.html" class="nav-link" data-view="about">
<i class="fas fa-heart"></i>
<span class="nav-text" data-i18n="nav.about">我们</span>
</a>
</div>
<button
class="theme-toggle-btn"
id="theme-toggle"
aria-label="Toggle theme"
>
<i class="fas fa-sun" id="theme-toggle-icon"></i>
</button>
<!-- 全局语言切换器 -->
<div class="lang-switcher" id="global-lang-switcher">
<button
class="lang-switcher-btn"
id="lang-switcher-btn"
aria-label="Switch language"
>
<i class="fas fa-globe"></i>
<span class="lang-label">简体中文</span>
<i class="fas fa-chevron-down"></i>
</button>
<div class="lang-switcher-dropdown">
<button class="lang-switcher-option" data-lang="zh-CN">
简体中文
</button>
<button class="lang-switcher-option" data-lang="en">
English
</button>
<button class="lang-switcher-option" data-lang="zh-TW">
繁體中文
</button>
<button class="lang-switcher-option" data-lang="ja">
日本語
</button>
<button class="lang-switcher-option" data-lang="ru">
Русский
</button>
</div>
</div>
</div>
</nav>
<!-- 主内容区域 -->
<main class="main-content">
<!-- 视图片段占位符:启动时由 assets/js/core/views.js 加载 -->
<div data-fragment-slot="home"></div>
<div data-fragment-slot="market"></div>
<div data-fragment-slot="docs"></div>
<div data-fragment-slot="builder"></div>
<div data-fragment-slot="settings"></div>
<div data-fragment-slot="about"></div>
<div data-fragment-slot="modals"></div>
</main>
<!-- 页脚 -->
<footer>
<img
class="footer-chan"
src="assets/img/ep_chan.png"
alt="ErisPulse 官网吉祥物 ep_chan"
loading="lazy"
/>
<div class="container">
<div class="footer-content">
<div class="footer-column">
<h3>ErisPulse</h3>
<ul class="footer-links">
<li>
<a href="https://github.com/ErisPulse/ErisPulse"
><i class="fas fa-home"></i>
<span data-i18n="footer.home"
>项目主页</span
></a
>
</li>
<li>
<a href="docs.html"
><i class="fas fa-book"></i>
<span data-i18n="footer.docs"
>使用文档</span
></a
>
</li>
</ul>
</div>
<div class="footer-column">
<h3 data-i18n="footer.contribute">贡献与开发</h3>
<ul class="footer-links">
<li>
<a
href="https://github.com/ErisPulse/ErisPulse/issues"
><i class="fas fa-code"></i>
<span data-i18n="footer.issue"
>报告Issue</span
></a
>
</li>
<li>
<a
href="https://github.com/ErisPulse/ErisPulse/pulls"
><i class="fas fa-code-branch"></i>
<span data-i18n="footer.pr">提交PR</span></a
>
</li>
<li>
<a
href="https://github.com/ErisPulse/ErisPulse/discussions"
><i class="fas fa-comments"></i>
<span data-i18n="footer.discussions"
>讨论区</span
></a
>
</li>
</ul>
</div>
<div class="footer-column">
<h3 data-i18n="footer.social">社交平台</h3>
<ul class="footer-links">
<li>
<a href="https://qm.qq.com/q/TOwnCmypcy"
><i class="fab fa-qq"></i> QQ</a
>
</li>
<li>
<a href="https://github.com/ErisPulse"
><i class="fab fa-github"></i> GitHub</a
>
</li>
<li>
<a href="https://t.me/ErisPulse"
><i class="fab fa-telegram"></i> Telegram</a
>
</li>
<li>
<a
href="https://yhfx.jwznb.com/share?key=mr0vMbXhKJGt&ts=1770192749"
><img
src="assets/img/yunhu.png"
alt="云湖"
width="20"
height="20"
/>
云湖</a
>
</li>
</ul>
</div>
</div>
<div class="copyright">
© 2026 ErisPulse Project |
<span data-i18n="footer.copyright">开源许可证:MIT</span>
</div>
</div>
</footer>
<!--
应用入口(原生 ES Module)
视图片段在启动时由 assets/js/core/views.js 抓取并注入。
-->
<script type="module" src="assets/js/app.js"></script>
</body>
</html>