From c71ca75519c1a75e376f189ecb8ef373ba02e7eb Mon Sep 17 00:00:00 2001 From: Alexander Miranda Date: Wed, 19 Jun 2024 12:59:33 -0500 Subject: [PATCH] feat: #1140 added godoc --- doc/md_docs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/md_docs.go b/doc/md_docs.go index 69aef29..6623d50 100644 --- a/doc/md_docs.go +++ b/doc/md_docs.go @@ -157,6 +157,8 @@ func GenMarkdownTreeCustom(cmd *cobra.Command, dir string, filePrepender, linkHa return nil } +// GenMarkdownTreeCustomWithFooter is the same as GenMarkdownTree, but +// with custom filePrepender, fileAppender, and linkHandler. func GenMarkdownTreeCustomWithFooter( cmd *cobra.Command, dir string, filePrepender, fileAppender, linkHandler func(string) string) error { for _, c := range cmd.Commands() {