EpubBuilder

A CompositeBuilder for html files.

class disseminate.builders.target_builders.epub_builder.EpubBuilder(*args, **kwargs)

A builder for epub files.

create_subbuilders()

Create subbuilders needed by this builder

create_toc_xhtml_builder(context=None, template_name='default/xhtml/toc.xhtml')

Create a toc.xhtml file for the document.

Parameters
contextdocument.DocumentContext

The document context for the document that owns this builder.

outfilepathOptional[paths.TargetPath]

The outfilepath to use for the toc.xhtml

template_nameOptional[str]

The name of the template file to use in making the toc.

find_or_create_xhtml_builders(**kwargs)

Find or create the target XHtmlBuilder for all documents in the document tree.

has_toc_xhtml(xhtml_filepaths=None)

Evaluates whether there is a toc.xhtml file in the xhtml files.

xhtml_filepaths(xhtml_builders=None)

Return a flat list of xhtml, css, svg filepaths from the XHtmlBuilders