package
Version:
v0.0.8
Opens a new window with list of versions in this module.
Published: Oct 30, 2026
License: AGPL-3.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package docs serves the documentation bundled in the binary so it is
available offline.
type Doc struct {
Name string `json:"name"`
Title string `json:"title"`
}
Doc describes a bundled document.
type Match struct {
Name string `json:"name"`
Line int `json:"line"`
Text string `json:"text"`
}
Match is one search hit.
type Store struct{ FS fs.FS }
Store reads docs from a filesystem of top-level *.md files.
Bundled returns the store embedded in this binary.
List returns all documents sorted by name.
Search returns case-insensitive line matches across all documents. Every
whitespace-separated term must appear in the line.
Show returns a document by name, with or without the .md suffix.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.