Open sam2x opened 2 weeks ago
Hey @sam2x, thanks for the detailed suggestion, that's really helpful to see how you would classify the examples 🙏 I broadly agree with the categories and layout - I think just minus the "example linked to different categories" as examples should have a clear aim to demonstrate a single feature, maybe two.
We haven't put much effort into organising the upstream examples as they don't make the best use of Hera, so I'll also relay this suggestion to the upstream Argo Workflows repo, which would make it easier for us to copy down. We copy the https://github.com/argoproj/argo-workflows/tree/main/examples folder when generating the upstream examples, so for the Hera docs site, we'd need to add a mapping of the examples.
Is your feature request related to a problem? Please describe.
Breakdown and classify current upstream examples. It is hard to navigate to hera documentation and mostly the examples section.
Describe the solution you'd like
A directory tree per category. Here is a draft proposal:
A quick first pass gives me something like this:
K8s/Ressource related
Workflow template-related
Workflow Lifecycle
Workflow management
Branching & Logical flow
Parallelism / Loops
Arguments Artifacts
Arguments Parameters
Config
Some are missing, others needs to be reviewed and classified correctly but here few thought on this:
Best regards, Sam