Module render_shared

Module render_shared 

Source
Expand description

Shared rendering functions for documentation generation.

This module contains standalone rendering functions that can be used by both single-crate (ItemRenderer) and multi-crate (MultiCrateModuleRenderer) renderers.

These functions handle the core markdown generation logic without being tied to a specific rendering context, avoiding code duplication between the two modes.

Structs§

CategorizedTraitItems
Categorized trait items for structured rendering.
RendererInternals
Unit struct containing renderer functions. Helpful because free functions are annoying.
RendererUtils
Unit struct to organize path related utility functions related to renderer functions.
SourcePathConfig
Information needed to transform source paths to relative links.
TraitRenderer
Unit struct to organize trait related functions.

Traits§

DocsProcessor
Check if a render context can resolve documentation.