cue-lang / cue

The home of the CUE language! Validate and define text-based and dynamic configuration
https://cuelang.org
Apache License 2.0
5.15k stars 296 forks source link

cuelang.org: preprocessor should be able to emit guides formatted for cue-by-example #3543

Open jpluscplusm opened 3 weeks ago

jpluscplusm commented 3 weeks ago

Is your feature request related to a problem? Please describe.

We test some of the contents of cue-labs/cue-by-example in cue-lang/cuelang.org's CI, and sync'ing the content between these two repos is tedious at best.

Describe the solution you'd like

I'd like the preprocessor to learn how to emit the content from a specific page formatted for cue-by-example, so it can be manually placed in the cue-by-example repo. Updating the repo/site automatically feels like an automation that can be built later, if it ends up happening often enough that that would save time.

Describe alternatives you've considered

Additional context

n/a