Reporter class that renders report as a HTML document.

class fontbakery.reporters.html.HTMLReporter(loglevels, **kwd)[source][source]

Renders a report as a HTML document.

get_html() → str[source][source]

Return complete report as a HTML string.

html_for_check(check) → str[source][source]

Return HTML string for complete single check.

log_html(log) → str[source][source]

Return single check sub-result string as HTML or not if below log level.

omit_loglevel(msg) → bool[source][source]

Determine if message is below log level.

fontbakery.reporters.html.html5_collapsible(summary, details) → str[source][source]

Return nestable, collapsible <detail> tag for check grouping and sub- results.

fontbakery.reporters.html.html5_document(body_elements) → str[source][source]

Return complete HTML5 document string.

fontbakery.reporters.html.summary_table(errors: int, fails: int, warns: int, skips: int, infos: int, passes: int, debugs: int, total: int) → str[source][source]

Return summary table with statistics.