Skip to content

Commit 0445463

Browse files
committed
Attempting to fix docs gen lint errors
1 parent 7332a79 commit 0445463

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

cmd/gen-docs/main.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ navOrder: {{.Position}}
201201
import SamplesInstance from 'src/shared-content/samples/samples-instance.include.md';
202202
203203
{{.Command.Long}}
204-
` + "\n```" + `{{define "T1"}}Usage:{{if .Runnable}}
204+
` + "\n```bash" + `{{define "T1"}}Usage:{{if .Runnable}}
205205
{{.UseLine}}{{end}}{{if .HasAvailableSubCommands}}
206206
{{.CommandPath}} [command]{{end}}{{if gt (len .Aliases) 0}}
207207
@@ -233,7 +233,7 @@ Use "{{.CommandPath}} [command] --help" for more information about a command.{{e
233233
## Examples
234234
235235
<SamplesInstance />
236-
` + "\n```" + `
236+
` + "\n```bash" + `
237237
{{ .Command.Example }}
238238
` + "\n```\n" + `
239239
{{- end }}
@@ -262,8 +262,6 @@ The Octopus CLI is built and maintained by the Octopus Deploy team, but it is al
262262
:::
263263
264264
## Commands {#octopusCommandLine-Commands}
265-
266265
` + "\n`octopus` supports the following commands:\n" +
267-
`
268-
{{range .Pages}}
266+
`{{range .Pages}}
269267
- **[{{.Title}}]({{.RelativePath}})**: {{.Command.Short}}.{{end}}`

0 commit comments

Comments
 (0)