Documentation
¶
Overview ¶
Package doclint extracts the link graph from the repository's Markdown so a test can assert it resolves. It is test-support code, not API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Link ¶
type Link struct {
// Target is the raw path before any '#', empty for a same-file anchor.
Target string
// Fragment is the anchor without its '#', empty when the link has none.
Fragment string
// Line is the 1-indexed line it appeared on, so a failure can be clicked.
Line int
}
Link is one inline Markdown link, split into the parts that can rot independently: the file it names and the heading anchor within it.
Click to show internal directories.
Click to hide internal directories.