mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Merge pull request #11440 from fricklerhandwerk/fix-docs-build-instructions
update instructions to build the manual
This commit is contained in:
commit
644a034783
@ -13,13 +13,13 @@ Incremental refactorings of the documentation build setup to make it faster or e
|
|||||||
Build the manual from scratch:
|
Build the manual from scratch:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
nix-build $(nix-instantiate)'!doc'
|
nix-build -E '(import ./.).packages.${builtins.currentSystem}.nix.doc'
|
||||||
```
|
```
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
```console
|
```console
|
||||||
nix build .#^doc
|
nix build .#nix^doc
|
||||||
```
|
```
|
||||||
|
|
||||||
and open `./result-doc/share/doc/nix/manual/index.html`.
|
and open `./result-doc/share/doc/nix/manual/index.html`.
|
||||||
|
Loading…
Reference in New Issue
Block a user