feat(docs): 文档站重制 — 参照 opsxapi/opsxshell 体系,服务端渲染三栏布局
- 后端 goldmark 渲染管线:/docs/:slug 页面 + /docs/search-data.json 搜索索引, manifest.json 驱动分组导航,正文剥 H1 避免与页面头重复 - 三栏布局(分组侧栏/内容/本页目录)+ 顶栏(品牌/版本徽章/搜索面板/官网入口), docs.css 品牌绿版 + docs.js(代码复制/轻量高亮/提示块/TOC 滚动高亮/移动端抽屉) - 替换 docsify;无上一页时空占位无边框;visual-judge 两轮评审(初版 fail → 修复后 pass)
This commit is contained in:
1 parent
c1f822fb10
commit
437ff56992
11 files changed
+854
-43
No files matched your search
@@ -1,9 +0,0 @@
|
||||
- [开始](README.md)
|
||||
- [安装与启动](install.md)
|
||||
- [部署向导](wizard.md)
|
||||
- [日志采集](collectors.md)
|
||||
- [日志查询](query.md)
|
||||
- [日志分析](analysis.md)
|
||||
- [告警通知](alerts.md)
|
||||
- [查询授权](access.md)
|
||||
- [常见问题](faq.md)
|
||||
@@ -0,0 +1,74 @@
|
||||
{
|
||||
"productVersion": "2.0",
|
||||
"groups": [
|
||||
{
|
||||
"name": "开始使用",
|
||||
"pages": [
|
||||
{
|
||||
"file": "README.md",
|
||||
"slug": "readme",
|
||||
"title": "产品介绍",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "install.md",
|
||||
"slug": "install",
|
||||
"title": "安装与启动",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "wizard.md",
|
||||
"slug": "wizard",
|
||||
"title": "部署向导",
|
||||
"updated": "2026-10-28"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "采集与查询",
|
||||
"pages": [
|
||||
{
|
||||
"file": "collectors.md",
|
||||
"slug": "collectors",
|
||||
"title": "日志采集",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "query.md",
|
||||
"slug": "query",
|
||||
"title": "日志查询",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "analysis.md",
|
||||
"slug": "analysis",
|
||||
"title": "日志分析",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "access.md",
|
||||
"slug": "access",
|
||||
"title": "查询授权",
|
||||
"updated": "2026-10-28"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "告警与运维",
|
||||
"pages": [
|
||||
{
|
||||
"file": "alerts.md",
|
||||
"slug": "alerts",
|
||||
"title": "告警通知",
|
||||
"updated": "2026-10-28"
|
||||
},
|
||||
{
|
||||
"file": "faq.md",
|
||||
"slug": "faq",
|
||||
"title": "常见问题",
|
||||
"updated": "2026-10-28"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user