- Meeting info
- Past meeting notes
- Documentation office hours in the NixOS Calendar
- Attendees: @trespaul @hsjobeki @hartan @MattSturgeon @paotsaq @riotbib
- Notes by: everyone
vision doc: nix.dev/maintainers/vision.md at master · NixOS/nix.dev · GitHub
Summary
Open format again, more people than usual this time. NixCon retrospective. Discuss a bag of migration topics. Nothing got a firm decision, but we are exploring the problem space and trying to map it to user intent. Since more people keep joining now we’ll try a structured agenda next time.
Content of the meeting
Agenda
@riotbib: can we make a structural agenda for future meetings?
@hsjobeki: sure, will prepare something for next time. Today stays open format.
NixCon retrospective
@trespaul: how was the NixCon workshop?
@paotsaq: people seem to think the docs are good, just hard to find.
@MattSturgeon: was mostly there to see what’s going on, also helped merge PRs during the workshop.
@hsjobeki: we didn’t have enough t-shirts; which means had >40 people in the room.
Markdown syntax
Looked at the Markdown syntax we currently use. Came out of the idea of adding a switch (tabs) between NixOS and Flakes usage examples in the docs.
Headings
- Markdown linters complain if you have more than one
h1. - MDN discourages multiple
h1s too, and suggests stylingh1differently because of its special role.
Related, later on: @trespaul hit an h1 inside an example in the demo.
@MattSturgeon: there was a guide saying every example should have its own heading → probably that.
@hsjobeki: maybe put this on meta-attributes on the example blocks instead. We have too many headings everywhere.
@MattSturgeon: agreed.
{=include=} statements
Still need to get rid of the remaining ones. The old manuals break without migration (went through why).
@MattSturgeon: could add a flag just for the migration phase.
@hsjobeki: Need to think about it
bash doc-comments (i.e. for stdenv hooks)
@hsjobeki: we have no way to write doc-comments like we do for Nix functions.
@MattSturgeon: could we use the meta attribute?
@hsjobeki: that means we’d have to evaluate, but it could work.
Linter
@hsjobeki: we should have a Markdown linter that falls out of docs.nixos.org. Both for correctness and to catch bad stylistic syntax.
Anchors / stable URLs
@hsjobeki on mapping old anchors to the new pages. Versioning still unclear. Rough plan:
- Drop
redirects.jsononce we can. - Reduce the stability guarantee on anchors on
docs.nixos.org. - Only URLs without anchors stay stable.
- If something needs to be stable it has to have a resource ID as a stable URL (no
#). Content at that location is free to change.
Splitting option docs
@MattSturgeon raised if/when/how to split up option documentation.
@hsjobeki: options.json gets rendered straight into docs.nixos.org, and the renderer decides how to split.
@MattSturgeon: had been trying to build something like that.
@hsjobeki: we want semantic grouping but don’t know how yet.
@trespaul: maybe split by declaration position?
@hsjobeki: tried that, no answer — coupling the split to any attribute just silently couples it to implementation details that don’t matter semantically.
Longer back-and-forth on this and no conclusion. Path-based splitting doesn’t match how users think. Take someone looking for “docker”: is it under services, under virtualisation, or is it a package you install like on other distros? Splitting by option path doesn’t answer that.