aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/expressions
AgeCommit message (Collapse)Author
2022-08-04manual: remove "Writing Nix Expressions" chapterValentin Gagarin
it is out of date, all over the place in level of detail, is really about `nixpkgs`, and in general instructions should not be part of a reference manual. also: - update redirects and internal links - use "Nix language" consistently
2022-08-03Fix the html id of the list headersThéophane Hufschmitt
2022-08-03encode primitive as list with anchorsValentin Gagarin
to make it consistent with builtins and configuration options
2022-07-28manual: use singular in body, tooValentin Gagarin
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2022-07-28manual: values -> data typesValentin Gagarin
2022-07-28manual: use singular for headingsValentin Gagarin
2022-07-28manual: simple values -> primitivesValentin Gagarin
"simple" is a loaded term
2022-07-28manual: use subheadings for primitive typesValentin Gagarin
this gives us HTML anchors for each of them
2022-07-28manual: set -> attribute setValentin Gagarin
reword description to have shorter sentences.
2022-05-26doc: Manually insert some anchorsJan Tojnar
2022-05-26doc: Add anchors to long listsJan Tojnar
Added using the following sed scripts: - For command-ref/opt-common.md: s~- `(--?)([^`]+)`~- [`\1\2`]{#opt-\2}~g - For expressions/builtin-constants.md: s~- `(builtins\.?)([^`]+)`~- [`\1\2`]{#builtins-\2}~g - For expressions/advanced-attributes.md s~^ - `([^`]+)`~ - [`\1`]{#adv-attr-\1}~g and manually adjusted outputHashAlgo & outputHashMode. - For glossary.md s~^ - (`([^`]+)`|(.+)) ?\\~ - [\1]{#gloss-\2\3}\\~g; s~(gloss-\w+) ~\1-~g and manually adjusted anchors for Nix expression, user environment, NAR, ∅ and ε. - For command-ref/env-common.md s~^ - `([^`]+)`~ - [`\1`]{#env-\1}~g'
2022-01-13TweakEelco Dolstra
2022-01-11Add link to explanation when introducing a new operatorTheodor René Carlsen
The logical implication operator is included in this section but never explained. It might stump new readers with a pretty uncommon operator, and it's never referenced explicitly.
2021-11-24Make lists be comparableSilvan Mosberger
Makes lists comparable using lexicographic comparison. Increments builtins.langVersion in order for this change to be detectable
2021-11-18doc: Fix escape for operator "logical or"Lorenz Leutgeb
See https://matrix.to/#/!KqkRjyTEzAGRiZFBYT:nixos.org/$hhMb6AdRIXfRkv_LsNsiQJuch7AQ_b6szr4tfawFy-4
2021-11-17doc: De-emphasize nix-env without -AJan Tojnar
The manual uses `nix-env -i` without `-A` prominently, teaching a bad practice to newcomers.
2021-11-13fix many doc typosKevin Amado
2021-11-03Fix typosDimitris Apostolou
2021-08-31add documentation for path antiquotationsTaeer Bar-Yam
2021-05-05doc: builtins: use a definition listAlyssa Ross
This looks a lot better (and is also more semantically meaningful). Since this list is generated in a Nix expression, I don't think using HTML here is going to be the thing that puts people off modifying this part of the documentation!
2021-04-23Merge branch 'remove-trailing-spaces' of github.com:NixOS/nixEelco Dolstra
2021-04-23Replace the trailing markdown spaces by a backslashregnat
They are equivalent according to <https://spec.commonmark.org/0.29/#hard-line-breaks>, and the trailing spaces tend to be a pain (because the make git complain, editors tend to want to remove them − the `.editorconfig` actually specifies that − etc..).
2021-04-23(briefly) document how to build ca derivationsregnat
2021-02-01Remove newline in operator table.Dominik Schrempf
2020-08-25Move import docsEelco Dolstra
2020-08-24Generate builtins section of the manualEelco Dolstra
2020-08-24Move primop docs inlineEelco Dolstra
This makes them available to 'nix repl'.
2020-08-24Allow primops to have Markdown documentationEelco Dolstra
2020-07-31Enable syntax highlightingEelco Dolstra
2020-07-24Fix internal linksEelco Dolstra
2020-07-24Fix some dangling referencesEelco Dolstra
2020-07-24Get rid of footnotesEelco Dolstra
Markdown doesn't support them.
2020-07-23<replaceable> -> <emphasis>Eelco Dolstra
Pandoc doesn't know <replaceable> so let's force it to be rendered as italics.
2020-07-23<simplesect> -> <section>Eelco Dolstra
Pandoc silently ignores <simplesect>...
2020-07-23Get rid of <example>Eelco Dolstra
Markdown doesn't have floats so we can't have this.
2020-07-23Get rid of callouts since Markdown doesn't support themEelco Dolstra
2020-07-23ReconvertEelco Dolstra
2020-07-23Pandoc conversionEelco Dolstra