!avYyleMexqjFHoqrME:nixos.org

Nix Documentation

350 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 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 80 Servers

Load older messages


SenderMessageTime
24 Sep 2024
@phanirithvij:matrix.orgloudgolemwould be cool if the epub build were fixed too07:52:38
@phanirithvij:matrix.orgloudgolem@johannes.kirschbauer:scs.ems.host is there a noogle matrix channel?08:00:49
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobeki
In reply to @phanirithvij:matrix.org
has anything been done for rendering docs in multiple pages since this discussion?

As far as i am aware no. Pennae seems to do lix now. nixos-render-docs is now kind of unmaintained?
Multipage rendering can be done, and it should be a straight forward task.
Here are the steps that i have in my head rn.

  • build a table of track references (currently anchors)

  • split the manual during rendering into mutliple output pages (and where each reference is located)

  • make sure the references point to the correct subpage in output

  • write a client side redirect script for people having the old references

08:01:29
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobeki
In reply to @phanirithvij:matrix.org
@johannes.kirschbauer:scs.ems.host is there a noogle matrix channel?
No. But you can ask questions here as well i guess
08:02:29
@phanirithvij:matrix.orgloudgolemin the readme it is mentioned pagefind is only available in the production build08:03:07
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobeki danielsidhion: Is also kind of afk since ~springtime havent heard anything from him 08:03:24
@phanirithvij:matrix.orgloudgolemif I wish to self host noogle locally do I need pagefind08:03:26
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobekiPagefind is the search engine, so yes, if you want the search.08:04:25
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobeki "Production build" means npm run build 08:04:57
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobekiIts a completely static page, you can selfhost it.08:05:15
@phanirithvij:matrix.orgloudgolemok I'll try it out08:05:48
@fricklerhandwerk:matrix.orgfricklerhandwerk
In reply to @johannes.kirschbauer:scs.ems.host

As far as i am aware no. Pennae seems to do lix now. nixos-render-docs is now kind of unmaintained?
Multipage rendering can be done, and it should be a straight forward task.
Here are the steps that i have in my head rn.

  • build a table of track references (currently anchors)

  • split the manual during rendering into mutliple output pages (and where each reference is located)

  • make sure the references point to the correct subpage in output

  • write a client side redirect script for people having the old references

getpsyched is currently working exactly on this under my supervision. It will take a while to get there, the devil is in the details.
09:15:49
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobeki fricklerhandwerk:
Another thing that i'd like to get rid of are these include blocks in the nixpkgs/nixos docs. Because the overall structure can only be perceived from a recursive parser but not from a human. Which makes structural maintance/changes hard to understand.
09:29:38
@johannes.kirschbauer:scs.ems.hostJohannes Kirschbauer @hsjobekiJust asking if i this would hit some right spot.09:30:42
@getpsyched:matrix.orggetpsyched
In reply to@phanirithvij:matrix.org
has anything been done for rendering docs in multiple pages since this discussion?
Hi, I've been working on the render docs as part of splitting the manuals into multiple pages. Currently the work is on getting a robust redirect system set up. As @Johannes Kirschbauer @hsjobeki outlined, I'm working on the same things and have pieced out the details in a roadmap which I'll convert into a formal documentation page after we hit the redirects milestone.

Feel free to track the progress through this diff:
https://github.com/NixOS/nixpkgs/compare/nixos-24.05...GetPsyched:nixpkgs:render-docs

The base branch is set to 24.05 as we're aiming to backport these changes there and jump to master/24.11 and run our script again to retro-actively catch breakages.
11:42:18
@terru:raccoon.college@terru:raccoon.college left the room.12:34:49
@ckie:ckie.devmei 🌒& changed their profile picture.23:25:17
26 Sep 2024
@fabianhjr:matrix.orgFabián Heredia set a profile picture.01:15:49
27 Sep 2024
@zardian:matrix.org@zardian:matrix.org left the room.14:03:08
@phanirithvij:matrix.orgloudgolem changed their display name from phanirithvij to loudgolem.14:38:01
@phanirithvij:matrix.orgloudgolem changed their profile picture.14:38:28
@elikoga:matrix.orgelikoga (@38c3 📞488{0,1,9}) set a profile picture.16:27:30
28 Sep 2024
@thezaedus:matrix.orgthezaedus set a profile picture.07:21:15
1 Oct 2024
@-_o:matrix.org-_o joined the room.21:00:25
4 Oct 2024
@ajcxz0:matrix.org@ajcxz0:matrix.org left the room.01:00:45
7 Oct 2024
@lehmanator:tchncs.deSam Lehman changed their profile picture.14:24:50
8 Oct 2024
@brunbjerg:matrix.orgChristian Brunbjerg joined the room.08:19:30
@brunbjerg:matrix.orgChristian Brunbjerg

Hello community,

Is there a kind of roadmap for the documentation?

Or a place that is the most in need of updating?

Kind regards

08:21:14
@soenkeklinger:matrix.orgSoenke Klinger

There is no simple answer for this. The answer will be different depending who you ask, and what scope you set.

My personal answer would be:

The documentation - especially the handbooks for nix/nixpkgs and the documentation in search.nixos.org for packages/options and installation and usage procedures are good enough for people who like to read and write code to get a sufficiant understanding of nix and the ecosystem.

In my personal view the documentation is lacking for the „non-coder/linux users but also administrators“ und NixOS - and there https://wiki.nixos.org needs some low level documentation and there are some low hanging fruits, what can be done to improve the situation (documentation about desktop programs and their configuration via simple configuration.nix commands. If you just use your desktop for (office) work and have some small scale servers (maybe a VM-Host and some VMs on it), you may not need Flakes, Homemanager, a deep understanding of nix language, the ability to package for nixpkgs, setup Hydra, do remote builds, have a complex configuration system etc.
But these users need more information about typical desktop and server programs, how to configure it (with full and explained examples), maybe to setup the servers (how to setup an hedgedoc instance for myself and make it safe with .htaccess authentification), or „how to install firefox including some common plugins and some privacy configuration“.

The long-term goal would be: Find a way to include these examples and better documentation for options in nixpkgs itself, in a way that it can be autogenerated in manuals and included in the search results from sites like search.nixos.org.

10:54:58
@soenkeklinger:matrix.orgSoenke Klinger Christian Brunbjerg: Do you have a particular interest to contribute, or need some kickstart-help to do this? 15:21:23

Show newer messages


Back to Room ListRoom Version: 6