Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTOC ¶
GenerateTOC generates a simple markdown list, which can be used as TOC for the given markdown file.
Types ¶
type Index ¶
type Index struct { Key string `json:"key"` Name string `json:"name"` Description string `json:"description"` Home string `json:"home"` TOC []map[string]any `json:"toc"` }
Index is the structure of the index file required in the root directory for each TechDoc.
func ParseIndex ¶
ParseIndex parses the given content into the index structure.
Click to show internal directories.
Click to hide internal directories.