DocumentStructure

The structure of a markup document.

class Object
trait Matchable
class Any
class Document

Value members

Abstract methods

The tree model obtained from parsing the markup document.

The tree model obtained from parsing the markup document.

Concrete methods

def title: Option[SpanSequence]

The title of this document, obtained from the document structure or from the configuration. In case no title is defined in either of the two places the result will be None.

The title of this document, obtained from the document structure or from the configuration. In case no title is defined in either of the two places the result will be None.

Inherited methods

Creates the navigation structure for this document up to the specified depth. The returned instance can be used as part of a bigger navigation structure comprising of trees, documents and their sections.

Creates the navigation structure for this document up to the specified depth. The returned instance can be used as part of a bigger navigation structure comprising of trees, documents and their sections.

Value parameters:
context

captures the navigation depth, reference path and styles for the navigation tree being built

Returns:

a navigation item that can be used as part of a bigger navigation structure comprising of trees, documents and their sections

Inherited from:
DocumentNavigation
def path: Path
Inherited from:
Navigatable

The formats this document should be rendered to.

The formats this document should be rendered to.

Inherited from:
DocumentNavigation

Concrete fields

lazy val sections: Seq[SectionInfo]

The section structure of this document based on the hierarchy of headers found in the original text markup.

The section structure of this document based on the hierarchy of headers found in the original text markup.

Inherited fields

lazy val name: String

The local name of this navigatable.

The local name of this navigatable.

Inherited from:
Navigatable