!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

381 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 73 Servers

Load older messages


SenderMessageTime
19 May 2024
@deltaflow:matrix.org@deltaflow:matrix.orgFor sure! Going to try and join office hours / do some general lurking. But will compile some thoughts ๐Ÿ™‚00:31:37
@antifuchs:asf.computerantifuchs
In reply to @jtojnar:matrix.org
The โ€œI installed a library but my compiler is not finding it. Why?โ€ section disappeared between these two revisions but it is not listed in the diff.
Think this is a diff display bug - selecting โ€œvisualโ€ instead of โ€œwikitextโ€ shows the removal.
02:20:50
@djacu:matrix.orgdjacu
In reply to @danielsidhion:nixos.dev
I'm just catching up on (a lot of) discussions, feel free to!

So I created a new column for mkdocs with the Material theme. I've used it in the past and significantly improves the UX of mkdocs. I've answered most of the questions for that combo and I'll try to answer the questions for mkdocs by itself.

I don't understand some of the questions being asked. Could you elaborate on the following?

  • Can we deep-link anywhere in the text? (Do you mean literally anywhere or just headers?)
  • Does it support tagref or anything similar? (Can you give an example?)
  • Does it support the example notation we currently use? (Can you give an example?)
  • Can we get a list of all possible links that someone may use?
  • How can we generate option docs with it? (I was under the impression that option docs can output to json or markdown. And you would want to create a webpage from that?)
  • Can we render it to multiple pages?
  • Can we fit the nixos module documentation in it?
05:23:37
@jtojnar:matrix.orgJan Tojnar
In reply to @antifuchs:asf.computer
Think this is a diff display bug - selecting โ€œvisualโ€ instead of โ€œwikitextโ€ shows the removal.
the wikitext diff now shows transclusion removed (I must have missed yesterday?), I have reverted it https://wiki.nixos.org/w/index.php?title=FAQ&diff=prev&oldid=12886
10:19:41
@deltaflow:matrix.org@deltaflow:matrix.orgI've been lurking through the style guide and such. We use plain language and most of the other standards where I work. So this will be fun ๐Ÿ™‚19:22:26
20 May 2024
@ckie:ckie.devmei ๐ŸŒ’& changed their display name from ckie (they/them) to mei ๐ŸŒ’&.00:07:24
@alejandrosame:matrix.orgalejandrosameI just pushed a PR to push forward doc autogeneration: https://github.com/NixOS/nixpkgs/pull/31309510:06:44
@alejandrosame:matrix.orgalejandrosame * I just pushed a draft PR to push forward doc autogeneration: https://github.com/NixOS/nixpkgs/pull/31309510:08:42
21 May 2024
@oliver.falvai:oliverfalvai.xyzoliver.falvai joined the room.06:23:34
@danielsidhion:nixos.devdanielsidhion
In reply to @djacu:matrix.org

So I created a new column for mkdocs with the Material theme. I've used it in the past and significantly improves the UX of mkdocs. I've answered most of the questions for that combo and I'll try to answer the questions for mkdocs by itself.

