mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Merge pull request #10604 from hercules-ci/doc-manual-c-api
doc/manual: Add C API to menu
This commit is contained in:
commit
7e104840a9
3 changed files with 19 additions and 1 deletions
|
@ -112,6 +112,7 @@
|
||||||
- [Store Path Specification](protocols/store-path.md)
|
- [Store Path Specification](protocols/store-path.md)
|
||||||
- [Nix Archive (NAR) Format](protocols/nix-archive.md)
|
- [Nix Archive (NAR) Format](protocols/nix-archive.md)
|
||||||
- [Derivation "ATerm" file format](protocols/derivation-aterm.md)
|
- [Derivation "ATerm" file format](protocols/derivation-aterm.md)
|
||||||
|
- [C API](c-api.md)
|
||||||
- [Glossary](glossary.md)
|
- [Glossary](glossary.md)
|
||||||
- [Contributing](contributing/index.md)
|
- [Contributing](contributing/index.md)
|
||||||
- [Hacking](contributing/hacking.md)
|
- [Hacking](contributing/hacking.md)
|
||||||
|
|
16
doc/manual/src/c-api.md
Normal file
16
doc/manual/src/c-api.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
# C API
|
||||||
|
|
||||||
|
Nix provides a C API with the intent of [_becoming_](https://github.com/NixOS/nix/milestone/52) a stable API, which it is currently not.
|
||||||
|
It is in development.
|
||||||
|
|
||||||
|
See:
|
||||||
|
- C API documentation for a recent build of master
|
||||||
|
- [Getting Started]
|
||||||
|
- [Index]
|
||||||
|
- [Matrix Room *Nix Bindings*](https://matrix.to/#/#nix-bindings:nixos.org) for discussion and questions.
|
||||||
|
- [Stabilisation Milestone](https://github.com/NixOS/nix/milestone/52)
|
||||||
|
- [Other C API PRs and issues](https://github.com/NixOS/nix/labels/c%20api)
|
||||||
|
- [Contributing C API Documentation](contributing/documentation.md#c-api-documentation), including how to build it locally.
|
||||||
|
|
||||||
|
[Getting Started]: https://hydra.nixos.org/job/nix/master/external-api-docs/latest/download-by-type/doc/external-api-docs
|
||||||
|
[Index]: https://hydra.nixos.org/job/nix/master/external-api-docs/latest/download-by-type/doc/external-api-docs/globals.html
|
|
@ -207,8 +207,9 @@ or inside `nix-shell` or `nix develop`:
|
||||||
# xdg-open ./outputs/doc/share/doc/nix/internal-api/html/index.html
|
# xdg-open ./outputs/doc/share/doc/nix/internal-api/html/index.html
|
||||||
```
|
```
|
||||||
|
|
||||||
## C API documentation (experimental)
|
## C API documentation
|
||||||
|
|
||||||
|
Note that the C API is not yet stable.
|
||||||
[C API documentation] is available online.
|
[C API documentation] is available online.
|
||||||
You can also build and view it yourself:
|
You can also build and view it yourself:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue