!avYyleMexqjFHoqrME:nixos.org

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

You have reached the beginning of time (for this room).


SenderMessageTime
12 Jan 2024
@mcdonc:matrix.orgChris McDonoughok, i think that makes sense16:49:59
@mcdonc:matrix.orgChris McDonoughin that trivial builders file, we have sort of haskell-style "runCommand :: String -> AttrSet -> String -> Derivation" style of documenting inputs and outputs... i'm going to remove those and go with that16:51:23
@infinisil:matrix.orginfinisil danielsidhion: https://github.com/NixOS/nixos-homepage/pull/1199 16:52:46
@danielsidhion:nixos.devdanielsidhionIf that style of documenting inputs/outputs doesn't work well for your use case, please help improve the conventions by either adding more specific cases or helping find a common abstraction that works for more cases16:53:22
@danielsidhion:nixos.devdanielsidhionWe're kind of making those conventions as I find the opportunities while working on the manual16:53:38
@mcdonc:matrix.orgChris McDonoughyep... i don't personally think the "runCommand :: String -> AttrSet -> String -> Derivation" style is very useful so i'll replace it with what we talked about and we'l see what happens :)16:54:31
@mcdonc:matrix.orgChris McDonoughif CI completes, could we merge https://github.com/NixOS/nixpkgs/pull/277534 as-is so far? rationale: i don't want to make more commits to it that are unrelated to the writeText* functions, which is what its about right now17:24:55
@mcdonc:matrix.orgChris McDonough(i'd like to make more changes to it that are related to function argument styles)17:25:15
@mcdonc:matrix.orgChris McDonough(but that are not related to writeText* funcs)17:25:46
@danielsidhion:nixos.devdanielsidhionI'm reviewing the pr right now17:33:26
@jade_:matrix.org@jade_:matrix.org
In reply to @asymmetric:matrix.dapp.org.uk
i think we would really benefit from this. it would make it easier for people to contribute across the different projects on the platform, create links when appropriate, etc etc
there's a bunch of efforts of unclear relation involving writing new docs builders. we really need to write down what they are and probably make a tracking issue to try to not step on our own toes.
18:20:29
@infinisil:matrix.orginfinisil danielsidhion: Manual is now being updated again! https://nixos.org/manual/nixpkgs/unstable/ 19:40:43
@infinisil:matrix.orginfinisil(merged the PR and manually triggered an update)19:40:56
@danielsidhion:nixos.devdanielsidhionThank you for fixing it!19:41:26
@danielsidhion:nixos.devdanielsidhion
In reply to @jade_:matrix.org
there's a bunch of efforts of unclear relation involving writing new docs builders. we really need to write down what they are and probably make a tracking issue to try to not step on our own toes.
I think that's important, added this to the agenda for next meeting so it's not forgotten to be at least discussed, hopefully the issue is created during the meeting though
19:43:53
@asymmetric:matrix.dapp.org.ukasymmetric jade_: what projects/efforts are you thinking of? i know of nixos-render-docs (which is actually used in nixpkgs/nixos), mmdoc (which was supposed to be used, but isnt'). anything else? 20:40:07
@asymmetric:matrix.dapp.org.ukasymmetric relatedly, i was looking into the pr splitting the nixpkgs manual up, which uses mmdoc, and i think it should probably be re-implemented using nrd? 20:49:44
@asymmetric:matrix.dapp.org.ukasymmetricmainly because, afaict, nrd is the sanctioned way forward20:50:34
@jade_:matrix.org@jade_:matrix.orgthis one, which claims to "complete autogenerated documentation for the whole nix-ecosystem" (which is fundamentally contradictory with all the other projects ostensibly doing this but having nothing to do with it): https://github.com/nix-community/docnix20:53:12
@jade_:matrix.org@jade_:matrix.orgthe description of this and how it fits into the way everything is going to fit together is very fundamentally confusing20:53:54
@jade_:matrix.org@jade_:matrix.org and i guess this is part of a meta thing of "we aren't tracking how all the new docs stuff is fitting together and what we actually want from a docs generation system that fulfils all requirements" 20:55:01
@jade_:matrix.org@jade_:matrix.org(for the record i don't think that we are going to get away with having something that doesn't have very substantial amounts of our own code, in spite of what may have been said about that objective in the past re using sphinx or such. at the very least we will have to have a plugin or such)20:56:26
@jade_:matrix.org@jade_:matrix.org
In reply to @asymmetric:matrix.dapp.org.uk
mainly because, afaict, nrd is the sanctioned way forward
gosh we need to write these things down in a durable location that is not a github issue. we need a not-necessarily-wiki but easily modified, page that states that decision, and in general an overview of the tooling and its plans
20:59:24

Show newer messages


Back to Room ListRoom Version: 6