HtmlNavRenderer

laika.render.epub.HtmlNavRenderer

Renders the entire content of an EPUB HTML navigation file.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def fileContent(title: String, styles: String, navItems: String, coverDoc: Option[String], titleDoc: Option[String]): String

Inserts the specified (pre-rendered) navPoints into the NCX document template and returns the content of the entire NCX file.

Inserts the specified (pre-rendered) navPoints into the NCX document template and returns the content of the entire NCX file.

Attributes

def render[F[_]](result: RenderedTreeRoot[F], title: String, depth: Option[Int]): String

Renders the entire content of an EPUB HTML navigation file for the specified document tree. The recursion depth will be applied to the tree structure obtained by recursively processing titles of document trees, documents and sections. The configuration key for setting the recursion depth is epub.toc.depth.

Renders the entire content of an EPUB HTML navigation file for the specified document tree. The recursion depth will be applied to the tree structure obtained by recursively processing titles of document trees, documents and sections. The configuration key for setting the recursion depth is epub.toc.depth.

Attributes