doc: restructure module rendering#1083
Conversation
|
shouldn't we just have a |
we could, though this wouldn't work for targets without packages like Nixvim for example |
we can have package be null or derivation and homepage be null or string and have homepage default to |
that would work, though i'm not sure how to implement defaults in this context. |
something like |
daba2d8 to
0eeb7d7
Compare
|
i am satisfied with how this should function, but i am not sure how to test how this is going to render. |
|
one side effect of the way that this will render the hyperlink is that all link text is lowercase because most of it comes from the package names. in addition, the most recent commit changes nearly every |
620a8b5 to
c7ed824
Compare
|
using packages to get homepages is posing an issue on Darwin. i believe it is because some packages aren't available for Darwin. i have disabled the |
nix build .#docs && xdg-open ./result/index.html |
5b44642 to
ee84baf
Compare
3e08ad8 to
848fb2c
Compare
- changes rendering order and style of module documentation elements - adds `meta.homepage` - adds `meta.description` - removes existing `README.md` files - documents added `meta` attributes
danth
left a comment
There was a problem hiding this comment.
Looks good to me. Thank you :))
Remove references to `modules/«module»/README.md`, as this was replaced by `modules/«module»/meta.nix`.
changes:
meta.homepagemeta.descriptionREADME.mdfilesmetaattributesrelated: #883
Things done