- Meeting info
- Past meeting notes
- Documentation office hours in the NixOS Calendar
- Attendees: @hsjobeki @wamirez @kiara @friedow @hgl @lassulus
- Notes by: everyone
vision doc: nix.dev/maintainers/vision.md at d49ef7af7ef159c95cd86bb2ababcaf721841234 · NixOS/nix.dev · GitHub
Summary
We discussed the path toward the documentation vision: standardizing on a common set of Markdown extensions, evaluating our rendering framework before committing further to Sphinx, clarifying which repositories own which rendering outputs, and a set of navigation quick wins that don’t require changing how pages are rendered. The main decision of the session was to merge tutorials and guides. Several open questions remain around resource consolidation, link checking, and versioning.
Notes
- Among all the existing resources (nix.dev, manuals, wiki’s, etc.) which ones are to be kept, which ones to get rid of? Unresolved, needs a follow-up.
How can we get there?
Markdown standardization
- Every repo can choose to implement a subset to keep rendering their own source during the migration phase.
- Action: Somebody needs to find the smallest common denominator
- Need framework evaluation before we add more dependents on sphinx
- @hgl: would you want to do this?
- One person suggested: GitHub - minijackson/sphinxcontrib-nixdomain: Document Nix libraries, NixOS-like module options, Nix packages, using the Sphinx documentation ecosystem · GitHub
- Link checking for example could use: GitHub - gjtorikian/html-proofer: Test your rendered HTML files to make sure they're accurate. · GitHub
versioning
- Does nix.dev track nixos releases?
- Does nix.dev track nix releases?
- idea: guides stay constant, version switcher for nix/nixpkgs versions on reference material
- Conclusion: nix.dev should own as little content as possible. Most content should live versioned along the sources; in nixpkgs and nix.
Rendering ownership & tooling
- nixos-render-docs: currently renders HTML and man pages; the intended future is man pages only.
- Idea: reuse nixos-render-docs for the docs migration by adding
.mdoutput with page splitting. - The nix / nixpkgs / nixos repos own their own man-page rendering.
- nix.dev will own the HTML rendering from all
.mdsources. - nixos-search: uses Elm to render Elasticsearch results.
- nix.dev will become docs.nixos.org after we are done.
Quick Wins
- Improve navigation, without changing rendering:
- Stylesheet for nix.dev
- Common headers, aligned styles
- Table of Contents collapsible
- More content should be collapsed by default
- We need more newbies to give us feedback

- Think about different users
- Mac user: I want to use a cooler package manager
- Linuxer: I want to install NixOS
- Developer: I want to use nix for development
- style mdBook in the nix repo
Action Items & Follow-ups
| Item | Owner |
|---|---|
| Find the smallest common denominator of Markdown extensions | TBD |
| Framework evaluation before extending Sphinx further | @hgl (to confirm) |
| Investigate link-checking integration (in-build vs. post-build) and how many pages need checking | TBD |
| Resolve the versioning approach (does nix.dev track Nix / NixOS releases?) | TBD |
| Collect the Markdown formats used across all repositories | @hsjobeki, created: Collect markdown formats and documentation tools for all repositories · Issue #1238 · NixOS/nix.dev · GitHub |
| Collect the rendering tools used across all repositories | @hsjobeki, created: Collect markdown formats and documentation tools for all repositories · Issue #1238 · NixOS/nix.dev · GitHub |
Decisions
- Merge tutorials and guides. Most people don’t care about or understand the diátaxis distinction between them. (Raised by @wamirez.)