跳到主要内容

Web Device surface · ARC 2.0.0-beta.28

`docs-page` surface

Web Device surface `docs-page`:用途、边界、作者入口、证据与 sample 诚实边界。

这是 Web Device surface,不是 AUP primitive(surface),不是 AUP widget(wm-surface / 同名 widget),也不是 theme layout component。

包:providers/runtime/web-device/surfaces/docs-page/(manifest.json + render.js)。

用途

文档 board 壳:左侧导航、正文、面包屑、上下篇、可选页内 TOC。

边界

  • Surface 包由 board/路由/layout 壳挂载——不是 Markdown 指令。
  • 与 widget 同名不合并层;本页只写 surface 合同。
  • 不要在本页写多个 surface。

作者入口

docs board / routes

常见作者 props(来自 manifest):siteName, current, basePath, sections, navTree, title, summary, eyebrow, docsRootPath, docsRootLabel, collectionLabel, collectionHref, toc, actionsHtml, collectionLanding

表面

由本包实现(document 壳、layout 列表、交互站点等——见备注)。

公共状态

released

Fallback

—

Sample

Live surface:渲染本套文档的 docs board 壳。本页正文不另造假 HTML mock——壳本身即证据面。

证据

项路径
Surface 包providers/runtime/web-device/surfaces/docs-page/
Manifest…/docs-page/manifest.json
Renderer…/docs-page/render.js
内部矩阵docs/aup/capability-matrix.md §4(内部,不对外路由)
矩阵行概念surface · docs-page

备注

含 card-group CSS 等文档 chrome。这是 surface 壳,不是 content Markdown sample。

相关