docs-page
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese【模板: 技术文档页】
【意图】API / 教程文档单页, 长读体验优先。
【布局】
- Inline-start nav (sections + sticky)
- Article body (含代码块, callouts, 表格)
- Inline-end TOC (sticky, scroll-spy)
- 顶栏 search + version + 主题切换 【设计细节】
- 代码块: 圆角 + dark + 语言标签 + 复制按钮
- callout: info / warn / danger 三色
【Template: Technical Document Page】
【Purpose】Single page for API / tutorial documents, prioritizing long-reading experience.
【Layout】
- Inline-start nav (sections + sticky)
- Article body (including code blocks, callouts, tables)
- Inline-end TOC (sticky, scroll-spy)
- Top bar with search + version + theme switch 【Design Details】
- Code blocks: rounded corners + dark mode + language labels + copy button
- Callouts: three colors for info / warn / danger