Skip to content

Commit ca3281c

Browse files
committed
fix: SLA template
1 parent 1baab18 commit ca3281c

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

pkg/cmd/generate/sla/page.mdx.tmpl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Algolia API clients versions
2+
title: Algolia API client versions
33
sidebarTitle: Library versions
44
description: See which versions of Algolia's API clients are covered by SLA.
55
---
@@ -10,12 +10,12 @@ Versions of the API clients not listed on this page aren't covered by the [Algol
1010
{{ range . }}
1111
<Tab title="{{ getLanguageName .Language }}">
1212

13-
<table className="w-full">
13+
<table>
1414
<thead>
1515
<tr>
16-
<th className="max-w-[33%] w-full">Version</th>
17-
<th className="max-w-[33%] w-full">Release date</th>
18-
<th className="max-w-[33%] w-full">SLA status</th>
16+
<th>Version</th>
17+
<th>Release date</th>
18+
<th>SLA status</th>
1919
</tr>
2020
</thead>
2121
<tbody>

pkg/cmd/generate/sla/sla.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ func NewSlaCommand() *cobra.Command {
6464
},
6565
}
6666

67-
cmd.Flags().StringVarP(&opts.Output, "output", "o", "", "Output file")
6867
cmd.Flags().
69-
StringVarP(&opts.VersionsFile, "versions", "v", "", "Generate file with latest versions")
68+
StringVarP(&opts.Output, "output", "o", "", "MDX file for listing the supported versions.")
69+
cmd.Flags().
70+
StringVar(&opts.VersionsFile, "versions-snippets-file", "", "Generate snippets file for referencing version numbers")
7071

7172
return cmd
7273
}

0 commit comments

Comments
 (0)