ml_switcheroo.utils.doc_renderer ================================ .. py:module:: ml_switcheroo.utils.doc_renderer .. autoapi-nested-parse:: Documentation Page Renderer. This module converts the dictionary View Model (produced by `DocContextBuilder`) into final ReStructuredText (RST) content. It embeds custom HTML/CSS/JS logic to create an interactive "Vertical Tabs" layout for displaying framework variants side-by-side. Classes ------- .. autoapisummary:: ml_switcheroo.utils.doc_renderer.OpPageRenderer Module Contents --------------- .. py:class:: OpPageRenderer Renders RST/HTML for a single Operation documentation page. .. py:method:: render_rst(context: Dict[str, Any]) -> str Generates the full .rst content for the operation. :param context: View Model dict containing name, description, args, and variants. :returns: ReStructuredText source string. :rtype: str