1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Merge pull request #14396 from roberth/c-api-docs

doc: Improve libexpr-c docs
This commit is contained in:
John Ericson 2025-10-29 22:38:04 +00:00 committed by GitHub
commit 66d7b8fe1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 237 additions and 78 deletions

View file

@ -240,3 +240,9 @@ $ configurePhase
$ ninja src/external-api-docs/html
$ xdg-open src/external-api-docs/html/index.html
```
If you use direnv, or otherwise want to run `configurePhase` in a transient shell, use:
```bash
nix-shell -A devShells.x86_64-linux.native-clangStdenv --command 'appendToVar mesonFlags "-Ddoc-gen=true"; mesonConfigurePhase'
```