const class compilerDoc::DocChapter
sys::Obj compilerDoc::Doc compilerDoc::DocChapter
DocChapter models a fandoc "chapter" in a manual like docLang
-
virtual override Str breadcrumb()Use title for breadcrumb
- doc
-
const DocFandoc docChapter contents as Fandoc string
- docName
-
virtual override Str docName()Document name under space is same as
name - heading
-
virtual override DocHeading? heading(Str id, Bool checked := true)Get a chapter heading by its anchor id or raise NameErr/return null.
- headings
-
const DocHeading[] headingsTop-level chapter headings
- isPodDoc
-
Bool isPodDoc()Return if this chapter is the special "pod-doc" file
- loc
-
const DocLoc locLocation for chapter file
- meta
-
Fandoc heating metadata
- name
-
const Str nameSimple name of the chapter such as "Overview" or "pod-doc"
- next
-
DocChapter? next()Next chapter in TOC order or null if last
- num
-
Int num()Chapter number (one-based)
- onCrawl
-
virtual override Void onCrawl(DocCrawler crawler)Index the chapter name and body
- pod
-
const DocPod podPod which defines this chapter such as "docLang"
- prev
-
DocChapter? prev()Previous chapter in TOC order or null if first
- qname
-
const Str qnameQualified name as "pod::name"
- renderer
-
virtual override Type renderer()Default renderer is
DocChapterRenderer - space
-
virtual override DocSpace space()The space for this doc is
pod - summary
-
Str summary()Summary for TOC
- title
-
virtual override Str title()Title is
meta.title, or qualified name if not specified. - toStr
-
virtual override Str toStr()Return qname