Skip to content

Commit

Permalink
docs/reference: add modules tag to cmd/cue texts
Browse files Browse the repository at this point in the history
This adds the "modules" tag to the appropriate cmd/cue help text pages.

Preview-Path: /docs/reference/command/cue-help-mod-edit/
Preview-Path: /docs/reference/command/cue-help-mod-fix/
Preview-Path: /docs/reference/command/cue-help-mod-get/
Preview-Path: /docs/reference/command/cue-help-mod-init/
Preview-Path: /docs/reference/command/cue-help-mod-publish/
Preview-Path: /docs/reference/command/cue-help-mod-resolve/
Preview-Path: /docs/reference/command/cue-help-mod-tidy/
Preview-Path: /docs/reference/command/cue-help-mod/
Preview-Path: /docs/reference/command/cue-help-modules/
Preview-Path: /docs/reference/command/cue-help-registryconfig/
Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I234409c1f1a3b305a34a7cab39a3f4b510bf96b8
Dispatch-Trailer: {"type":"trybot","CL":1199971,"patchset":1,"ref":"refs/changes/71/1199971/1","targetBranch":"master"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Aug 23, 2024
1 parent 0b88cb3 commit 9fd0bf9
Show file tree
Hide file tree
Showing 66 changed files with 110 additions and 162 deletions.
76 changes: 44 additions & 32 deletions content/docs/reference/command/commands.cue
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ cuePathBase: {
title!: string
execCmd!: string
cuePath!: string
tags!: [...]

// oldDir is used to populate the page-level "aliases" front matter key,
// temporarily, until our logs show us that few enough inbound links reach
Expand All @@ -31,6 +32,7 @@ cue: [SubCommand=string]: #CueCommand & {
execCmd: *"cue help \(SubCommand)" | _
title: *"cue help \(SubCommand)" | _
oldDir: *"cue-\(_dirSuffix)" | _
tags: *[] | _
cuePath: json.Marshal(cuePathBase & {
_input: dir
})
Expand All @@ -48,36 +50,46 @@ cue: {

// All commands
cue: {
cue: _
cmd: _
commands: _
completion: _
def: _
embed: _
environment: _
eval: _
export: _
filetypes: _
fix: _
flags: _
fmt: _
get: _
"get go": _
import: _
injection: _
inputs: _
login: _
mod: _
"mod edit": _
"mod fix": _
"mod get": _
"mod init": _
"mod publish": _
"mod resolve": _
"mod tidy": _
modules: _
registryconfig: _
trim: _
version: _
vet: _
cue: _
cmd: _
commands: _
completion: _
def: _
embed: _
environment: _
eval: _
export: _
filetypes: _
fix: _
flags: _
fmt: _
get: _
"get go": _
import: _
injection: _
inputs: _
login: _
mod:
tags: ["modules"]
"mod edit":
tags: ["modules"]
"mod fix":
tags: ["modules"]
"mod get":
tags: ["modules"]
"mod init":
tags: ["modules"]
"mod publish":
tags: ["modules"]
"mod resolve":
tags: ["modules"]
"mod tidy":
tags: ["modules"]
modules:
tags: ["modules"]
registryconfig:
tags: ["modules"]
trim: _
version: _
vet: _
}
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-cmd/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help cmd"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-cmd/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-commands/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help commands"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-commands/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-completion/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help completion"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-completion/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-def/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help def"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-def/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-embed/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help embed"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-embed/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-environment/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help environment"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-environment/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-eval/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help eval"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-eval/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-export/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help export"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-export/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-filetypes/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help filetypes"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-filetypes/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-fix/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help fix"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-fix/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-flags/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help flags"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-flags/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-fmt/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help fmt"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-fmt/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-get-go/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help get go"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-get-go/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-get/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help get"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-get/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-import/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help import"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-import/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-injection/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help injection"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-injection/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-inputs/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help inputs"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-inputs/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-login/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help login"
tags: ["cue command"]
aliases: ["/docs/reference/cli/cue-login/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-edit/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod edit"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-edit/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-fix/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod fix"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-fix/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-get/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod get"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-get/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-init/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod init"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-init/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-publish/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod publish"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-publish/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-resolve/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod resolve"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-resolve/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
3 changes: 1 addition & 2 deletions content/docs/reference/command/cue-help-mod-tidy/en.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
WARNING: "Code generated site_tool.cue; DO NOT EDIT."
title: "cue help mod tidy"
tags: ["modules","cue command"]
aliases: ["/docs/reference/cli/cue-mod-tidy/"]
weight: 1000
tags:
- cue command
---

{{{with script "en" "cue cli help text"}}}
Expand Down
Loading

0 comments on commit 9fd0bf9

Please sign in to comment.