1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 00:06:26 -04:00

add more preview instructions to README

This commit is contained in:
Valentin Gagarin 2024-02-07 01:03:36 +01:00
parent 2720a4121e
commit cafff4801c

View file

@ -7,10 +7,18 @@ Official documentation for getting things done with Nix.
## Contributing
Content is written in MyST, a superset of CommonMark. For its syntax, see the [MyST docs](https://myst-parser.readthedocs.io/en/latest/syntax/typography.html#syntax-core).
For contents and style see [contribution guide](CONTRIBUTING.md).
## Local preview
Run `nix-shell --run devmode` and open a browser at <http://localhost:5500>.
As you make changes your browser should auto-reload within a few seconds.
For contents and style see [contribution guide](CONTRIBUTING.md).
To manually test [redirects](./_redirects):
Content is written in MyST, a superset of CommonMark. For its syntax, see the [MyST docs](https://myst-parser.readthedocs.io/en/latest/syntax/typography.html#syntax-core).
```console
nix-shell -p netlify-cli --run "cd result; netlify dev"
```