about summary refs log tree commit diff
path: root/doc/contributing
AgeCommit message (Collapse)AuthorFilesLines
2022-01-15doc: fix broken linkNicolas Benes1-1/+1
The file was renamed/modified in 3f40ca4 but the documentation was not updated. Closes #155049.
2022-01-03Merge pull request #152451 from ncfavier/unix-man-urlsRenaud1-1/+1
doc: remove reference to unix-man-urls.lua
2021-12-30Merge pull request #149867 from erikarvstedt/docs-stable-releaseJan Tojnar1-3/+13
docs: improve section `Stable release branches`
2021-12-28doc: remove reference to unix-man-urls.luaNaïm Favier1-1/+1
2021-12-28docs: improve section `Stable release branches`Erik Arvstedt1-3/+13
- Explain branch naming scheme for stable release branches - Split into subsections `Automatically backporting ...` and `Manually backporting...`.
2021-12-18doc: minimize mentions of nix-env -i without -A in nixpkgs manualGuillaume Girol1-4/+4
2021-10-28doc: fix typoSandro Jäckel1-1/+1
2021-10-05doc/contributing: add lib.optional (#121251)Sandro1-0/+15
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2021-09-07Merge pull request #130047 from NixOS/doc-manpage-roleJan Tojnar1-0/+7
doc: Add support for manpage references
2021-08-14nixpkgs-docs: when to prefer passthru.tests over installCheckPhaseArnout Engelen1-1/+20
And mention you can have either lightweight 'package' or more heavyweight 'NixOS' (module) tests. This was suggested at https://github.com/ryantm/nixpkgs-update/issues/260#issuecomment-821287971 and discussed further at https://github.com/NixOS/nixpkgs/pull/119731
2021-08-02Merge pull request #130207 from hercules-ci/passthru-sensible-timeoutdavidak1-1/+1
doc/coding-conventions: Increase passthru test timeout 3s -> 60s
2021-07-28Merge pull request #126001 from est31/masterRyan Mulligan1-1/+1
Add the -a param to the docs
2021-07-27manuals: Describe how to link NixOS tests from packagesNiklas Hambüchen1-1/+27
2021-07-14doc/coding-conventions: Increase passthru test timeout 3s -> 60sRobert Hensing1-1/+1
3s is too small a margin for a loaded slow system to start a bloated program. This leads to problems when tests are written on decent dev hardware but later run on build farms of potentially slower hardware, particularly in the case of non x86. The chance of needing the timeout is actually very small, so those rare 57s are a reasonable price to pay for fewer timeouts on build farms, each of which should be investigated and usually fixed by increasing the timeout.
2021-07-13doc: Linkify man page referencesJan Tojnar1-1/+3
2021-07-13doc: Add support for MyST rolesJan Tojnar1-0/+5
Officially, only the manpage role is supported at the moment. Unlike in rST, the syntax uses braces instead of colons: {manpage}`nix.conf(5)`
2021-06-26CONTRIBUTING.md: Move to repo root, where it is more visible.Niklas Hambüchen1-2/+2
We found that many users found it difficult to locate this document. Github supports it in the root, see: https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/setting-guidelines-for-repository-contributors
2021-06-09doc/manual: Add backport criteriaJonathan Ringer1-0/+11
2021-06-07doc: Use markdown syntax for xrefsJan Tojnar3-3/+8
Syntax is taken from MyST: https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
2021-06-07doc: prepare for commonmarkJan Tojnar4-5/+10
We are still using Pandoc’s Markdown parser, which differs from CommonMark spec slightly. Notably: - Line breaks in lists behave differently. - Admonitions do not support the simpler syntax https://github.com/jgm/commonmark-hs/issues/75 - The auto_identifiers uses a different algorithm – I made the previous ones explicit. - Languages (classes) of code blocks cannot contain whitespace so we have to use “pycon” alias instead of Python “console” as GitHub’s linguist While at it, I also fixed the following issues: - ShellSesssion was used - Removed some pointless docbook tags.
2021-06-06Add the -a param to the docsest311-1/+1
The patch utility does not understand git formatted patches. For text files, there is no problem, but binary files use the git format. The -a param makes git diff put binary files into the patch in raw format that can be understood by the patch tool.
2021-06-06doc: Document markup syntaxJan Tojnar1-1/+71
Not depicted: - Diagrams using Lua filter and dot - fenced code attributes (enabled by the attributes extension)
2021-06-05Merge pull request #125494 from siraben/remove-stdenv-libSandro1-3/+0
2021-06-05doc: Fix make in nix-shellJan Tojnar1-1/+1
When running make manually, makeFlags will not be passed. Let’s just use an environment variable.
2021-06-03coding-conventions: remove reference to stdenv.libBen Siraphob1-3/+0
2021-05-28doc/coding-conventions: Add documentation for fetchpatch optional argumentsStefan Frijters1-0/+10
2021-05-25backport action: document the workflowDomen Kožar1-0/+2
2021-05-23doc/submitting-changes: should -> mustAlyssa Ross1-1/+1
To me, as a native English speaker, this doesn't change the meaning of the sentence at all. But to a non-native speaker, this can read like the staging-next rules are only recommendations. Let's make this clearer.
2021-05-17Merge pull request #121252 from NixOS/SuperSandro2000-patch-1Sandro1-0/+12
doc/contributing: add unnecessary string conversions
2021-05-01Merge pull request #120534 from davidak/package-testsLuke Granger-Brown1-0/+70
doc: add instructions for creating package tests
2021-04-30doc/contributing: add unnecessary string conversionsSandro1-0/+12
2021-04-30doc/contributing: clarify stdenv.lib deprecationSandro1-1/+2
2021-04-26doc/submitting-changes: remove incorrect remarkPatrick Hilhorst1-1/+1
Tests don't only apply to NixOS modules, see for example tests/vscodium
2021-04-24doc: add instructions for creating package testsdavidak1-0/+70
2021-04-23doc/contributing/*.xml: Convert to markdownBobby Rong8-1613/+819
2021-04-21Merge pull request #116475 from davidak/doc-remove-packagesSamuel Dionne-Riel1-0/+46
doc: add instructions to remove a package
2021-04-20doc: add instructions to remove a packagedavidak1-0/+46
Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Ben Siraphob <bensiraphob@gmail.com>
2021-04-20docs: correct some englishEvils1-11/+11
2021-03-17documentation: Add content about Vulnerability roundupsPamplemousse2-9/+55
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-03-04doc: FormatRobert Hensing1-9/+3
2021-02-19docs: clarify stagingThomas Bereknyei1-1/+4
Specify that the merges from master to staging-next to staging are performed by GitHub actions. This helps the reader understand the relationship between the branches.
2021-01-26Merge pull request #109663 from Pamplemousse/documentationRobert Hensing1-1/+1
documention corrections
2021-01-20doc: add function argument order convention (#110060)V1-0/+6
* doc: add function argument order convention Ordering by usage is the de facto ordering given to arguments. It's logical, and makes finding argument usage easier. Putting lib first is common in NixOS modules, so it's reasonable to mirror this in nixpkgs proper. Additionally, it's not a package as such, has zero dependencies, and can be found used anywhere in a derivation. * doc: clean up usage of lib
2021-01-19documentation: correct documentation helpPamplemousse1-1/+1
`PANDOC_LUA_FILTERS_DIR` is set in `makeFlags` in `doc/default.nix`, and needs to be explicitely passed to `make` when called manually. Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-01-10doc: add "prefer lib over stdenv.lib" conventionAlyssa Ross1-0/+9
I think we should have something in the manual people can point to about this, to avoid rehashing it over and over in PRs. "stdenv.lib" makes it look like lib is part of stdenv, which it isn't, and makes it even more confusing as a newcomer to figure out what stdenv is (and isn't).
2020-12-09doc: Add staging workflow diagramJan Tojnar1-0/+19
2020-12-05doc: Clean up submitting changesJan Tojnar1-34/+19
2020-12-05doc: convert Submitting changes to MarkdownJan Tojnar2-455/+213
2020-12-05doc: Rename submitting-changes to chapterJan Tojnar1-0/+0
2020-12-01Merge pull request #101806 from unode/docsDomen Kožar1-5/+5
docs: Add 'how to request merging rights'