Skip to main content

mount_docs_catalog

Function mount_docs_catalog 

Source
pub fn mount_docs_catalog(
    state: &DocsViewerState,
    tokens: ThemeTokens,
) -> NodeId
Expand description

Renders the compiled Rust /api/page-artifacts public catalog section with loading, localized error/retry, and expandable SHA-256 cards.

§Arguments

  • &DocsViewerState - Shared reactive viewer state carrying catalog signals.
  • ThemeTokens - Active design tokens.

§Returns

  • NodeId - Mounted catalog section container node.