Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split contribution docs into an isolated subsection and unify all Nix contribution docs into one site #838

Open
lf- opened this issue Dec 15, 2023 · 2 comments
Labels
site Improvements to the site infrastructure or content presentation

Comments

@lf-
Copy link
Member

lf- commented Dec 15, 2023

Observations

Currently nixpkgs, nix and the docs team have separate contribution information areas. Currently they use CONTRIBUTING files which can get long and don't necessarily have nice space for presenting justification or vision, which leads to contributor burnout due to lack of value alignment leading to bike shedding.

Problem

There's not a lightweight to edit place for contribution docs that's centralized, has nice navigation, and working search.

Approaches

infinisil noted that it would be preferable to keep docs inside nixpkgs. I have no horse in this race; if we link it well it's probably fine regardless of where the files go.

The central idea of this is creating a place like the rustc developer book which is easy to edit (not quite a wiki but more chill than official docs) and hopefully stays up to date; it provides explanations of how internals work, high level architecture explanations, and reasoning for things. https://rustc-dev-guide.rust-lang.org/

https://logs.nixos.dev/room/!avYyleMexqjFHoqrME:nixos.org/?anchor=$1a-p0jIFGfppHqFadSnQIpoX40mUALH9qt7griX9qWk&offset=-10

Willing to help?

Maybe, feels like this might itself die to the bike shed and I'm afraid to touch it.

Priorities

Add 👍 to issues you find important.

@lf- lf- added the site Improvements to the site infrastructure or content presentation label Dec 15, 2023
@lf-
Copy link
Member Author

lf- commented Dec 15, 2023

NixOS/nixpkgs#270696 (comment)

this is an example of a contribution that the contributor didn't know the right place to put it and would have benefited from a high level view of where stuff goes. i believe we have one but it's not in the path where we look for things as contributors.

@fricklerhandwerk
Copy link
Collaborator

I think these are two issues:

  1. Sort the various documentation types into their places (editorial)
  2. Make a unified presentation (technical)

It seems the @NixOS/documentation-team has mostly figured out where to put what generally:

  • Reference documentation (including examples): in the source as far as possible, rendered in reference manuals
  • Contribution guides: in-tree, close to the source
  • Design documentation: in the source
  • User guides: nix.dev
  • Tutorials: nix.dev

There are still not enough places where the principle and rationale is written down or linked to help contributors figure it out by themselves. It's made worse that all of that is still implemented only to a small degree, making it almost impossible to infer from context whether something fits in. Also we sometimes seem to be struggling with determining what's what for a given PR, which probably cannot be solved by writing more things down because it very much depends on the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Improvements to the site infrastructure or content presentation
Projects
None yet
Development

No branches or pull requests

2 participants