logo

abstract class

docCompiler::HtmlGenerator

sys::Obj
  fandoc::HtmlDocWriter
    docCompiler::HtmlGenerator

HtmlGenerator is the base class for HTML generation which handles all the navigation and URI concerns

Slots

compiler

DocCompiler compiler

Source

content

virtual Void content()

Generate the content section of the document.

Source

docHome

Str docHome := "Doc Home"

Source

elemStart

override Void elemStart(DocElem elem)

Source

virtual Void footer()

Generate the footer section of the document.

Source

generate

Void generate()

Source

virtual Void header()

Generate the header section of the document.

Source

loc

Location loc

Source

make

new make(DocCompiler compiler, Location loc, OutStream out)

Source

pathToRoot

virtual Str pathToRoot()

Returnt the relative path to the document root.

Source

Void searchBox()

Generate the search box.

Source

showByDefault

static Bool showByDefault(Type t, Slot s)

Source

showSlot

static Bool showSlot(Type t, Slot s)

Source

showType

static Bool showType(Type t)

Source

virtual Void sidebar()

Generate the sidebar section of the document.

Source

title

virtual Str title()

Return the title for this document.

Source