I don't understand some of the questions being asked. Could you elaborate on the following?

  • Can we deep-link anywhere in the text? (Do you mean literally anywhere or just headers?)
  • Does it support tagref or anything similar? (Can you give an example?)
  • Does it support the example notation we currently use? (Can you give an example?)
  • Can we get a list of all possible links that someone may use?
  • How can we generate option docs with it? (I was under the impression that option docs can output to json or markdown. And you would want to create a webpage from that?)
  • Can we render it to multiple pages?
  • Can we fit the nixos module documentation in it?
  • Can we deep-link anywhere in the text? (Do you mean literally anywhere or just headers?)
    • Literally anywhere (e.g. currently we can use {}[#custom-header] almost anywhere in the text and we'll be able to link to that specific part)
  • Does it support tagref or anything similar? (Can you give an example?)
    • I added a link to https://github.com/stepchowfun/tagref in the spreadsheet. I was referring to that project (or anything that tries to achieve the same thing)
  • Does it support the example notation we currently use? (Can you give an example?)
    • https://github.com/NixOS/nixpkgs/blob/1f82020865a982a3f82934b420165ceb331a3505/doc/README.md?plain=1#L120-L125
  • Can we get a list of all possible links that someone may use?
    • Read https://discourse.nixos.org/t/a-roadmap-for-the-documentation-ecosystem/42328/5 and some of the discussion there for more info. What this question asks is "does this framework generate a 'report' of all URLs (including fragments) that are valid with the current content, or does it make this possible in some way?".
  • How can we generate option docs with it? (I was under the impression that option docs can output to json or markdown. And you would want to create a webpage from that?)
    • Primarily for backwards compatibility (since we already have a webpage with them), yes. It's possible that further modification of the option docs output will be needed, or there might be other interesting ways to display its contents, which is why this question is there.
  • Can we render it to multiple pages?
    • Whether the entire content can be rendered as a multi-page doc (with working crosslinks) rather than the current single-page one.
  • Can we fit the nixos module documentation in it?
    • The nixos module documentation is generated dynamically (see https://github.com/NixOS/nixpkgs/blob/ad2096e23d09a67fdbbcd92e068db4119b0999fe/nixos/doc/manual/default.nix#L84-L87 ). This question is whether (and very high level of how) we'd be able to fit that stuff into the framework.
07:17:40
@alejandrosame:matrix.orgalejandrosamePR with just python interpreter table autogeneration: https://github.com/NixOS/nixpkgs/pull/31340814:20:47
@sandro:supersandro.deSandro ๐ŸงIMO slightly overengineered but here we are15:34:38
@fricklerhandwerk:matrix.orgfricklerhandwerkIt's office hours again! https://jitsi.lassul.us/nix-documentation19:01:35
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @sandro:supersandro.de
IMO slightly overengineered but here we are
alejandrosame and me undid the overengineering, ready for review now: https://github.com/NixOS/nixpkgs/pull/313408
21:47:13
22 May 2024
@djacu:matrix.orgdjacu fricklerhandwerk: alejandrosame I took a look through the code and wrote a comment with a simplified version of the code. Let me know what you all think. 06:41:06
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @djacu:matrix.org
fricklerhandwerk: alejandrosame I took a look through the code and wrote a comment with a simplified version of the code. Let me know what you all think.
Cool, thanks a lot. Some good ideas to further boil it down
06:50:34
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:26:03
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:28:17
@ksoda:matrix.org@ksoda:matrix.org left the room.17:32:09
23 May 2024
@fricklerhandwerk:matrix.orgfricklerhandwerkDocumentation office hours in 18 minutes: https://jitsi.lassul.us/nix-documentation14:12:59
25 May 2024
@enn_:matrix.orgenn_ joined the room.10:43:58
@enn_:matrix.orgenn_๐Ÿ‘‹ I'm a low-ish knowledge nix user & I have an idea to improve the onboarding / learning experience. What is the best thing for me to read to understand your preferred way to receive such suggestions? The tldr is I've landed at https://github.com/NixOS/nix/blob/e0c94b91ee7b8dd30e669228c01f1b75179f1903/src/libcmd/installable-flake.cc#L195 . My fight back to where I should be is massively more difficult that it should be. I suspect I'm the exact class/type of idiot we should be able to make more productive here ๐Ÿคฃ. As an aside, I saw a recent post about looking for folks to help with docs and blew it off, but apparently the universe has other ideas, and here I am ๐Ÿ˜…17:51:29
@proofconstruction:matrix.orgproofconstruction
In reply to @enn_:matrix.org
๐Ÿ‘‹ I'm a low-ish knowledge nix user & I have an idea to improve the onboarding / learning experience. What is the best thing for me to read to understand your preferred way to receive such suggestions? The tldr is I've landed at https://github.com/NixOS/nix/blob/e0c94b91ee7b8dd30e669228c01f1b75179f1903/src/libcmd/installable-flake.cc#L195 . My fight back to where I should be is massively more difficult that it should be. I suspect I'm the exact class/type of idiot we should be able to make more productive here ๐Ÿคฃ. As an aside, I saw a recent post about looking for folks to help with docs and blew it off, but apparently the universe has other ideas, and here I am ๐Ÿ˜…
Welcome! For suggestions, typically they are made here, in a GitHub Issue, or by implementing the change and making a pull request to the appropriate repository. In all cases there will be an associated thread of comments and follow up suggestions.
19:46:58
27 May 2024
@fricklerhandwerk:matrix.orgfricklerhandwerk changed the room topic to "This is the official channel for documentation in the Nix ecosystem. The documentation team meets here. More information: https://nixos.org/community/teams/documentation NixOS teams calendar: https://calendar.google.com/calendar/embed?src=b9o52fobqjak8oq8lfkhg3t0qg%40group.calendar.google.com Documentation office hours are open for anyone interested in solving problems, getting contributions reviewed in real time, or becoming a maintainer. 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 " from "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 NixOS teams calendar: https://calendar.google.com/calendar/embed?src=b9o52fobqjak8oq8lfkhg3t0qg%40group.calendar.google.com&ctz=Europe%2FBerlin".12:12:10
28 May 2024
@willbush:matrix.orgwillbush joined the room.00:25:43
@ryantm:matrix.orgryantmimage.png
Download image.png
22:30:29
@ryantm:matrix.orgryantmhttps://nixos.org/nix/manual/22:30:32
@ryantm:matrix.orgryantm^ this is the top link for the search "nix manual"22:31:21
@tomberek:matrix.orgtomberekTrying to redeploy to Netlify, but we have some auth problems. Rok has access.22:39:46
@tomberek:matrix.orgtomberekhttps://github.com/NixOS/nixos-homepage/actions/runs/9274765717/job/25520216514#step:6:2222:40:15

Show newer messages


Back to Room ListRoom Version: 6