Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model is the bubbletea model for the documentation browser.
func NewModel ¶
NewModel creates a new Model. If args contains a page slug, that page is opened directly. glamStyle should be determined before the TUI starts (e.g. "dark" or "light").
func (Model) Init ¶
Init implements tea.Model. Pre-renders all pages concurrently so the cache is warm by the time the user opens any page.
Click to show internal directories.
Click to hide internal directories.