tts_html_utils.resource

Functions

compile_scripts(scripts)

Extracts JavaScript content and wraps it in HTML <script> tags.

compile_styles(styles)

Extracts the CSS content from a list of style resources.

get_js_template(fname)

Locates a JavaScript template within the library's internal javascript directory.

get_script(fname)

Locates a JavaScript file within the library's internal scripts directory.

get_stylesheet(fname)

Locates a CSS stylesheet within the library's internal resources.

get_template(fname)

Locates an HTML template file within the library's internal html_templates directory.

render_html_from_stock_template(...)

A shortcut wrapper for render_html_from_template.

render_html_from_template(template_dir, ...)

The core rendering engine.