Documentation
¶
Overview ¶
Package doctor anaylzes notes for empty content, incorrect links and duplicates.
Index ¶
Constants ¶
View Source
const ( Bold = "\033[1m" Green = "\033[32m" Red = "\033[31m" Yellow = "\033[33m" Reset = "\033[0m" Dim = "\033[2m" )
ANSI color codes for terminal output formatting.
Variables ¶
This section is empty.
Functions ¶
func PrintReport ¶
func PrintReport(r Report)
PrintReport formats and prints the linter report to standard output. It colorizes the output, groups broken links and duplicate titles by file, and ensures consistent alphabetical sorting of the results.
Types ¶
type BrokenLink ¶
type DuplicateTitle ¶
type Report ¶
type Report struct {
BrokenLinks []BrokenLink
EmptyNotes []string
Duplicates []DuplicateTitle
}
Report gathers all problems in one structure
Click to show internal directories.
Click to hide internal directories.