mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 14:32:43 -04:00
a792a25bb0
* update contributing instructions running devmode with `--run` doesn't actually work, it doesn't pick up the changes
1.3 KiB
1.3 KiB
Contributing to nix.dev
nix.dev is a community effort to collect, create, and maintain world-class learning resources for Nix.
We strongly encourage everyone interested to participate:
- Make a pull request if you want to introduce an incremental change.
- Open an issue if you want to discuss a significant change before starting to work on it.
Please read our contributor guide for more details.
Local preview
Enter the development environment with nix-shell
, or set up direnvand run
direnv allow`, and then:
[nix-shell:nix.dev]$ devmode
and open a browser at http://localhost:5500.
As you make changes, your browser should auto-reload.
To manually test redirects:
[nix-shell:nix.dev]$ nix-build -A build
[nix-shell:nix.dev]$ netlify dev -d result
Updating reference manuals
With the current setup, the Nix manual hosted on nix.dev does not get updated automatically with new releases. The following manual steps are required:
nix-shell --run update-nixpkgs-releases
nix-shell --run update-nix-releases