From c6ec4ca75ed0929a9fca9d739d1c6e26c96fdf74 Mon Sep 17 00:00:00 2001 From: Jonathan Matthews Date: Tue, 27 Aug 2024 11:24:16 +0100 Subject: [PATCH] DEMO: preprocessor doesn't delete cache files WIP: This is a demo for the purposes of opening a tracking issue. DO NOT REVIEW DO NOT SUBMIT Signed-off-by: Jonathan Matthews Change-Id: I63436bdcca111fd6f39d27e12c1ec8c477bf4207 Dispatch-Trailer: {"type":"trybot","CL":1200070,"patchset":1,"ref":"refs/changes/70/1200070/1","targetBranch":"master"} --- content/docs/_en.md | 15 --------------- hugo/content/en/docs/_index.md | 15 --------------- 2 files changed, 30 deletions(-) diff --git a/content/docs/_en.md b/content/docs/_en.md index 636256d4f..6f812d630 100644 --- a/content/docs/_en.md +++ b/content/docs/_en.md @@ -14,21 +14,6 @@ data validation language with its roots in logic programming. It combines succinct yet clear syntax with powerful, flexible constraints that enable data, schema, and policy constraints to coexist seamlessly: -{{{with code "en" "example"}}} -#location left right -! exec cue vet example.cue -cmp stderr out --- example.cue -- -area: length * width -area: <100 // Must be less than 100. -width: 33.3 & >10 // Must be greater than 10. -length: 5 & !=width // Reject square areas. --- out -- -area: invalid value 166.5 (out of bound <100): - ./example.cue:2:9 - ./example.cue:1:9 -{{{end}}} - CUE supports and simplifies a wide variety of applications, such as [data validation]({{< relref "concept/how-cue-enables-data-validation" >}}), [configuration]({{< relref "concept/how-cue-enables-configuration" >}}), diff --git a/hugo/content/en/docs/_index.md b/hugo/content/en/docs/_index.md index c30993945..6f812d630 100644 --- a/hugo/content/en/docs/_index.md +++ b/hugo/content/en/docs/_index.md @@ -14,21 +14,6 @@ data validation language with its roots in logic programming. It combines succinct yet clear syntax with powerful, flexible constraints that enable data, schema, and policy constraints to coexist seamlessly: -{{< code-tabs >}} -{{< code-tab name="example.cue" language="cue" area="left" >}} -area: length * width -area: <100 // Must be less than 100. -width: 33.3 & >10 // Must be greater than 10. -length: 5 & !=width // Reject square areas. -{{< /code-tab >}} -{{< code-tab name="TERMINAL" language="" area="right" type="terminal" codetocopy="Y3VlIHZldCBleGFtcGxlLmN1ZQ==" >}} -$ cue vet example.cue -area: invalid value 166.5 (out of bound <100): - ./example.cue:2:9 - ./example.cue:1:9 -{{< /code-tab >}} -{{< /code-tabs >}} - CUE supports and simplifies a wide variety of applications, such as [data validation]({{< relref "concept/how-cue-enables-data-validation" >}}), [configuration]({{< relref "concept/how-cue-enables-configuration" >}}),