Versions in this module Expand all Collapse all v0 v0.6.0 Nov 16, 2026 Changes in this version + func IsYAML(name string) bool + func KindBreakdown(docs []*parser.Document) string + func LoadDir(dir string, all bool) []*parser.Document + func LoadDirSkipped(dir string, all bool) ([]*parser.Document, int) + func LoadDocs(dir string, all bool) []*parser.Document + func LoadPath(path string, all bool) ([]*parser.Document, error) + func RecentByMtime(docs []*parser.Document, root string, limit int) []string + func WithoutYAML(docs []*parser.Document) []*parser.Document + type JSONDocument struct + Change string + ChangedLines []int + Filename string + Nodes []JSONNode + OldPath string + References []JSONRef + Sections []JSONSection + Summary JSONSummary + Tokens int + type JSONNode struct + Aligns []string + Checked *bool + Children []JSONNode + Code string + Format string + Headers []string + ID string + Kind string + Label string + Language string + Level int + LineEnd int + LineStart int + Raw string + Target string + TeX string + Title string + Tokens int + URL string + Variant string + func ConvertNode(n parser.Node) JSONNode + func ConvertNodeList(nodes []parser.Node) []JSONNode + func ConvertNodesSince(nodes []parser.Node, changed map[int]bool) []JSONNode + type JSONOutput struct + Documents []JSONDocument + Root string + Since string + TotalDocs int + TotalTokens int + func DocumentsJSON(root string, docs []*parser.Document) JSONOutput + type JSONRef struct + Line int + Target string + Text string + type JSONSection struct + Children []JSONSection + KeyTerms []string + Level int + LineEnd int + LineStart int + Notables []JSONNode + Title string + Tokens int + func ConvertSections(sections []*parser.Section) []JSONSection + func ConvertSectionsSince(sections []*parser.Section, changed map[int]bool) []JSONSection + type JSONSummary struct + Callouts int + CodeBlocks int + CommitRefs int + DefLists int + Emojis int + Footnotes int + HTMLBlocks int + IssueRefs int + LinkRefDefs int + MathBlocks int + Mentions int + Tables int + Tasks int + TasksChecked int + WikiEmbeds int + WikiLinks int + func ConvertSummary(s parser.ContentSummary) JSONSummary