Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jpluscplusm opened this issue Oct 31, 2024 · 0 comments
Labels
cuelang.org FeatureRequest New feature or request Triage Requires triage/attention

Comments

@jpluscplusm
Copy link
Collaborator

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

  • currently: manual content sync
  • soon: a basic shell script that applies sed to get me 80% of the way there

Additional context

n/a

@jpluscplusm jpluscplusm added FeatureRequest New feature or request Triage Requires triage/attention cuelang.org labels Oct 31, 2024
cueckoo pushed a commit to cue-lang/cuelang.org-trybot that referenced this issue Oct 31, 2024
This adds a script to help reduce the toil of syncing content from this
repo to cue-labs/cue-by-example. Its results are visible in
cue-labs/cue-by-example#41.

The script is included here (and not in cue-labs/cue-by-example) because
its replacement is likely to be some preprocessor output mode, as
tracked in cue-lang/cue#3543.

Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I58fc2af0d48f011745f936713ce48c417fffae38
Dispatch-Trailer: {"type":"trybot","CL":1203397,"patchset":3,"ref":"refs/changes/97/1203397/3","targetBranch":"master"}
cueckoo pushed a commit to cue-lang/cuelang.org-trybot that referenced this issue Oct 31, 2024
This adds a script to help reduce the toil of syncing content from this
repo to cue-labs/cue-by-example. Its results are visible in
cue-labs/cue-by-example#41.

The script is included here (and not in cue-labs/cue-by-example) because
its replacement is likely to be some preprocessor output mode, as
tracked in cue-lang/cue#3543.

Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I58fc2af0d48f011745f936713ce48c417fffae38
Dispatch-Trailer: {"type":"trybot","CL":1203397,"patchset":4,"ref":"refs/changes/97/1203397/4","targetBranch":"master"}
cueckoo pushed a commit to cue-lang/cuelang.org that referenced this issue Nov 1, 2024
This adds a script to help reduce the toil of syncing content from this
repo to cue-labs/cue-by-example. Its results are visible in
cue-labs/cue-by-example#41.

The script is included here (and not in cue-labs/cue-by-example) because
its replacement is likely to be some preprocessor output mode, as
tracked in cue-lang/cue#3543.

Signed-off-by: Jonathan Matthews <[email protected]>
Change-Id: I58fc2af0d48f011745f936713ce48c417fffae38
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1203397
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Paul Jolly <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuelang.org FeatureRequest New feature or request Triage Requires triage/attention
Projects
Status: Backlog
Development

No branches or pull requests

1 participant