1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
Commit graph

34 commits

Author SHA1 Message Date
Valentin Gagarin 68ded85b87 NixOS 23.11 was released 2023-12-04 16:52:49 +01:00
Valentin Gagarin f587e1d1cf use sentence case for titles consistently 2023-11-27 07:31:32 +01:00
Valentin Gagarin 8264c846ef link to new Nix reference manual page 2023-11-27 07:31:32 +01:00
fricklerhandwerk c70711a9d5 update all links to the Nix manual 2023-11-27 07:30:36 +01:00
fricklerhandwerk 21bfef408a host Nix reference manual on nix.dev
this is the most cursed setup you will see any time soon.

we're dumping the Nix manual unchanged into the build tree *after*
building. the reason is that we'd want to link to it from our table of
contents, but because Sphinx does not allow adding arbitrary files to
the build output in arbitrary locations (only `_static` works). but we
want to place the manual behind a particular URL, and the alternative of
maintaining URL rewrites (e.g. in nginx) is not accessible here because the
infrastructure is managed somewhere else.

now that the files won't appear in their desired locations at Sphinx
build time, we can't use relative links to reference them, therefore we
have to resort to pointing to the web URL the manual will appear at.
this is terrible and I'm sorry. please fix this if you have a better
idea. once we use URLs though, we have to avoid linkchecking, since
those files may not be there before deploying them.

figuring all of this out took way longer than anyone would wish.

Co-authored-by: Alejandro Sanchez Medina <alejandrosanchzmedina@gmail.com>
2023-11-27 07:30:35 +01:00
fricklerhandwerk bb1f44c67b add link to awesome-nix
this will hopefully help people find useful things a lot faster
2023-10-09 17:32:32 +02:00
Lorenzo Manacorda 1dcc111a4d *: fix editorconfig errors 2023-10-06 10:59:27 +02:00
Valentin Gagarin 03e49423d1
fix typos, remove superfluous ellipses 2023-07-21 11:36:25 +02:00
Valentin Gagarin d49aed6039
remove collection of software Nix has influenced (#295)
this is marketing material and should not be in the responsibility of
documentation maintainers to curate.
2023-07-17 15:19:13 +01:00
Valentin Gagarin b4628cdd04
Remove "reproducible" from glossary (#646)
* Remove "reproducible" from glossary

It is not part of the official terminology the nixos documentation team established in https://github.com/NixOS/nix.dev/pull/263.

It was mixed in https://github.com/NixOS/nix.dev/pull/380 and messed up the official status of the terms. This change fixes that!

It can be added again when we figured out what we mean by it (https://github.com/NixOS/nix.dev/issues/464).

---------

Co-authored-by: davidak <davidak@users.noreply.github.com>
2023-07-13 21:33:29 +02:00
Valentin Gagarin 8f4f1936c0 rename the Nix language tutorial
this collapses the "don't panic" section into a motivating introduction and gives
the document a more distinctive name.

this also addresses feedback stating that having "basics" in the title
may be misleading about the effort required to work through the
tutorial.
2023-07-13 21:23:23 +02:00
Aaron Bennett 6d7bee54c5
Fix typo (#619)
Remove trailing backtick.
2023-06-27 00:12:38 +02:00
Yuki Langley 9aaa97a8b0
Make home page cards clickable (#616) 2023-06-25 14:13:20 +02:00
Valentin Gagarin 0ca05fd6dc
glossary: add links to manuals and source code (#550) 2023-06-08 02:18:51 +02:00
Valentin Gagarin e47b082d22 turn anti-patterns into best practices
make generous use of admonitions
2023-05-12 05:49:48 +02:00
Zach Mitchell 20f2673d70 Add recipes, reference, and contributing sections 2023-04-13 21:50:10 -04:00
Valentin Gagarin e5738519fc
Merge pull request #449 from fricklerhandwerk/pinning-fixups
fixups to pinning overview
2023-04-04 10:35:44 +02:00
Valentin Gagarin d433507a62
clarify local expression path 2023-04-04 10:29:59 +02:00
Yuki Langley 25247077f4
Merge branch 'master' into information-overload 2023-03-29 14:20:53 +07:00
Valentin Gagarin 05d79a4203 fixups to pinning overview
remove the NixOS example, as the sample has lots of caveats, such as
having to rebuild NixOS a second time to make it effective.
2023-02-16 06:23:33 +01:00
Yuki Langley 3f95a892ff
Rewrite "Set up development environment" (#376)
* Rewrite "Set up development environment"

The previous version is specific to Python as it uses
`buildPythonApplication` instead of `mkShell`.

This one is more general but maintains the same Python Flask web
application example.

* Update pinning-nixpkgs to use 22.11

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-10 04:33:06 +01:00
Yuki Langley d58f1503da Remove information overload from toctrees 2022-12-08 20:45:53 +01:00
Yuki Langley ac06c07360 Make code blocks consistent
Illustration of shell sessions or terminals should use shell-session.

Entire expressions should be encapsulated in code blocks, not inline code.
2022-11-08 17:37:41 +01:00
Nejc Zupan 5ab8d5a77f Fix leftovers from .rst -> .md migration
Sphinx doesn't care about filetype suffixes so we didn't see any errors.

But it's still nice to do this bit of gardening, I suppose?
2022-10-22 17:21:04 +02:00
Nejc Zupan 81339ce4f8 Convert reference/*.rst to .md 2021-12-10 12:24:12 +00:00
Nejc Zupan ca2f7b4a95 fix a bunch more links 2021-12-06 16:48:55 +00:00
Gurjeet Singh 817e04a4ae Remove duplicate example in "Pinning" section 2021-11-22 14:47:46 -08:00
Ilan Joselevich 9a554fd04f replace all mentions of 20.03 and 20.09 with 21.05 2021-06-13 14:21:02 +03:00
Damien Cassou faae37da83
Avoid with attrset; ... anti-pattern 2020-06-28 20:22:57 +02:00
Damien Cassou 561ac903a1
Quote URLs in Nix expressions
Unquoted URLs are an anti-pattern that we recommend against.
2020-06-28 20:18:55 +02:00
Eduard Bopp b57a05066e Remove trailing whitespace from rst files 2020-06-21 14:26:51 +02:00
Domen Kožar 64c7fa54a1
don't recommend nixpkgs-channels anymore and bump NixOS version 2020-06-17 15:49:18 +02:00
Domen Kožar 8abe2ee0e9
pinning nixpkgs: link from tutorial to reference 2020-06-11 16:15:35 +02:00
Domen Kožar e6d530bffa
Start reference and reorg some of faq 2020-06-10 11:40:48 +02:00