Closed xynydev closed 5 months ago
I'm in for this change, I like it
!WARNING cards are not shown though for some reason.
In akmods module, I would put everything under 1 !WARNING, with Shift + Enter, instead of using 3 of them like I did before.
If !WARNING does not work, It's alright to use !CAUTION instead.
Everything else looks pretty good
Do you think module.yml
+README
is better than just module.yml
?
!WARNING cards are not shown though for some reason.
Starlight (which we use for the docs) has different syntax and I'll be fixing that in this PR later.
Do you think
module.yml
+README
is better than justmodule.yml
?
I think that module.yml only approach is better, even if README could be more convenient for editing docs. It makes everything in 1 place.
I would maybe put module.yml to be separate, in website repo maybe, so we could separate module content only & module website documentation.
I think that module.yml only approach is better, even if README could be more convenient for editing docs. It makes everything in 1 place.
Alright. I'm not sure if I agree but I'll wait to hear what others think.
I would maybe put module.yml to be separate, in website repo maybe, so we could separate module content only & module website documentation.
That is the exact opposite of what I'm trying to achieve with this. Documentation should be in the same place as source code, so that it can be updated at the same time as source code. Besides, the website probably might not be the only repo to use these files down the line.
Hmm, I see.
module.yml + README does sound better when you mentioned your goal below. I suggested module.yml only at 1st for aesthetic purposes only, which I know you care about.
It's better to avoid editing files in more separate places, like we did before in Ublue (module logic in bling repo, module docs in website repo).
So I vote for module.yml + README
We now have these cool module reference pages generated from this repo. Check it out: https://blue-build.org/reference/modules/akmods/ (per https://github.com/blue-build/website/issues/3 and https://github.com/blue-build/website/pull/26)
Currently the only inputs are the
module.yml
s in this branch and theREADME
's aren't used at all. I just transformed the content to themodule.yml
while doing some small improvements.I'm now thinking that maybe a hybrid approach could work better, with the
description:
frommodule.yml
being refactored away, instead using the README for the description. This would allow both for programmatic reading of the module metadata, and a slightly more comfortable experience for the module documentation writer. What do y'all think?