about summary refs log tree commit diff
path: root/doc/functions
AgeCommit message (Collapse)AuthorFilesLines
2024-03-28treewide: Fix all Nix ASTs in all markdown filesJanne Heß1-11/+18
This allows for correct highlighting and maybe future automatic formatting. The AST was verified to work with nixfmt only.
2024-03-06Remove top level `with lib;` in docs (#293829)Philip Taron1-1/+2
2023-11-19lib.fileset: Move introduction section above the functionsSilvan Mosberger1-48/+0
Previously the introductory section and the function listings were in different places. But now nixdoc supports having them together with https://github.com/nix-community/nixdoc/pull/70!
2023-11-08lib.fileset: Remove "somewhat limited" from the docsSilvan Mosberger1-3/+0
It's not very limited anymore :)
2023-09-21lib.fileset: Various updates relating to union/unionsSilvan Mosberger1-1/+1
Also some minor formatting improvements
2023-09-01lib.fileset.toSource: initSilvan Mosberger1-0/+51
2023-07-01doc: render nixpkgs manual with nrdpennae2-14/+5
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-11doc: correct typos and spelling (#237098)Andrew1-1/+1
2022-12-27doc,nixos/doc: unescape apostrophesNaïm Favier1-2/+2
Leftovers from the CommonMark conversion.
2022-12-22doc/lib-functions: remove warningsNaïm Favier1-21/+3
Building the nixpkgs manual currently triggers a bunch of deprecation warnings, because every attribute in `lib` is evaluated to see if it's an attrset to generate locations for. Instead, share the lib subsets to include in the documentation between `lib-function-docs` and `lib-function-locations` so they can coordinate. Also generate the list of sections instead of duplicating it in `library.xml`.
2022-12-08doc: auto-generate asserts and attrset library docsRyan Mulligan4-1867/+4
If all the docs are auto-generated, it should be easier to convert them to Commonmark. Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io> Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
2022-10-26lib: Automatically generate lib.filesytem docsSilvan Mosberger1-0/+2
2022-03-13nixos/nixpkgs/doc: fix typo in the signature of attrsets.zipAttrsThéophile Wallez1-1/+1
2021-11-14doc: Fix xref in functions descriptionJan Tojnar1-2/+2
This was accidentally broken by 3c78ad2561a831dcbe6e193465f787019638d56b.
2021-08-07Merge pull request #105494 from alunduil/missing-operator-mapAttr-docDoron Behar1-1/+1
2021-06-28Merge pull request #124875 from hercules-ci/lib-sourcesRobert Hensing1-0/+2
lib.sources: docs, tests, refactoring
2021-06-22doc/functions/generators: fix code blockrnhmjoj1-1/+1
Small fixup of 606bf6d.
2021-06-11doc/functions/generators: convert to CommonMarkRyan Mulligan2-74/+56
2021-06-07doc/functions/prefer-remote-fetch: convert to CommonMarkRyan Mulligan2-21/+17
2021-06-07Merge pull request #125957 from ryantm/md-debugRyan Mulligan2-14/+5
doc/functions/debug: convert to CommonMark
2021-06-07doc/functions/debug: convert to CommonMarkRyan Mulligan2-14/+5
2021-06-07Merge pull request #125838 from jtojnar/strict-commonmarkRyan Mulligan1-2/+2
doc: Parse as CommonMark
2021-06-07doc: Use markdown syntax for xrefsJan Tojnar1-2/+2
Syntax is taken from MyST: https://myst-parser.readthedocs.io/en/latest/using/syntax.html#targets-and-cross-referencing
2021-06-05doc: nix-gitignore to CommonMarkAntoine Martin2-70/+49
Closes #125670
2021-05-29lib.sources: Generate docsRobert Hensing1-0/+2
2021-05-08nixpkgs-manual: lib.attrsets.mapAttrsToList returns a list (#122179)Erlend Pedersen1-1/+1
2021-03-14Fix type description for attrByPathFlorian Engel1-1/+1
The output type was missing
2021-03-04doc: FormatRobert Hensing1-4/+2
2021-02-07Merge pull request #105492 from alunduil/assertOneOf-typoDoron Behar1-1/+1
2021-01-28lib/attrsets: add cartesianProductOfSets functionJacek Galowicz1-0/+39
2020-11-30nixos/nixpkgs/doc: add missing operator to attrsets.mapAttrs example.Alex Brandt1-1/+1
It looks like this operator was missing (just a dropped +) unless I'm missing something unexpected about the Nix syntax I've forgotten.
2020-11-30nixos/nixpkgs/docs: fix typo in assertOneOf exampleAlex Brandt1-1/+1
This example was confusing at first because the element the message indicated wasn't in the list of possible values was but the possible values didn't match up either. This ensures the example is consistent with the logic being presented.
2020-03-01Merge pull request #68491 from roberth/fix-dontRecurseIntoAttrsRobert Hensing1-0/+44
Fix dontRecurseIntoAttrs + add to lib + doc
2020-01-12fix catAttrs documentation signatureivann1-1/+1
2019-10-21doc: move fhs and mkShell under builders/specialFrederik Rietdijk2-146/+0
In my opinion Functions should only contain pure functions. These are both meant to provide derivations so I put them under Builders. Don't know exactly *where* to put them so "special" it is...
2019-10-21doc: move overrides into separate chapterFrederik Rietdijk1-151/+0
2019-10-21doc: move image builders into new images chapterFrederik Rietdijk6-747/+0
2019-10-20doc: move fetchers and trivial builders under buildersFrederik Rietdijk2-227/+0
2019-09-18doc: re-formatJan Tojnar16-617/+186
2019-09-17doc/stdenv: document meson variablesworldofpeace2-26/+20
2019-09-11Document attrsets.recurseIntoAttrsRobert Hensing1-0/+44
2019-09-09ociTools: fixing outdated documentationKatharina Fey1-3/+3
2019-09-04ociTools: initKatharina Fey1-0/+76
2019-08-15doc/functions/dockertools.xml: clarify that "Commands" means shell commandsGraham Christensen1-1/+1
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
2019-08-12dockertools.buildLayeredImage: default layer count up to 100Graham Christensen1-1/+4
2019-08-12dockerTools: document extraCommandsGraham Christensen1-0/+13
2019-07-10doc: fix after snaptools mergeGraham Christensen3-2/+42
2019-06-18snapTools.makeSnap: initGraham Christensen1-0/+74
2019-06-17doc: Use prompt more oftenJan Tojnar1-9/+9
2019-06-17doc: fix spurious whitespaceJan Tojnar4-24/+24