Skip to main content

DocsPageContent

Function DocsPageContent 

Source
pub fn DocsPageContent(_: DocsPageContentProps) -> Element
Expand description

Documentation page content renderer.

Checks if the path is an API endpoint page or a regular MDX page and renders accordingly.

§Props

  • path: Current docs page path.
  • article_footer: Optional element rendered after the article body, before pagination (e.g. “Was this helpful?” widget).

§Stable public classes

Uses dk-article, dk-article-title, dk-article-body, dk-article-header, and dk-article-footer-slot for consumer CSS hooks.

§Props

For details, see the props struct definition.