Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LeafData ¶
type LeafData struct {
Title string
FileName string
Tags []string
SiteTags map[string][]LeafData // needed for the nav
Links []LeafData // needed for the nav
Diagrams []string // needed for the index
Content template.HTML // used for converting to an html template
Summary string // used for search displays, found in the meta
}
LeafData holds the data for a leaf that will then be used to build the site
type ParseOptions ¶
type ParseOptions struct {
D2Theme int64
D2Layout string // one of elk or dagre, defaults ot dagre; tala is not supported in the library
}
ParseOptions are options relevants specifically to parsing, usually filled in automatically from the CommandOptions if run from the binary
Click to show internal directories.
Click to hide internal directories.