-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate documentation for language specific libraries in nixpkgs manual #126375
Comments
We are pretty close to removing Docbook from the Nixpkgs manual.
The point about not being able to include sections will probably be moot when we make these changes. In mmdoc, there isn't any section nesting, you just change the order of links in the table of contents to control the order sections appear in the manual. So for example, we can have all the generated docs in one place, but have them show up as under their respective manual sections. Last I remember, the Haskell Docs were on a completely separate website anyway. (Hopefully they can be reintegrated later.) |
Currently working on porting them back which is when this came up :) |
Right, I remember. Since |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2022-10-22-documentation-team-meeting-notes-12-nixcon-edition/22689/1 |
the lua doc is out of date and it would be easier if I could update the doc right next to the code as is done for |
@teto thanks, no pressure perceived. 😉 I suppose that would be a good topic for an office hour. I recently dabbled with nixdoc, I should be able to show you around. |
Some ecosystems in nixpkgs have their own specific library with a set of helper functions. Ones that I know of are
coqPackages
andhaskellPackages
. It would be nice if we could have their documentation generated and added to the nixpkgs manual as well.As far as I can see it the following items would be required to make this possible:
nixdoc
to allow specifying the prefix in an alternative way: Instead oflib.${category}
, we'd need to be able to specifyhaskell.lib
orcoqPackages.lib
doc/doc-support/lib-function-docs.nix
doc/doc-support/lib-function-locations.nix
understand the alternative locationslib.*
is documented currently.cc @tazjin (nixdoc) @ryantm (mmdoc) @NixOS/haskell @CohenCyril (Coq extra-lib)
The text was updated successfully, but these errors were encountered: