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

A landing page and concept guide for cue-vet #125

Open
2 of 4 tasks
jpluscplusm opened this issue Apr 22, 2024 · 2 comments
Open
2 of 4 tasks

A landing page and concept guide for cue-vet #125

jpluscplusm opened this issue Apr 22, 2024 · 2 comments
Labels
content idea Idea for a new piece of content

Comments

@jpluscplusm
Copy link
Collaborator

jpluscplusm commented Apr 22, 2024

In https://cuelang.org/cl/1193603 I attempted to quickly address https://cuelang.slack.com/archives/CLT4FD7KP/p1711532252834579, which was caused by a user not being aware that cue vet can resolve constraints from packages, not just individual files.

Whilst we work out the best approach for the built-in cue help texts in this space, on cuelang.org
We should publish a primer landing page and a concept guide for cue vet that (between them), amongst other things, pushes readers towards package-based constraint resolution, not file-based.

Given the non-task-specific nature of this pair of pages, I suggest that the reference hierarchy gains the "landing page", suitable for receiving inbound links from anywhere on the site, which summarises the command and points onwards to relevant documentation - including the more expansive "things you can do with cue vet" concept guide.

I propose we:

This scheme leaves us with a good template to replicate for other cue subcommands in the future - and other top-level commands like cuepls, as well, if so desired.

@myitcv
Copy link
Member

myitcv commented Apr 23, 2024

but it

Looks like this sentence was left unfinished.

As I mentioned offline.

If we do it for vet, we need to do it for all commands (otherwise we end up saying "and take a look at vet to see how to do X"). cue help inputs is the canonical reference. I'm minded to think we need better examples on cuelang.org that are richer than the cue help text. Perhaps a single page with examples, using different commands to drive the point home, of the various permutations of inputs. Rather than trying to create a table test of permutations for each command in each help text or a documentation page specific to each command. And then link to this helpful page from cue help inputs and the related content of any page that mentions cue vet, cue export etc.

@jpluscplusm
Copy link
Collaborator Author

but it

Looks like this sentence was left unfinished.

I'm not sure what I was going to say, there. I'm going to update this issue to track being the cue vet reference page that I believe we need, regardless of any changes we make to cue help vet/inputs/etc.

As I mentioned offline.

If we do it for vet, we need to do it for all commands (otherwise we end up saying "and take a look at vet to see how to do X"). cue help inputs is the canonical reference. I'm minded to think we need better examples on cuelang.org that are richer than the cue help text. Perhaps a single page with examples, using different commands to drive the point home, of the various permutations of inputs. Rather than trying to create a table test of permutations for each command in each help text or a documentation page specific to each command. And then link to this helpful page from cue help inputs and the related content of any page that mentions cue vet, cue export etc.

I've tracked this in #144.

@jpluscplusm jpluscplusm changed the title cue vet primer docs/reference/command/cue-vet: a landing page for cue-vet Jul 8, 2024
@jpluscplusm jpluscplusm changed the title docs/reference/command/cue-vet: a landing page for cue-vet A landing page and concept guide for cue-vet Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content idea Idea for a new piece of content
Projects
Status: Backlog
Development

No branches or pull requests

2 participants