Skip to content

Commit 5898d63

Browse files
committed
fix: template ungrouped api links
1 parent 396bfd3 commit 5898d63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen/template/markdown/group_index.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ version: _@{{.Version}}_
1212
{{range $k,$v := .Groups}}
1313
{{add $k 1}}. [{{$v.Title}}](./apis-{{$v.Group}}.md)
1414
{{range $k2,$api := $v.Apis}}
15-
{{add $k 1}}.{{add $k2 1}}. [{{$api.Title}}](./apis-{{$api.Group}}.md#{{add $k2 1}}-{{$api.Title}}) {{- if $api.Deprecated}}(Deprecated){{end}}
15+
{{add $k 1}}.{{add $k2 1}}. [{{$api.Title}}](./apis-{{$v.Group}}.md#{{add $k2 1}}-{{$api.Title}}) {{- if $api.Deprecated}}(Deprecated){{end}}
1616
{{end}}{{end}}

0 commit comments

Comments
 (0)