Repository navigation
Expand file tree
/
Copy pathmkdocs.yml
More file actions
226 lines (216 loc) · 6.94 KB
/
Copy pathmkdocs.yml
File metadata and controls
226 lines (216 loc) · 6.94 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
site_name: nonebot-plugin-htmlrender Documentation
site_url:
!ENV [DOCS_SITE_URL, "https://kexue-z.github.io/nonebot-plugin-htmlrender/"]
site_description: >-
nonebot-plugin-htmlrender 文档
# Repository
repo_name: kexue-z/nonebot-plugin-htmlrender
repo_url: https://github.com/kexue-z/nonebot-plugin-htmlrender
edit_uri: https://github.com/kexue-z/nonebot-plugin-htmlrender/docs/edit/master/docs/
# Copyright
copyright: "© 2026 kexue-z"
# Configuration
theme:
variant: modern
custom_dir: docs/overrides
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.code.select
- content.footnote.tooltips
- content.tabs.link
- content.tooltips
- navigation.footer
- navigation.indexes
- navigation.path
- navigation.sections
- navigation.tabs
- navigation.top
- search.highlight
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: lucide/sun-moon
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: red
accent: red
toggle:
icon: lucide/sun
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: red
accent: red
toggle:
icon: lucide/moon-star
name: Switch to system preference
favicon: assets/logo.png
logo: assets/nonebot_plugin.svg
icon:
tag:
default: lucide/hash
extra_css:
- stylesheets/extra.css
extra_javascript:
- assets/javascripts/mermaid-11.16.0.min.js
# Plugins
plugins:
- search
- tags
# Additional configuration
extra:
homepage: https://github.com/kexue-z/nonebot-plugin-htmlrender
scope: !ENV [DOCS_SCOPE, "/"]
version:
provider: !ENV [DOCS_VERSION_PROVIDER, "mike"]
default: latest
alias: true
annotate:
json: [.s2]
status:
new: Recently added
deprecated: Deprecated
social:
- icon: fontawesome/brands/github
link: https://github.com/kexue-z/nonebot-plugin-htmlrender
- icon: fontawesome/brands/python
link: https://pypi.org/project/nonebot-plugin-htmlrender/
tags:
default: default
# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:zensical.extensions.emoji.to_svg
emoji_index: !!python/name:zensical.extensions.emoji.twemoji
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink:
normalize_issue_symbols: true
repo_url_shorthand: true
user: zensical
repo: zensical
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
combine_header_slug: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.blocks.caption
- zensical.extensions.glightbox:
auto_caption: true
# Validation
validation:
unresolved_references: true
unresolved_footnotes: true
unused_definitions: true
unused_footnotes: true
shadowed_definitions: true
shadowed_footnotes: true
invalid_links: true
invalid_link_anchors: true
# Page tree
nav:
- 首页: index.md
- 指南:
- 指南总览: guides/index.md
- 开始使用:
- 入门路径: start/index.md
- 快速开始: start/quickstart.md
- 选择渲染后端: start/choosing-provider.md
- 渲染任务:
- 渲染内容: guides/rendering-content.md
- 模板与资源: guides/templates-and-resources.md
- 操作浏览器页面: guides/browser-automation.md
- 绘制 RasterScene: guides/raster-scenes.md
- 最佳实践: guides/best-practices.md
- 部署与运维:
- 远程 Playwright: configuration/remote-playwright.md
- 缓存组件与调优: guides/cache-lifecycle.md
- 安全须知: configuration/security.md
- 故障排查: configuration/troubleshooting.md
- 常见问题: configuration/faq.md
- 升级与迁移:
- 迁移索引: guides/migration/index.md
- v0.8 迁移指南: guides/migration/v0.8.md
- v0.7.2 迁移说明: guides/migration/v0.7.2.md
- 参考:
- 参考总览: reference/index.md
- 术语表: reference/glossary.md
- 配置参考:
- 配置总览: configuration/index.md
- 核心配置:
- .env 配置: configuration/dotenv.md
- 启动与生命周期: configuration/lifecycle.md
- HTML 渲染预算: configuration/html-rendering.md
- 资源与访问策略: configuration/resources.md
- 可选依赖与可观测性: configuration/observability.md
- 后端配置:
- HTML 后端:
- HTML 后端总览: configuration/providers/index.md
- Playwright: configuration/providers/playwright.md
- HTMLKit: configuration/providers/htmlkit.md
- Takumi: configuration/providers/takumi.md
- Graphics 后端:
- Graphics 总览: configuration/graphics/index.md
- Pillow: configuration/graphics/pillow.md
- Skia: configuration/graphics/skia.md
- API 参考:
- 渲染 API: reference/rendering.md
- Preparation 与资源 API: reference/preparation.md
- Application API: reference/application.md
- Capability 参考: reference/capabilities.md
- 原理与扩展:
- 概览: extensions/index.md
- 设计原理:
- 分层架构: extensions/architecture.md
- 资源管线: extensions/resource-pipeline.md
- Provider 扩展:
- Provider 契约: extensions/provider-contract.md
- Provider 开发指南: extensions/provider-development.md
- 项目:
- 项目维护总览: project/index.md
- 参与贡献:
- 贡献指南: project/contributing.md
- 工程协作流程: project/engineering-workflow.md
- 编码规范: project/coding-standards.md
- 提交消息指南: project/commit-messages.md
- Pull Request 生命周期: project/pull-requests.md
- 质量与发布:
- 测试矩阵: project/testing.md
- CI Actions: project/ci.md
- 仓库治理与保护: project/governance.md
- 发布流程: project/release.md
- 文档版本管理: project/documentation-versioning.md