-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/howto: simplify list-injection example
This changes the example used to demonstrate injecting a list value into an evaluation from using cue-cmd to cue-eval. This avoids demonstrating the technique via a command which has racy, unstable output, which would either need to be explained beforehand (despite the technique being unrelated to the race), or glossed over without comment. Changing the demonstration doesn't require either of these two suboptimal solutions to be used. Preview-Path: /docs/howto/inject-value-into-evaluation-using-tag-attribute/ Signed-off-by: Jonathan Matthews <github@hello.jonathanmatthews.com> Change-Id: Idcd5bb0c56567682b8b6a98486fd26e36ebee3eb Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1198564 Reviewed-by: Paul Jolly <paul@myitcv.io> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
1 parent
abe2d44
commit fccf480
Showing
4 changed files
with
31 additions
and
48 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
9 changes: 1 addition & 8 deletions
9
content/docs/howto/inject-value-into-evaluation-using-tag-attribute/page.cue
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
package site | ||
|
||
content: docs: howto: "inject-value-into-evaluation-using-tag-attribute": { | ||
page: { | ||
comparators: [{ | ||
kind: "unstableLineOrderComparator" | ||
commandPrefix: "cue cmd" | ||
}] | ||
} | ||
} | ||
content: docs: howto: "inject-value-into-evaluation-using-tag-attribute": page: _ |
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