private/apigen: Remove trailing space in doc generator
Remove a trailing space that the doc generator was adding. Change-Id: I5c24478f79726afbaa5c6772d569b35cafe7c288
This commit is contained in:
parent
ed67ce33bb
commit
bcde51138d
@ -35,7 +35,7 @@ func (api *API) generateDocumentation() string {
|
|||||||
wf := func(format string, args ...any) { _, _ = fmt.Fprintf(&doc, format, args...) }
|
wf := func(format string, args ...any) { _, _ = fmt.Fprintf(&doc, format, args...) }
|
||||||
|
|
||||||
wf("# API Docs\n\n")
|
wf("# API Docs\n\n")
|
||||||
wf("**Description:** %s\n\n", api.Description)
|
wf("**Description:**%s\n\n", api.Description)
|
||||||
wf("**Version:** `%s`\n\n", api.Version)
|
wf("**Version:** `%s`\n\n", api.Version)
|
||||||
|
|
||||||
wf("<h2 id='list-of-endpoints'>List of Endpoints</h2>\n\n")
|
wf("<h2 id='list-of-endpoints'>List of Endpoints</h2>\n\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user