-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: remove outdated use of CUE tip version
This removes three pages' explicit use of cmd/cue "tip" and demotes them to latest, which is the version they actually use due to the site's version aliasing in site.cue. These were in place to allow the pages to access v0.11 features before its release, but were missed during the upgrade of the site's latest version to v0.11.0 in https://cuelang.org/cl/1204275 due to that CL's documented "grep" being focussed on pre-releases, and not noticing uses of tip. Also: given that two of these pages' mention of cue-lang/cue#3265 is no longer relevant (matchIf/matchN), their upload&script blocks are translated into code blocks -- which have a slightly more suitable rendered output form (and are a little faster to compute, given their lack of persistent context). matchIf/matchNs' preamble is reworded slightly and aligned, as both pages can have their explicit "cue version" demonstration removed. Their respective demonstrations that their functions don't consider helper fields has its field names renamed from "foo"/"bar" to "aString"/"anInt" to help bring home the point that's being made. Preview-Path: /docs/howto/use-the-built-in-function-matchif/ Preview-Path: /docs/howto/use-the-built-in-function-matchn/ Preview-Path: /docs/concept/faq/removing-list-arithmetic-operators-v0.11/ Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: Ia977bb3976d8a98b0f7d44966f1a555ade43e339 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1206461 Reviewed-by: Paul Jolly <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
1 parent
0fccd13
commit 4e0ed0e
Showing
9 changed files
with
236 additions
and
389 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.