Documentation
¶
Overview ¶
Package conventions matches file paths to project documentation and provides browsing of convention definitions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildIndex ¶
BuildIndex creates a search index from the conventions map. Conventions are indexed independently so they are always surfaced prominently in search results, regardless of BM25 scores from source docs.
func ForPath ¶
func ForPath(conventions map[string]config.Convention, path string) []config.Convention
ForPath returns conventions from the given map that match path. Conventions with no scope are skipped; they are search-only. Scopes support glob patterns: ** matches any depth, * matches within a single path segment, and a bare * matches any path.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.