Help us shape the future of Go! Take the 2026 Go Developer Survey

docs

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(opts GenerateOptions)

Generate generates the CLI documentation

Types

type GenerateOptions

type GenerateOptions struct {
	RootCmd     *cobra.Command
	Serve       bool
	GithubPages bool
}

GenerateOptions contains options for documentation generation

type NavEntry struct {
	Label    string
	FilePath string
	Children []*NavEntry
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL