Documentation ¶
Overview ¶
Package doc generates Markdown files and organizes a directory structure that follows the command hierarchy.
The WriteDocs function is the main entry point for generating the documentation. It recursively processes all subcommands and creates the appropriate files and directories based on the command structure, following the rules defined in determineSubdir
The GenerateSummary function is another entry point, which can create a summary.md file containing the table of contents for the generated documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSummary ¶
func MaintenanceHandler ¶
MaintenanceHandler is a concrete strategy for --maintenance-day
func StrReplaceIfContains ¶
Types ¶
type FlagDefaultHandler ¶
FlagDefaultHandler is a Strategy for handling pflag default values while generating docs