about summary refs log tree commit diff
path: root/doc/contributing
AgeCommit message (Collapse)AuthorFilesLines
2023-08-13doc/vulnerability-roundup: Rough move to new contribution doc filesSilvan Mosberger1-38/+4
No content was changed, new titles are wrapped with () to signal that they will need to be decided on in a future commit. Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/submitting-changes: Rough move to new contribution doc filesSilvan Mosberger1-278/+22
No content was changed, new titles are wrapped with () to signal that they will need to be decided on in a future commit. Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/reviewing-contributions: Rough move to new contribution doc filesSilvan Mosberger1-296/+9
No content was changed, new titles are wrapped with () to signal that they will need to be decided on in a future commit. Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/quick-start: Rough move to new contribution doc filesSilvan Mosberger1-75/+1
Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/contributing-to-documentation: Rough move to new contribution doc filesSilvan Mosberger1-107/+3
Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/coding-conventions: Rough move to new contribution doc filesSilvan Mosberger1-647/+17
No content was changed, new titles are wrapped with () to signal that they will need to be decided on in a future commit. Section in the manual have been preserved with a simple redirect to GitHub, the proper anchors should be filled out in a future commit once the new section names are decided.
2023-08-13doc/contributing: Remove unreferenced legacy diagramSilvan Mosberger2-118/+0
Not used anymore after b3fa79bb8965f7d3353daf99b137170314899a53
2023-08-10Merge pull request #241656 from mobusoperandi/update-doc-contributingSilvan Mosberger1-0/+3
fix outdated contributing to documentation
2023-08-10Update doc/contributing/contributing-to-documentation.chapter.mdSilvan Mosberger1-1/+1
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-08-10Merge pull request #241871 from mobusoperandi/doc-doc-syntax-chapterSilvan Mosberger1-1/+1
doc syntax section into chapter, link from nixos manual
2023-08-03fix outdated contributing to documentationAlejandro Sanchez Medina1-0/+3
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-29Merge pull request #245358 from asymmetric/nixpkgs-doc-build-instructionspennae1-18/+4
doc/contributing: update build instructions after nrd
2023-07-25doc/contributing: update build instructionsLorenzo Manacorda1-18/+4
We have moved away from Make since nixos-render-docs was introduced to build the nixpkgs manual in #239636.
2023-07-25nixpkgs/NixOS manuals: devmode featureShahar "Dawn" Or1-0/+8
Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-07-18docs/contributing: fix "ha256" -> "sha256" typoTheodore Ni1-1/+1
2023-07-16Merge pull request #240136 from NixOS/doc-review-patchesRobert Hensing1-1/+4
doc/reviewing-contributions: Add points about patches
2023-07-10nixos manual contributing link to nixpkgs syntaxAlejandro Sanchez Medina1-1/+1
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
2023-07-01doc: render nixpkgs manual with nrdpennae3-18/+123
also updates nixdoc to 2.3.0. the nixdoc update is not a separate commit because that would leave the manual build broken for one commit, potentially breaking bisects and rebases.
2023-06-29Revert "Revert "submitting-changes.chapter.md: explain *why* we have three ↵Adam Joseph1-10/+65
branches"" This reverts commit 7e6c518ce4f316cba803a40c19160606a8bfab9f. I misinterpreted Github's CI failure in the notification tab and thought that I had broken CI on origin/master, so I panic-reverted before I merged it (I thought they had). On closer inspection, it appears that the CI failure was not from the tip that I merged. This PR resubmits the reverted change. I'll wait for OfBorg to finish this time.
2023-07-12Revert "submitting-changes.chapter.md: explain *why* we have three branches"Adam Joseph1-65/+10
2023-06-29submitting-changes.chapter.md: explain *why* we have three branchesAdam Joseph1-10/+65
The manual does an okay job of explaining the rules for each of the three development branches, but really doesn't give any intuition as to why there are three (why not four? or two?) or how we got where we are today. This commit attempts to fix that, by explaining that there is one branch that allows mass-rebuild commits, and it has a fast-building branch both upstream and downstream of it (from the perspective of automated merges). I have also removed the term "stabilization" from the arc labels. This vague term is not defined anywhere, and does communicate any useful information without a longer explanation. Therefore it is not appropriate for use in a diagram. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2023-06-27doc/reviewing-contributions: Remove wrong fetchpatch detail Robert Hensing1-2/+2
It may have to be fetchpatch, fetchpatch2, or fetchurl. We should link somewhere, but we don't have a link target yet, so until then, remove the inaccurate info. Co-authored-by: Alyssa Ross <hi@alyssa.is>
2023-06-27doc/reviewing-contributions: Add points about patchesRobert Hensing1-0/+3
A weaker version of https://github.com/NixOS/nixpkgs/pull/186484#issuecomment-1608960696
2023-06-11doc/contributing/review-contributions: fix small typo (#237186)Lucas Eduardo1-1/+1
Signed-off-by: lucasew <lucas59356@gmail.com>
2023-06-11doc: correct typos and spelling (#237098)Andrew1-1/+1
2023-06-02coding-conventions: include the preceding upstream version when packaging a ↵Michael Raskin1-1/+3
commit without a version attached
2023-04-11Fix typo in coding-conventions.chapter.mdgeri17011-1/+1
2023-03-27doc: assign ids to many headingspennae1-1/+1
without stable ids on headings we cannot generate stable links to these headings. nrd complains about this, but the current docbook workflow does not. a few generated ids remain, mostly in examples and footnotes. most of the examples are generated by nixdoc (which has since gained MD export functions, and the MD export does generate IDs).
2023-02-07doc/contributing: remove last references to nameSandro Jäckel1-2/+2
pname+version should be used everywhere, so lets clean this up
2023-01-27nixos/manual: render module chapters with nixos-render-docspennae1-9/+5
this converts meta.doc into an md pointer, not an xml pointer. since we no longer need xml for manual chapters we can also remove support for manual chapters from md-to-db.sh since pandoc converts smart quotes to docbook quote elements and our nixos-render-docs does not we lose this distinction in the rendered output. that's probably not that bad, our stylesheet didn't make use of this anyway (and pre-23.05 versions of the chapters didn't use quote elements either). also updates the nixpkgs manual to clarify that option docs support all extensions (although it doesn't support headings at all, so heading anchors don't work by extension).
2023-01-09Merge pull request #208762 from ncfavier/link-manpages-options-docNaïm Favier1-1/+1
2023-01-03doc/contributing/quick-start: Replace dead thunderbird linkMartin Weinelt1-1/+1
The thunderbird derivation is using `buildMozillaMach` these days, shared with Firefox and Librefox, so it is probably the correct , although more complicated, successor.
2023-01-02doc: separate manpage URLs from the Pandoc filterNaïm Favier1-1/+1
Move the manpage-to-URL mapping to `doc/manpage-urls.json` so that we can reuse that file elsewhere, and generate the `link-manpages.lua` filter from that file. Also modify the Pandoc filter so that it doesn't wrap manpages that are already inside a link. Keeping a Lua filter is essential for speed: a Python filter would increase the runtime `md-to-db.sh` from ~20s to ~30s (but Python is not to blame; marshalling Pandoc types to and from JSON is a costly operation). Parsing in Lua seems tedious, so I went with the Nix way.
2022-12-27doc,nixos/doc: unescape ellipsesNaïm Favier1-1/+1
Leftovers from the CommonMark conversion.
2022-12-25doc/contributing/coding-conventions: add subsection for language serversAnderson Torres1-0/+4
2022-12-17doc: fix typosfigsoda1-1/+1
2022-12-10Update doc/contributing/coding-conventions.chapter.mdValentin Gagarin1-1/+1
Co-authored-by: Mostly Void <dit7ya@users.noreply.github.com>
2022-12-07docs: fixup wording and formatting on JavaScriptValentin Gagarin1-2/+2
2022-12-07document Import From Derivation (IFD) policyValentin Gagarin1-0/+15
2022-12-04doc: use sri hash syntaxColin Arnott2-6/+7
The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
2022-11-08nixpkgs/doc: fix admonition syntaxRyan Mulligan1-1/+1
Match admonition syntax in https://nixos.org/manual/nixpkgs/unstable/#chap-contributing
2022-10-23doc/contributing: Explicitly allow trivial changes by non-authorsStanisław Pitucha1-0/+6
Discussed and proposed at https://discourse.nixos.org/t/rules-around-adding-to-someones-pr/22671/3
2022-10-21Merge pull request #173506 from ↵Janne Heß1-0/+4
helsinki-systems/feat/document-no-breaking-commits doc: Document that the staging branches may be restricted
2022-10-12coding-conventions.chapter.md: update to account for #89885 (#191378)Adam Joseph1-6/+14
https://github.com/NixOS/nixpkgs/pull/89885 ensures that fetches are done securely (i.e. without `--insecure`) when the `hash` parameter is one of the four special "fake" hashes. However the manual was not updated in that PR. This commit updates the manual to account for the already-merged changes from that PR. Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-07doc/contributing: fix whitespaceSandro1-1/+1
2022-09-05Merge pull request #189241 from SuperSandro2000/git-full-hashAnderson Torres1-0/+3
doc/contributing: enforce full commit hashes on github
2022-09-04doc/contributing: enforce full commit hashes on githubSandro Jäckel1-0/+3
2022-08-31nixos/make-options-doc: add inline roles for varname/envarpennae1-1/+3
both of these render distinctly from plain literals in the manpage, and manpages even semantically distinguish between the two.
2022-08-04Correct instructions to obtain a hash for git reposMatthias Bartelmeß1-1/+1
2022-07-03doc/contributing: replace outdated 'nix run' commandsJohannes Maier1-7/+13
Use `nix-shell` instead, but also give an example of the correct flakes version of the commands.