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 |
|---|---|---|
| 16 Jan 2024 | ||
| (Will do it piecemeal too) | 07:17:33 | |
| * (Will do it piecemeal too, tiny PRs) | 07:17:40 | |
In reply to @bzzm3r:matrix.orgJust give it a go. If I’m at the keyboard I can always fix it up. | 07:17:42 | |
| fricklerhandwerk: https://github.com/NixOS/nix/pull/9783 I forced myself to stay small. Tried to put most of that aside to prioritize "keep it small" and "get feedback fast and early"; punted plenty to todo lists, and the "Draft" status of the PR. | 09:05:14 | |
| * fricklerhandwerk: https://github.com/NixOS/nix/pull/9783 I forced myself to stay small. Tried to put most of what I felt would be necessary in a final product aside to prioritize "keep it small" and "get feedback fast and early"; punted plenty to todo lists, and the "Draft" status of the PR. | 09:06:07 | |
| Am I right in thinking the next part of this PR should be a push which has a guide to the EBNF we plan on using? As much as possible, I want to eliminate (Ideally, we would have "raw" EBNF live in a bunch of separate files, which are processed and formatted as markdown, then inserted into the guide for presentation. These files can then also be used to drive parsers. During the processing stage, inter-linking would be performed as well, between the EBNF, and those regions of the documentation that mention something from the EBNF.) | 09:13:47 | |
| * Am I right in thinking the next part of this PR should be a push which has a guide to the EBNF we plan on using? Especially because: as much as possible, I want to eliminate (Ideally, we would have "raw" EBNF live in a bunch of separate files, which are processed and formatted as markdown, then inserted into the guide for presentation. These files can then also be used to drive parsers. During the processing stage, inter-linking would be performed as well, between the EBNF, and those regions of the documentation that mention something from the EBNF.) | 09:15:21 | |
| are there any downsides to using
(is the same as)
This could also be presented as:
| 23:33:29 | |
I guess the stuff around nix-repl> looks noisy, perhaps. Are there any other downsides? | 23:35:07 | |
| 17 Jan 2024 | ||
| * are there any downsides to using
(whole bunch of language explaining "this is the same as"....)
This could also be presented as:
| 05:04:55 | |
| While there’s no one currently working on it to my knowledge (although Shahar "Dawn" Or (mightyiam) has started work in that direction last year), REPL examples would probably be more hassle for automatic testing, and we really need automatic testing eventually. | 07:56:43 | |
| My opinion on this somewhat technically unqualified because I haven’t done concrete work on it, but I see a few theoretical advantages to have pairs of code blocks for input/output:
Generally documentation (and everything, really) should be low-tech so it’s easy to contribute to and understand how it works. That is, it shouldn’t do anything clever, because it will be hard to change for most people if it does, if only because it requires time to figure out. And time is a very scarce resource. | 08:02:49 | |
| The nix manuals are build with mdbook, which has stuff like https://github.com/FauconFan/mdbook-cmdrun which might be a possible solution for repl testing | 08:12:47 | |
| * The nix manuals are built with mdbook, which has stuff like https://github.com/FauconFan/mdbook-cmdrun which might be a possible solution for repl testing | 08:12:54 | |
| Ideally the manuals should be able to reuse the same solution, but I find that hard unless the manuals move to mdbook as well (something that I have in a note to maybe explore some day) | 08:13:44 | |
In reply to @fricklerhandwerk:matrix.org Based on your input: https://github.com/NixOS/nix.dev/issues/864 I am not sure if this qualifies as low-tech. Maybe it does because all it uses is a CLI tool. With modern tools, it is easy to make a heavily automatically documented CLI tool (e.g. if using Rust: can use However, low-tech ought to be measured against cost-of-manual-work? In this particular case: cost of copying+pasting, verifying output expression against expectation, validating that examples remain valid across Nix updates. | 11:05:57 | |
In reply to @fricklerhandwerk:matrix.org* Based on your input: https://github.com/NixOS/nix.dev/issues/864 I am not sure if this qualifies as low-tech. Maybe it does because all it uses is a CLI tool. With modern tools, it is easy to make a heavily automatically documented CLI tool (e.g. if using Rust: can use However, low-tech ought to be measured against cost-of-manual-work? In this particular case: cost of copying+pasting, verifying output expression against expectation, validating that examples remain valid across Nix updates. (Regardless: not a "must-do". Only a "could-do". Happy to execute on a draft version, if time can be made for its review, with full understanding that it will likely not be accepted.) | 11:33:17 | |
| * Based on your input: https://github.com/NixOS/nix.dev/issues/864 I am not sure if this qualifies as low-tech. Maybe it does because all it uses is a CLI tool. With modern tools, it is easy to make a heavily automatically documented CLI tool (e.g. if using Rust: can use However, low-tech ought to be measured against cost-of-manual-work? In this particular case: cost of copying+pasting, verifying output expression against expectation, validating that examples remain valid across Nix updates. (Regardless: not a "must-do". Only a "could-do". Happy to execute on a draft version, if time can be made for its review, with full understanding that it will likely not be accepted. Will not create a draft version if it only adds to review burden.) | 11:34:03 | |
| Per your request, even simpler: https://github.com/NixOS/nix/pull/9793 | 11:35:04 | |
| * Based on your input: https://github.com/NixOS/nix.dev/issues/864 I am not sure if this qualifies as low-tech. Maybe it does because all it uses is a CLI tool. With modern tools, it is easy to make a heavily automatically documented CLI tool (e.g. if using Rust: can use However, low-tech ought to be measured against cost-of-manual-work? In this particular case: cost of copying+pasting, verifying output expression against expectation, validating that examples remain valid across Nix updates. (Regardless: not a "must-do". Only a "could-do". Happy to execute on a draft version, if time can be made for its review, with full understanding that it will likely not be accepted. Will not create a draft version if it only adds to review burden.) | 12:02:40 | |
| bzm3r: the doctester is coming along | 12:05:26 | |
In reply to @mightyiam:matrix.orgIs there an intro document to read which lays out the project's scope/goals? Do the simplest "parts" (as thought about in https://github.com/NixOS/nix.dev/issues/864) exist already for usage as CLI tools? | 12:08:00 | |