StandaloneBuilder#

Qualified name: rsm.builder.StandaloneBuilder

class rsm.builder.StandaloneBuilder(asset_resolver=None, outname='index.html', custom_css=None, theme_toggle=True, menu_position='left')[source]#

Bases: HTMLBuilder

Builder that produces a single self-contained HTML file.

Use this builder when the output file needs to work when opened directly in a browser (file:// URLs) without a web server. All RSM JavaScript is inlined directly in the HTML. Third-party libraries (jQuery, Tooltipster, MathJax) are loaded from CDNs.

Methods

make_html_header

Attributes

CDN_JQUERY

CDN_PSEUDOCODE_CSS

CDN_RSM_CSS

CDN_TOOLTIPSTER_CSS

CDN_TOOLTIPSTER_JS

body

web