Nix Documentation | 403 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 82 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Mar 2024 | ||
| * infinisil: Roughly tracking the following relations:
For each of those we should have some kind of solution. fricklerhandwerk Brought TagRef to me, which i really like because of its simplicity. (Can solve 2. / maybe 3.) For 1. we have the RFC145 but may need additional extensions for something like: https://github.com/NixOS/nixpkgs/blob/b286b8df1c0ecff4baa44a7224282aeccc6695c2/pkgs/build-support/trivial-builders/default.nix#L29 Then for 3. I imagine that every of our manuals could export sitemaps (https://www.sitemaps.org/de/protocol.html) Which could be used in conjunction with TagRef. (Imagine every manual exports its available URL as well as the internal "tags", that could also be referenced from elsewhere in the nix ecosystem) But regarding this topic i was mainly refering to references of 1. because moving doc-comments out of the source without replacement leaves the code-side of those references untracked. (We don't relly properly track them yet) But its a nice property we kind of "destroyed" here. (At least for automated tooling we cannot create backlinks here anymore) | 20:17:15 | |
| * infinisil: Roughly tracking the following relations:
For each of those we should have some kind of solution. fricklerhandwerk Brought TagRef to me, which i really like because of its simplicity. (Can solve 2. / maybe 3.) For 1. we have the RFC145 but may need additional extensions for something like: https://github.com/NixOS/nixpkgs/blob/b286b8df1c0ecff4baa44a7224282aeccc6695c2/pkgs/build-support/trivial-builders/default.nix#L29 Then for 3. I imagine that every of our manuals could export sitemaps (https://www.sitemaps.org/de/protocol.html) Which could be used in conjunction with TagRef. (Imagine every manual exports its available URLs as well as the internal "tags", that could also be referenced from elsewhere in the nix ecosystem) But regarding this topic i was mainly refering to references of 1. because moving doc-comments out of the source without replacement leaves the code-side of those references untracked. (We don't relly properly track them yet) But its a nice property we kind of "destroyed" here. (At least for automated tooling we cannot create backlinks here anymore) | 20:17:29 | |
| * infinisil: Roughly tracking the following relations:
For each of those we should have some kind of solution. fricklerhandwerk Brought TagRef to me, which i really like because of its simplicity. (Can solve 2. / maybe 3.) For 1. we have the RFC145 but may need additional extensions for something like: https://github.com/NixOS/nixpkgs/blob/b286b8df1c0ecff4baa44a7224282aeccc6695c2/pkgs/build-support/trivial-builders/default.nix#L29 Then for 3. I imagine that every of our manuals could export sitemaps (https://www.sitemaps.org/de/protocol.html) Which could be used in conjunction with TagRef. (Imagine every manual exports its available URLs as well as the available "tags", that could be referenced from elsewhere in the nix ecosystem) But regarding this topic i was mainly refering to references of 1. because moving doc-comments out of the source without replacement leaves the code-side of those references untracked. (We don't relly properly track them yet) But its a nice property we kind of "destroyed" here. (At least for automated tooling we cannot create backlinks here anymore) | 20:17:52 | |
| * infinisil: Roughly tracking the following relations:
For each of those we should have some kind of solution. fricklerhandwerk Brought TagRef (concept) to me, which i really like because of its simplicity. (Can solve 2. / maybe 3.) For 1. we have the RFC145 but may need additional extensions for something like: https://github.com/NixOS/nixpkgs/blob/b286b8df1c0ecff4baa44a7224282aeccc6695c2/pkgs/build-support/trivial-builders/default.nix#L29 Then for 3. I imagine that every of our manuals could export sitemaps (https://www.sitemaps.org/de/protocol.html) Which could be used in conjunction with TagRef. (Imagine every manual exports its available URLs as well as the available "tags", that could be referenced from elsewhere in the nix ecosystem) But regarding this topic i was mainly refering to references of 1. because moving doc-comments out of the source without replacement leaves the code-side of those references untracked. (We don't relly properly track them yet) But its a nice property we kind of "destroyed" here. (At least for automated tooling we cannot create backlinks here anymore) | 20:20:16 | |
| 20:43:02 | ||
| Perhaps there is a simpler explanation of the matter. But so far I haven't managed to formulate it so that it's easier to understand. Feel free to help me 😃 | 21:03:58 | |
| Johannes Kirschbauer @hsjobeki: the problem this tries to solve doesn't seem to have an English term. German: Medienbruch, French: Rupture de média - loosely translated "media discontinuity". Which is that you have information in different substrates that belongs together but there is some annoying technical barrier in between. | 21:40:14 | |
| Source comments are just character sequences, but you're trying to point to a web document, which in turn is compiled from characters somewhere else, etc. | 21:41:14 | |
| @Johannes Kirschbauer @hsjobeki like how haskell's docs do it? all the types and whatnot in the source view in https://hackage.haskell.org/package/base-4.19.1.0/docs/src/Control.Arrow.html#Arrow are clickable and whatnot | 21:43:18 | |
| 18 Mar 2024 | ||
| 00:39:43 | ||
In reply to @qyriad:katesiria.orgit's done by evil shit but we could instrument a Nix evaluator. also fyi as someone who worked on that it works even better locally on nixpkgs haskell because cross library references work in the source view :)) | 03:57:15 | |
| (actually i wonder if nixd already contains the necessary technology) | 04:01:47 | |
In reply to @johannes.kirschbauer:scs.ems.hostI am thinking of the functions in this file: https://github.com/NixOS/nixpkgs/blob/8f0d434c23d2ae84d0bf32622358361ade96d077/pkgs/build-support/writers/scripts.nix#L402 | 07:15:42 | |
| I think they do. I also started a minimal project that does only the reference tracking https://github.com/hsjobeki/flutsch by value introspection | 07:30:53 | |
| * I think nixd does. I also started a minimal project that does only the reference tracking https://github.com/hsjobeki/flutsch by value introspection | 07:31:59 | |
| jade_: | 07:32:09 | |
| Its very POC and need more love and time until its usable | 07:32:56 | |
| oh nice | 07:33:03 | |
| still thinking it might be a bit challenging to e.g. take a huge trace of nix evaluation that annotates value type info and sources at every position. but it would be so good  | 07:35:14 | |
| Its basically how noogle works. (Not via traces, but value introspection) | 07:38:19 | |
| but having info inside of functions would sure be useful | 07:42:24 | |
In reply to @rina/:matrix.org If you'd document them in the same ways as: https://github.com/nixos/nixpkgs/blob/master/lib/lists.nix#L42 We can add them to the index. | 08:43:04 | |
In reply to @rina/:matrix.org* If you'd document them in the same ways as: https://github.com/nixos/nixpkgs/blob/master/lib/lists.nix#L42 We can add them to the index. (Wiring should be trivial, i can help with that) | 08:43:57 | |
| Hey docs people and Dominic Mills, how is the application to Google Season of Docs going? It we don’t get anything exciting, we can just apply for writing 2-3 key tutorials. It’s boring but we have precedence that it can work, and we can cheaply measure success by looking at the Google Search dashboard and view statistics | 20:43:06 | |
| * Hey docs people and Dominic Mills, how is the application to Google Season of Docs going? If we don’t get anything exciting, we can just apply for writing 2-3 key tutorials. It’s boring but we have precedence that it can work, and we can cheaply measure success by looking at the Google Search dashboard and view statistics | 20:43:21 | |
| I've been working it. I got some interesting ideas from danielsidhion and Shahar "Dawn" Or (mightyiam). I'll publish it publicly tomorrow or Wednesday on my Github. | 20:45:24 | |
| 19 Mar 2024 | ||
| 00:30:57 | ||
| Given there hasn't been a meeting on a Monday for essentially 2 months now, are you folks ok if I make a PR to say we only meet once a week on the nix.dev readme? Will also need to change the meeting invite on the calendar (I don't have access to it) | 07:18:20 | |
In reply to @danielsidhion:nixos.devI’ll be back the week after next | 08:10:51 | |
In reply to @johannes.kirschbauer:scs.ems.hostthanks! I am fairly busy at the moment but I hope to get to this in the next week or so. (if this should be done sooner, no need to wait for me) | 12:26:00 | |