Skip to main content

Module template

Module template 

Source
Expand description

HTML template rendering for the documentation UI.

Constants§

TEMPLATE_HTML
The raw HTML template used for rendering.

Functions§

base_template
Renders a demo template using the built-in Petstore sample data.
template
Renders the HTML template with the given spec, theme, and favicon.
template_with_custom_theme
Renders the HTML template with optional custom CSS injected after the built-in themes.
template_with_embedded_theme
Renders the HTML template with embedded theme CSS.