diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/varlink/apidoc.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/varlink/apidoc.go b/docs/varlink/apidoc.go index 9cb190c33..7f1d60bc8 100644 --- a/docs/varlink/apidoc.go +++ b/docs/varlink/apidoc.go @@ -184,6 +184,7 @@ func generateIndex(methods []funcDescriber, types []typeDescriber, errors []err, } b.WriteString(fmt.Sprintf("\n[func %s(%s) %s](#%s)\n", method.Name, strings.Join(inArgs, ", "), strings.Join(outArgs, ", "), method.Name)) } + b.WriteString("\n") for _, t := range types { b.WriteString(fmt.Sprintf("[type %s](#%s)\n\n", t.Name, t.Name)) } |