!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

418 Members
Discussion about documentation improvements around the Nix ecosystem88 Servers

Load older messages


SenderMessageTime
13 Apr 2024
@infinisil:matrix.orginfinisil terru: Yeah just a trace for now is my preference 13:42:04
@terru:raccoon.college@terru:raccoon.collegefair13:45:27
@terru:raccoon.college@terru:raccoon.collegeyou should've gotten a ping from github with the PR ;)13:45:56
@terru:raccoon.college@terru:raccoon.college * you should've just gotten a ping from github with the PR ;)13:46:00
@terru:raccoon.college@terru:raccoon.college grr forgot the final force-push changing the throw to lib.warn, sorry to everyone who now got pinged twice 🙈 13:48:16
@alex3829:matrix.org@alex3829:matrix.org joined the room.16:04:39
14 Apr 2024
@windchimesofmagic:matrix.org@windchimesofmagic:matrix.org left the room.17:37:29
15 Apr 2024
@soenke:hack-hro.desoenke joined the room.22:08:57
16 Apr 2024
@thoth101010:matrix.orgthoth joined the room.09:02:05
17 Apr 2024
@alex3829:matrix.org@alex3829:matrix.org changed their display name from alex3829 to real_z22.04:36:12
@alex3829:matrix.org@alex3829:matrix.org changed their display name from real_z22 to real_z2.05:33:42
@JoelMcCracken:matrix.orgJoelMcCracken joined the room.16:26:38
18 Apr 2024
@fractivore:cyberia.club@fractivore:cyberia.club left the room.02:27:17
@nscnt:matrix.org@nscnt:matrix.org joined the room.13:21:24
@olafklingt:matrix.org@olafklingt:matrix.orghow is the ":::" annotation called in sphinx? i wonder what the implications of more or less periods is.17:42:57
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @olafklingt:matrix.org
how is the ":::" annotation called in sphinx? i wonder what the implications of more or less periods is.
Admonition
18:10:51
@terru:raccoon.college@terru:raccoon.college oh btw, while we're talking about admonitions: the doc/README.md still contains links to docbook for the types of admonitions which are supported. Is this in any way useful or intentional, or just a migration leftover and therefore a bug? (I found it a little confusing when i noticed it) 19:55:09
19 Apr 2024
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @terru:raccoon.college
oh btw, while we're talking about admonitions: the doc/README.md still contains links to docbook for the types of admonitions which are supported. Is this in any way useful or intentional, or just a migration leftover and therefore a bug? (I found it a little confusing when i noticed it)
Probably a leftover. Feel free to remove the links
08:59:31
@terru:raccoon.college@terru:raccoon.collegesure: https://github.com/NixOS/nixpkgs/pull/30532815:10:08
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @terru:raccoon.college
sure: https://github.com/NixOS/nixpkgs/pull/305328
Thanks!
15:28:02
@terru:raccoon.college@terru:raccoon.college (and while we are on the topic of leftover docbook mentions: anyone got opinions on this issue of mine?) 15:29:11
@djacu:matrix.orgdjacu fricklerhandwerk: infinisil I've created an issue for expanding and improving the module documentation on nix.dev. I would appreciate your and anyone else's feedback.
https://github.com/NixOS/nix.dev/issues/966
16:34:01
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @terru:raccoon.college
(and while we are on the topic of leftover docbook mentions: anyone got opinions on this issue of mine?)
Yeah just ditch those references. Thanks a lot!
17:10:29
@olafklingt:matrix.org@olafklingt:matrix.org I started to think/brainstorm about the NixOS manual again. And i remember that fricklerhandwerk recently said that he thinks "a lot of things in the manual should be on the wiki". What was did you had in mind with of that statement? 19:15:31
@terru:raccoon.college@terru:raccoon.college
In reply to @fricklerhandwerk:matrix.org
Yeah just ditch those references. Thanks a lot!
have opened a PR removing it
19:29:59
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @olafklingt:matrix.org
I started to think/brainstorm about the NixOS manual again. And i remember that fricklerhandwerk recently said that he thinks "a lot of things in the manual should be on the wiki". What was did you had in mind with of that statement?
All the NixOS-specific interfaces should be documented in the manual. Probably also installation instructions. How to use/troubleshoot particular software can be in the Wiki, because that's not actually about NixOS.
22:22:05
20 Apr 2024
@nscnt:matrix.org@nscnt:matrix.org left the room.13:41:08
@olafklingt:matrix.org@olafklingt:matrix.orgthis closed pr https://github.com/NixOS/nix.dev/pull/964 triggered my brainstorming mind to think about the possibility to have testable tutorials. What if every tutorial is an annotated nixos-test? For me the question is not focused on the style of annotation right now. But rather if you have ideas why an attempt to realize this would be futile? maybe to difficult to realize for potential content contributors (deteriorating)? maybe to complex to implement correctly (endless poc...)?14:52:22
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @olafklingt:matrix.org
this closed pr https://github.com/NixOS/nix.dev/pull/964 triggered my brainstorming mind to think about the possibility to have testable tutorials.
What if every tutorial is an annotated nixos-test?
For me the question is not focused on the style of annotation right now.
But rather if you have ideas why an attempt to realize this would be futile?
maybe to difficult to realize for potential content contributors (deteriorating)?
maybe to complex to implement correctly (endless poc...)?

I find this to be a bit of a rabbit hole, because in my opinion (which may as well be very wrong), all of the tooling we have for that is near-useless for our purposes. Which doesn't make it impossible to do anything about the problem of tutorials diverging from the code, but raises the question of how to approach it regardless.

There are three ways I currently see, and find all of them to be a stretch:

  • Add NixOS tests that accompany tutorials. Problem: duplication and a mess of a setup
  • Use https://github.com/OceanSprint/tesh to extract test cases from tutorials. This would cover many use cases, but the tool is not actively developed, and there are lots of open questions. I think it is worth trying out.
  • Do something completely different, as sketched here: https://github.com/fricklerhandwerk/beast. Problem: This very unorthodox and requires building some infrastructure first, so there's high risk of diverting attention from what we may think is more important.
16:30:20
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @olafklingt:matrix.org
this closed pr https://github.com/NixOS/nix.dev/pull/964 triggered my brainstorming mind to think about the possibility to have testable tutorials.
What if every tutorial is an annotated nixos-test?
For me the question is not focused on the style of annotation right now.
But rather if you have ideas why an attempt to realize this would be futile?
maybe to difficult to realize for potential content contributors (deteriorating)?
maybe to complex to implement correctly (endless poc...)?
*

I find this to be a bit of a rabbit hole, because in my opinion (which may as well be very wrong), all of the tooling we have for that is near-useless for our purposes. Which doesn't make it impossible to do anything about the problem of tutorials diverging from the code, but raises the question of how to approach it regardless.

There are three ways I currently see, and find all of them to be a stretch:

  • Add NixOS tests that accompany tutorials. Problem: duplication and a mess of a setup, which needs to be maintained by hand.
  • Use https://github.com/OceanSprint/tesh to extract test cases from tutorials. This would cover many use cases, but the tool is not actively developed, and there are lots of open questions. I think it is worth trying out.
  • Do something completely different, as sketched here: https://github.com/fricklerhandwerk/beast. Problem: This very unorthodox and requires building some infrastructure first, so there's high risk of diverting attention from what we may think is more important.
16:30:55

Show newer messages


Back to Room ListRoom Version: 6