Documentation
¶
Overview ¶
Package docs builds the entlite documentation from the source tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Root is the repo root, it defaults to the working directory.
Root string
// OutDir holds the generated markdown, relative to Root.
OutDir string
// HTMLDir holds the generated html, empty skips the site step.
HTMLDir string
// Check reports stale files instead of writing them.
Check bool
}
Config tells the pipeline where to read from and where to write to.
type Pipeline ¶
type Pipeline struct {
// contains filtered or unexported fields
}
Pipeline carries the state from one step to the next.
type Result ¶
type Result struct {
// Written lists the paths written to disk, empty in check mode.
Written []string
// Stale lists the paths that differ from the tree, only filled in check mode.
Stale []string
// Diff is a readable diff of the stale files, only filled in check mode.
Diff string
}
Result reports what a run produced.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.