HTMLExporter

class qf_lib.documents_utils.document_exporting.html_exporter.HTMLExporter(settings: Settings)[source]

Bases: DocumentExporter

Stores a number of documents, which represent a single subreport, in order to then generate HTML for each of them.

Methods:

generate(documents, export_dir[, filename, ...])

Generates HTML pages for each document in this builder.

generate(documents: List[Document], export_dir: str, filename: Optional[str] = None, include_table_of_contents=True) List[str][source]

Generates HTML pages for each document in this builder. The resulting HTML will be saved in the output directory, the filename will be the same as the Document’s name field unless the filename parameter is specified, in which case there will only be one HTML file saved.