Documentation
¶
Overview ¶
Package tree builds hierarchical navigation trees from markdown file directories.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Modified time.Time `json:"modified"`
Metadata *renderer.Metadata `json:"metadata,omitempty"`
Name string `json:"name"`
RawName string `json:"rawName"`
RelativePath string `json:"relativePath"`
Slug string `json:"slug"`
Type NodeType `json:"type"`
Title string `json:"title"`
Children []*Node `json:"children,omitempty"`
Size int64 `json:"size"`
}
Node represents a navigation entry (directory or markdown file).
Click to show internal directories.
Click to hide internal directories.