diff --git a/doc/md_docs.go b/doc/md_docs.go
index 69aef29a..6623d504 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() {