Nix Documentation | 382 Members | |
| This is the official channel for documentation in the Nix ecosystem. The documentation team meets here. More information: https://nixos.org/community/teams/documentation Video conference: https://jitsi.lassul.us/nix-documentation Meeting notes scratch pad: https://pad.lassul.us/p-Y8MjU2SdSD5qO1fnpCPA Past meeting notes: https://discourse.nixos.org/search?q=documentation%20team%20meeting%20order%3Alatest | 70 Servers |
| Sender | Message | Time |
|---|---|---|
| 12 Jan 2024 | ||
| But beyond that, it's a fairly mundane program | 21:17:17 | |
In reply to @raitobezarius:matrix.orgare you offering help? 🙃 | 21:17:51 | |
| No, but I can be there if there's any rescue-level tasks regarding nrd or this sort of stuff | 21:18:17 | |
| I think it's better if someone else grow experience with nrd :) | 21:18:27 | |
| 13 Jan 2024 | ||
| How feasible are such "docs auto-generation" projects, given the lack of typing systems or other automated verification/compiler-based checks in Nix-the-language? | 00:32:30 | |
At least nixdoc is used already for lib documentation. | 00:33:43 | |
| Tbh I gotta sleep though, good night! | 00:34:48 | |
| Okay, and this is an important background RFC: https://github.com/NixOS/rfcs/blob/master/rfcs/0145-doc-strings.md | 00:44:48 | |
In reply to @infinisil:matrix.org is there a plan to use nixdoc to document
| 00:55:48 | |
| there's lots of good comments in the nixpkgs source that aren't visible except by grepping and it would be great to get those rendered into reference docs | 00:56:10 | |
| danielsidhion and bzm3r ... thank you for the PR review suggestions... I think all of them are incorporated except this one https://github.com/NixOS/nixpkgs/pull/277534/files#r1450744275 ... (heading name)... i rationalize why i think it's the right thing in a reply there | 03:19:57 | |
| Redacted or Malformed Event | 09:02:01 | |
In reply to @mcdonc:matrix.org* As I said in my review comments, this is looking really good, and if I had merge powers, I'd hit merge. But I also am not in touch with the details in a way that that infinisil or fricklerhandwerk might be, so it's a good thing I don't have merge powers. Anyway I just want to say, as one new contributor to another, please don't feel frustrated by the fact that this is a process that will take time because both fricklerhandwerk and infinisil:
I would suggest putting it up as a point for discussion in the meeting agenda for next week. It tends to get sorted out super fast in these meetings, because of the communication setup. In the meantime I found it helpful to move onto other projects/PRs. I think of PRs as seeds that I plant... | 09:02:35 | |
| * As I said in my review comments, this is looking really good, and if I had merge powers, I'd hit merge. But I also am not in touch with the details in a way that that infinisil or fricklerhandwerk might be, so it's a good thing I don't have merge powers. Anyway I just want to say, as one new contributor to another, in case you do find it frustrating (not sure): please don't feel (too) frustrated by the fact that this is a process that will take time because both fricklerhandwerk and infinisil:
I would suggest putting it up as a point for discussion in the meeting agenda for next week. It tends to get sorted out super fast in these meetings, because of the communication setup. In the meantime I found it helpful to move onto other projects/PRs. I think of PRs as seeds that I plant... | 09:03:07 | |
In reply to @bzzm3r:matrix.org As the author of rfc145 and the creator of https://noogle.dev i can say: It is very much feasible to autogenerate documentation from doc-comments. At least the API descriptions of all functions in nixpkgs. Roughly 95% of what is in Noogle currently could also be autogenerated by any other tool. I think one of the next important steps is to migrate to "doc-comments" ( asymmetric I've briefly looked into nrd (nixos-render-docs), and opened this issue: https://github.com/NixOS/nixpkgs/issues/280514 | 09:07:31 | |
In reply to @johannes.kirschbauer:scs.ems.host But who does the work to ensure that the doc comments match up with the actual code? Also, it seems the doc comments RFC left defining function arguments as "future work"... | 09:09:48 | |
In reply to @johannes.kirschbauer:scs.ems.host* But who does the work to ensure that the doc comments match up with the actual code? Also, it seems the doc comments RFC left defining how function arguments ought to be recorded in doc strings as "future work"... | 09:10:32 | |
| * But who does the work to ensure that the doc comments match up with the actual code? Also, it seems the doc comments RFC left defining how function arguments ought to be recorded in doc strings as "future work"...wouldn't that also be necessary for stuff like noogle, or auto-gen docs? | 09:10:51 | |
| bzm3r: > Also, it seems the doc comments RFC left defining how function arguments ought to be recorded in doc strings as "future work"... I think this is might be common missunderstanding: We specified it for "lambda-formals".
| 09:12:43 | |
| * bzm3r: > Also, it seems the doc comments RFC left defining how function arguments ought to be recorded in doc strings as "future work"... I think this might be common missunderstanding: We specified it for "lambda-formals".
| 09:12:52 | |
| bzm3r: The rfc is not yet fully implemented. What currently works is all the stuff that you can right now see in noogle. | 09:14:36 | |
In reply to @johannes.kirschbauer:scs.ems.hostAh, I think I see. Okay, so this is presumably also where we put type information? (does "lambda formal" have a more specific meaning outside of nix/nixos?) | 09:14:40 | |
In reply to @johannes.kirschbauer:scs.ems.host* Ah, I think I see. Okay, so this is presumably also where we put type information too then? (does "lambda formal" have a more specific meaning outside of nix/nixos?) | 09:15:00 | |
| bzm3r: You could also verify if your comments show up in noogle. If you point noogle's "nixpkgs-master" flake input to your fork of nixpkgs and then execute | 09:21:21 | |
| * bzm3r: You could also verify if your comments show up in noogle. If you point noogle's "nixpkgs-master" flake input to your fork of nixpkgs and then execute
| 09:22:32 | |
In reply to @infinisil:matrix.orgI figured out the first: the highlighting library also provides aliases for languages, and shellsession is an alias for shell: https://github.com/highlightjs/highlight.js/blob/main/src/languages/shell.js#L13-L16This isn't documented in the docs for that library. I have no idea why the highlighting wasn't working before, but now it is, so everything's good | 20:12:07 | |
| 14 Jan 2024 | ||
I believe I came across some research yesterday---I have a vague memory that it might have been work done as part of the nixos-render-docs project---collating a list of function documentation styles currently used by the manuals. | 05:54:11 | |
| Might someone know what I am referring to, or something similar to this? I am having trouble finding it at the moment. | 05:54:31 | |
* I believe I came across some research yesterday collating a list of function documentation styles currently used by the manuals. I have a vague memory that it might have been work done as part of the nixos-render-docs project. | 06:04:21 | |
In reply to @johannes.kirschbauer:scs.ems.hosthttps://github.com/NixOS/rfcs/pull/168 | 06:33:32 | |