NixOS / nix.dev

Official documentation for getting things done with Nix.
https://nix.dev
Creative Commons Attribution Share Alike 4.0 International
2.3k stars 239 forks source link

Task: Document how to take ownership over a manual section #509

Open infinisil opened 1 year ago

infinisil commented 1 year ago

If you're interested in working on this task, reply in this issue to make sure the work isn't duplicated!

What

A section to describe what it means to take ownership over a manual section.

Key points:

How

pennae commented 1 year ago
  • how are anchor-level redirects handled in the Nixpkgs and NixOS manuals?

basically, not. the docbook toolchain did not have (or never used) any facility to redirect from old anchors to new locations, and the nixos manual as produced by nixos-render-docs inherited that inability. it should be fairly easy to add support for that into either with a bit of javascript, although we'd probably want to integrate that into nixos-render-docs at least somewhat to ensure that redirected anchors aren't reused.

fricklerhandwerk commented 1 year ago

Would it make sense to adopt the script from the Nix manual? Quite some thought went into that by previous maintainers, and I invested more effort to make it as readable as possible.

pennae commented 1 year ago

sure, why not. and even if it proves to not be perfect for our use cases in the nixos/nixpkgs manuals, it's almost certainly a better place to start from than a void :)

nixos-discourse commented 1 year ago

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-04-04-documentation-team-meeting-notes-38/27000/1

fricklerhandwerk commented 1 year ago

@pennae Added a Nixpkgs issue: https://github.com/NixOS/nixpkgs/issues/224808

proofconstruction commented 1 year ago

To take ownership of a manual section, we should update CODEOWNERS or maintainers.nix or other, once the appropriate infrastructure is in place: https://github.com/NixOS/nix.dev/issues/543