Skip to content

v0.2.0

Choose a tag to compare

@akcano akcano released this 02 Sep 14:58
· 18 commits to main since this release
43f06a9

Added

  • Panic recovery around template execution to turn panics into errors
  • Concurrent usage test coverage and make test-race target
  • Comprehensive GoDoc for exported types (FlagInfo, ExampleInfo, ExampleParser, TemplateInfo)

Changed

  • BREAKING: Removed the unused linkHandler parameter from GenDocs, GenMarkdownTree, and GenRSTTree; link formatting now lives entirely in templates

Migration:

// before
gencodo.GenRSTTree(rootCmd, dir, templates, filePrepender, linkHandler)
// after
gencodo.GenRSTTree(rootCmd, dir, templates, filePrepender)