This project is built with Nix. The flake provides a reproducible build and generates the version file automatically.
nix buildThe build produces ./result with the installed package and CLI tools.
nix runnix run .#ld-decodenix run .#ld-ldf-reader-pynix developThe flake generates a PEP 440 compliant version string and writes it to lddecode/version during the build. The CLI --version output comes from that file and includes git commit and dirty status when available.
The project documentation lives in docs/ and is built with MkDocs Material. All required dependencies (mkdocs, mkdocs-material, mkdocs-awesome-nav) are provided by the Nix dev shell.
nix develophttp://127.0.0.1:8000/:
mkdocs servesite/:
mkdocs build./result/):
nix build .#docs