!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

412 Members
Discussion about documentation improvements around the Nix ecosystem83 Servers

Load older messages


SenderMessageTime
18 Apr 2026
@rasmata:matrix.org@rasmata:matrix.org joined the room.14:39:38
@rasmata:matrix.org@rasmata:matrix.org left the room.14:39:42
19 Apr 2026
@lukas:landgraf.moeLukas joined the room.02:20:20
20 Apr 2026
@lucailgarb:matrix.org@lucailgarb:matrix.org left the room.09:18:25
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:32:11
30 Apr 2026
@isabel:isabelroses.comisabel changed their profile picture.18:47:13
3 May 2026
@isabel:isabelroses.comisabel changed their profile picture.10:38:53
5 May 2026
@gdesforges:matrix.org@gdesforges:matrix.org left the room.10:45:12
8 May 2026
@ibizaman:matrix.orgibizaman Hello all, I was wondering if there was some work on making nix documentation executable? In my project I extensively use nmd to build the documentation but what I see missing is that I can’t test the examples and snippets I’m writing and they inevitably become stale. 15:26:48
@ibizaman:matrix.orgibizaman* Hello all, I was wondering if there was some work on making nix documentation executable? In my project I extensively use nmd to build the documentation but what I see missing is that I can’t test the examples and snippets I’m writing and they inevitably become stale. I did some light research on this but didn’t find anything.15:27:12
@ibizaman:matrix.orgibizamanFWIW I looked at existing literate programming tools but they are all so verbose. And they somehow don’t support markdown files for the major part. I thought I’d just roll my own parser using some markdown lib to just concatenate all source code but I’d like for others to be able to use it instead of this sitting in my own repo.16:06:07
11 May 2026
@friedow:beeper.comChristian FriedowThe only thing that comes to my mind is https://ngi.nixos.org/. They provide executable examples that spin up VMs. But I guess what you are talking about is more like small code snippets that you can execute in a browser. What project are you working on? And where are you rendering documentation to (man pages, documentation website, help flags in cli tools or code)?07:29:29
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @ibizaman:matrix.org
Hello all, I was wondering if there was some work on making nix documentation executable? In my project I extensively use nmd to build the documentation but what I see missing is that I can’t test the examples and snippets I’m writing and they inevitably become stale. I did some light research on this but didn’t find anything.
The most generic — and indeed language-agnostic — tool for this is noweb. It’s extremely simple and thanks to Nix-based workflows, easy to control. There’s also modern variants that convert the block annotations to something other than TeX, and the mechanism is so simple one can implement any custom format on a whim.
09:42:58
@figsoda:matrix.orgfigsodau might also be able to run some nix implementation in wasm like snix17:09:43
@hsjobeki:matrix.orghsjobekiunified js let's you build whatever you want for markdown. If it's a web page it uses JavaScript anyways. Remark, rehype plugins are the both tools that I would use to build this myself. Noweb has some benefits but it seems pretty niche. Unified.js is the defacto standard in frontend for processing markdown. (Afaik) If it's just for evaluation you can call snix as mentioned via wasm directly in the browser. 17:20:21
@hsjobeki:matrix.orghsjobeki* unified js let's you build whatever you want for markdown. If it's a web page it uses JavaScript anyways. Remark, rehype plugins are the both tools that I would use to build this myself. Noweb has some benefits but it seems pretty niche. Unified.js is the defacto standard in frontend for processing markdown. (Afaik) For evaluation you can call snix as mentioned via wasm directly in the browser. For more than that you might need a backend 17:21:16
@hsjobeki:matrix.orghsjobekiOr is it a local cli thingy 17:23:51
24 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".11:59:07
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".11:59:07
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.11:59:13
@domenkozar:matrix.orgDomen Kožar joined the room.11:59:28
@pinage404:matrix.orgpinage404 joined the room.12:00:09
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.12:03:52
@domenkozar:matrix.orgDomen Kožar set the room topic to "Discussion about documentation improvements around the Nix ecosystem".12:06:31
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.12:10:46
@jez:petrichor.meJez (he/him) joined the room.12:16:51
@andi:kack.itandi- joined the room.12:54:52
@nbardiuk:matrix.orgnazarii joined the room.17:31:12
@0x4a6f:matrix.org[0x4A6F] joined the room.18:46:55
@colemickens:matrix.orgcolemickens 🏳️‍🌈 joined the room.20:52:34

Show newer messages


Back to Room ListRoom Version: 6