Skip to content

Commit

Permalink
docs: use github issue link shortcode
Browse files Browse the repository at this point in the history
This replaces 3 manual/markdown links to specific cue-lang/cue issues
with links generated by the "issue" Hugo shortcode.

Preview-Path: /docs/howto/constrain-the-length-of-a-string/
Preview-Path: /docs/howto/list-no-duplicates/
Preview-Path: /docs/reference/cli/
Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: Id6bc04e1ac1ba5ec970577938f460af11e0d05dc
Dispatch-Trailer: {"type":"trybot","CL":1176165,"patchset":9,"ref":"refs/changes/65/1176165/9","targetBranch":"alpha"}
  • Loading branch information
jpluscplusm authored and cueckoo committed Feb 13, 2024
1 parent ef27a2d commit c9276dc
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion content/docs/howto/constrain-the-length-of-a-string/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ their fields to be of type `string` whilst *also* allowing their byte lengths
to be constrained.

This pattern will be obsoleted by the `must()` directive, which is tracked
in this CUE Issue: <https://github.com/cue-lang/cue/issues/575>.
in {{< issue 575 />}}.
{{< /info >}}
3 changes: 1 addition & 2 deletions content/docs/howto/list-no-duplicates/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ items: list.UniqueItems

{{< warning >}}
Note that this approach does not work correctly on non-integer values.
See [issue 2192](https://github.com/cue-lang/cue/issues/2192)
for details.
See {{< issue 2192 />}} for details.
{{< /warning >}}

## Structs
Expand Down
4 changes: 2 additions & 2 deletions content/docs/reference/cli/_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toc_hide: false

The `cue` CLI's various subcommands display a variety of help texts.

These texts are presented here as plain text, pending changes proposed in issue
[`cue-lang/cue#9`](https://github.com/cue-lang/cue/issues/9).
These texts are presented here as plain text, pending changes proposed in
{{< issue 9 />}}.

## Available help texts
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ their fields to be of type `string` whilst *also* allowing their byte lengths
to be constrained.

This pattern will be obsoleted by the `must()` directive, which is tracked
in this CUE Issue: <https://github.com/cue-lang/cue/issues/575>.
in {{< issue 575 />}}.
{{< /info >}}
3 changes: 1 addition & 2 deletions hugo/content/en/docs/howto/list-no-duplicates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ items: list.UniqueItems

{{< warning >}}
Note that this approach does not work correctly on non-integer values.
See [issue 2192](https://github.com/cue-lang/cue/issues/2192)
for details.
See {{< issue 2192 />}} for details.
{{< /warning >}}

## Structs
Expand Down
4 changes: 2 additions & 2 deletions hugo/content/en/docs/reference/cli/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toc_hide: false

The `cue` CLI's various subcommands display a variety of help texts.

These texts are presented here as plain text, pending changes proposed in issue
[`cue-lang/cue#9`](https://github.com/cue-lang/cue/issues/9).
These texts are presented here as plain text, pending changes proposed in
{{< issue 9 />}}.

## Available help texts

0 comments on commit c9276dc

Please sign in to comment.