mirror of
https://github.com/NixOS/nix.dev.git
synced 2024-10-18 00:06:26 -04:00
Merge pull request #905 from NixOS/readme-deploy-test
add more preview instructions to README
This commit is contained in:
commit
a2c8326dcf
12
README.md
12
README.md
|
@ -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"
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue