UtrechtUniversity / vre-docs

User documentation for Research Cloud tailored at UU researchers
https://utrechtuniversity.github.io/vre-docs/
MIT License
0 stars 1 forks source link

Catalog items #19

Closed dometto closed 4 months ago

dometto commented 5 months ago

I wanted to create a nice table listing our catalog items, but markdown tables are hell. So I ended up creating yaml files with catalog item definitions and using python in Quarto to render these. I'm not sure this is the most maintainable way to go: we could alose use this to render the initial table and edit manually after that? @jelletreep what do you think would be better?

(NB: this is work in progress, some info needs to be checked, and more links need to be added.)

jelletreep commented 5 months ago

Great work @dometto ! I think the combination of yml with python snippet is a good approach to make this easier than typing everything in markdown. I am thinking if we can make it somewhat easier to maintain if we can bundle in some way the documentation per catalog item, since it might be a bit cumbersome to having to create/edit three files per catalog item (developer documentation, user documentation, table information), but so far no idea to make this more efficient.

Also we might want to think how we can make the table easier to understand:

dometto commented 4 months ago

I am thinking if we can make it somewhat easier to maintain if we can bundle in some way the documentation per catalog item, since it might be a bit cumbersome to having to create/edit three files per catalog item (developer documentation, user documentation, table information), but so far no idea to make this more efficient.

That's a great suggestion, maybe we can do this by adding the relevant info to each page's frontmatter, and parsing all pages' frontmatter to generate the table. I'll give that a try!

And thanks for the feedback on the abbrevations/information in the table. 👍