#Daggerverse Examples
1 messages ยท Page 1 of 1 (latest)
I think this is still experimental and is generated manually somehow. @broken bone do you know for sure?
should be generated automatically.. checking why it's not showing in Daggerverse
ok, I forgot to add the $module prefix to the example functions. Just fixed it and re-crawled the module: https://daggerverse.dev/mod/github.com/marcosnils/daggerverse/k3s@3f6a5bda9b2268a74f85b77597c840053442e792#K3S.server
How do I add a top level example?
the example function name needs to have the name of the module: https://github.com/marcosnils/daggerverse/blob/main/gptools/examples/go/main.go#L11
you can also add an _$Whatever if you want to add more context that toplevel function
This deserves an announcement / blog post
happy to help here. cc @rapid prawn
I created an issue, so it is now tracked on our content backlog https://linear.app/dagger/issue/GTM-2056/blog-post-daggerverse-examples
If you dump some ideas in there for content, I can pass to Neela to take over.
Could this be the third iteration of my module testing pattern? Runnable examples?
https://github.com/sagikazarmark/daggerverse/pull/146
It could.
Hm
@broken bone what am I doing wrong?
It's a bug in the examples generation. The relative path to ../registry-config is breaking the examples parsging. Will fix in a bit
fixed @neon verge https://daggerverse.dev/mod/github.com/sagikazarmark/daggerverse/helm@04381efdb27e3c3873e6528d63edf6ec24178d02
@broken bone still not working for me ๐ญ https://daggerverse.dev/mod/github.com/shykes/dagger2gha@v0.2.3
fixed Solomon. The link above now works. I accidentally introduced a ๐ while fixing Mark's issue above ๐
