Nix Documentation | 436 Members | |
| Discussion about documentation improvements around the Nix ecosystem | 92 Servers |
| Sender | Message | Time |
|---|---|---|
| 3 Nov 2023 | ||
In reply to @infinisil:matrix.org And now we depend on a certain web-elements beeing present on the same page ^^. idea: Something like Without any further. The rendering framework can transform this into references for achor tags, if it uses them. | 09:17:13 | |
In reply to @infinisil:matrix.org* And now we depend on a certain web-elements beeing present on the same page ^^. idea: Something like Without any further. The rendering framework can transform this into references for achor tags, if it uses them. | 09:17:39 | |
| That opens the box of pandora: context aware references ^^
š | 09:19:43 | |
| * That opens the box of pandora: context aware references ^^
š | 09:20:17 | |
| Some references refer to internal things, while some refer to external attributes. Just playing around with the idea š | 09:21:31 | |
| Can't run nix.dev devmode:
| 09:21:36 | |
| cc fricklerhandwerk alejandrosame | 09:22:33 | |
Whats in your $NIX_PATH, is it empty ? | 09:23:00 | |
In reply to @johannes.kirschbauer:scs.ems.hostnope, it has nixpkgs=/nix/store/... | 09:23:56 | |
| Johannes Kirschbauer @hsjobeki: We can freely change the source code (just needs some automated/manual work) though I guess the anchors should stay the same. I don't really care about the format as long as it works :) | 09:24:24 | |
In reply to @asymmetric:matrix.dapp.org.ukI think my new PR fixes this completely. At least it does handle properly the syntax error you mention in your issue :) | 14:53:20 | |
In reply to @johannes.kirschbauer:scs.ems.host We havenāt discussed this, but someone recently made me aware of https://github.com/stepchowfun/tagref I think itās a nice idea, and seems like it would scale better than the reference system Sphinx uses (which in its MyST incarnation canāt discern between file paths and references⦠it produces a lot of busywork). | 15:11:39 | |
In reply to @alejandrosame:matrix.orgIām not sure why there is a need for NIX_PATH to be set. Why and when did it even break? It worked a couple of days ago. | 15:13:28 | |
In reply to @fricklerhandwerk:matrix.orgWhere is NIX_PATH set? I don't follow. | 15:25:11 | |
| The error complains about NIX_PATH not containing nixpkgs | 15:33:13 | |
| Ah, I was talking about the error in the issue https://github.com/NixOS/nix.dev/issues/787 | 16:06:38 | |
| https://github.com/NixOS/nix.dev/pull/645#issuecomment-1792303015 | 17:40:13 | |
| Any comments on this one? | 17:40:18 | |
In reply to @fricklerhandwerk:matrix.orgIt could be something on my end. Or at least, I have the same problem with the old ./live script | 17:46:22 | |
| 19:50:59 | ||
| 4 Nov 2023 | ||
| 14:32:26 | ||
| just noticed the entire lib.meta attrset of functions isn't documented in the nixpkgs manual yet... they have source code comments, but none of the functions can be found. I'd be happy to try and craft a PR for that, but am wondering if I'm missing some policy / better taxonomy or something? | 14:33:35 | |
| 14:44:14 | ||
In reply to @antifuchs:asf.computerThat would be great. I donāt know any details, but IIRC it just needs some wiring up in the table of contents. And then likely fixing a lot of rendering bugs, but that could be done later as well. | 14:45:49 | |
| nice! ok, I'll see what I can do (: | 14:46:05 | |
| fricklerhandwerk: while I have your attention on the library TOC, do you think it (https://nixos.org/manual/nixpkgs/unstable/#sec-functions-library) should be sorted alphabetically? the order doesn't make much sense to me and that makes it difficult to find things that are missing | 15:03:08 | |
In reply to @antifuchs:asf.computer Sure, I wouldnāt know why not. Side note: Iām not that involved in the Nixpkgs manual because the Nix manual and nix.dev are enough to deal with, so my knowledge and opinions are quite superficial. There are likely other people who will have more substantial things to say: infinisil Robert Hensing (roberth) @pennae alejandrosame come | 15:24:25 | |
| oh, haha! I see (: | 15:24:37 | |
| would love to hear from you all about that - I have a newfound passion for documenting library functions (: | 15:28:45 | |
here's the first PR, to add the lib.meta attrset of functions to the ToC: https://github.com/NixOS/nixpkgs/pull/265478 | 15:49:25 | |