24 Sep 2024 |
loudgolem | would be cool if the epub build were fixed too | 07:52:38 |
loudgolem | @johannes.kirschbauer:scs.ems.host is there a noogle matrix channel? | 08:00:49 |
Johannes 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 @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 |
loudgolem | in the readme it is mentioned pagefind is only available in the production build | 08:03:07 |
Johannes Kirschbauer @hsjobeki | danielsidhion: Is also kind of afk since ~springtime havent heard anything from him | 08:03:24 |
loudgolem | if I wish to self host noogle locally do I need pagefind | 08:03:26 |
Johannes Kirschbauer @hsjobeki | Pagefind is the search engine, so yes, if you want the search. | 08:04:25 |
Johannes Kirschbauer @hsjobeki | "Production build" means npm run build | 08:04:57 |
Johannes Kirschbauer @hsjobeki | Its a completely static page, you can selfhost it. | 08:05:15 |
loudgolem | ok I'll try it out | 08:05:48 |
fricklerhandwerk | 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 @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 @hsjobeki | Just asking if i this would hit some right spot. | 09:30:42 |
getpsyched | 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 left the room. | 12:34:49 |
| mei 🌒& changed their profile picture. | 23:25:17 |
26 Sep 2024 |
| Fabián Heredia set a profile picture. | 01:15:49 |
27 Sep 2024 |
| @zardian:matrix.org left the room. | 14:03:08 |
| loudgolem changed their display name from phanirithvij to loudgolem. | 14:38:01 |
| loudgolem changed their profile picture. | 14:38:28 |
| elikoga (@38c3 📞488{0,1,9}) set a profile picture. | 16:27:30 |
28 Sep 2024 |
| thezaedus set a profile picture. | 07:21:15 |
1 Oct 2024 |
| -_o joined the room. | 21:00:25 |
4 Oct 2024 |
| @ajcxz0:matrix.org left the room. | 01:00:45 |
7 Oct 2024 |
| Sam Lehman changed their profile picture. | 14:24:50 |
8 Oct 2024 |
| Christian Brunbjerg joined the room. | 08:19:30 |
Christian 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 |
Soenke 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 |
Soenke Klinger | Christian Brunbjerg: Do you have a particular interest to contribute, or need some kickstart-help to do this? | 15:21:23 |