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 <github@hello.jonathanmatthews.com>
Change-Id: Id6bc04e1ac1ba5ec970577938f460af11e0d05dc
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1176165
Reviewed-by: Paul Jolly <paul@myitcv.io>
TryBot-Result: CUEcueckoo <cueckoo@gmail.com>
  • Loading branch information
jpluscplusm committed Feb 13, 2024
1 parent d8e4aab commit eb2ecd6
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
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
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
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
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
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
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 eb2ecd6

Please sign in to comment.