Files

15 lines
976 B
Markdown
Raw Permalink Normal View History

2025-06-11 17:58:02 +01:00
# libloot Documentation
This directory contains documentation for libloot and LOOT's metadata syntax. It does not include Rust API reference documentation: that is generated using `cargo doc`.
2025-06-11 18:59:59 +01:00
To build the documentation, install Python and [uv](https://docs.astral.sh/uv/getting-started/installation/) and make sure they're accessible from your `PATH`, then run:
2025-06-11 17:58:02 +01:00
```
cd ../docs
uv run -- sphinx-build -b html . build/html
```
2025-06-11 18:59:59 +01:00
If [Doxygen](https://www.doxygen.nl/) is also installed and accessible from your `PATH`, the C++ API's reference documentation will also be included.
2025-06-11 17:58:02 +01:00
The documentation files for dependency licenses and copyright notices are auto-generated using [cargo-attribution](https://github.com/ameknite/cargo-attribution): to regenerate them run `py scripts/licenses.py`. The script is hardcoded to generate files for the C++ wrapper's dependencies, but in practice that doesn't add any content over doing the same for just the core libloot Rust library.