docs: update build instructions

This commit is contained in:
aclist 2026-06-05 18:36:41 +09:00
parent 8edb38f175
commit 40e244e05a

View File

@ -1,18 +1,22 @@
# TODO: link to here from sphinx docs # TODO: link to here from sphinx docs
# Installing dev dependencies ## Installing from source
uv pip install -e .[dev]
# Setting up precommit hooks ### Fetch submodules
pre-commit install
# Fetching submodules
git submodule update --recursive --init git submodule update --recursive --init
# Building documentation ### Install with dev dependencies
uv pip install -e '.[dev]'
## Miscellaneous
### Setting up precommit hooks
pre-commit install
### Building documentation
sphinx-build -M html source build -a sphinx-build -M html source build -a
# Building standalone DZGUI release binaries ### Building standalone release binaries
1. Set up the build target: `rustup target add x86_64-unknown-linux-musl` 1. Set up the build target: `rustup target add x86_64-unknown-linux-musl`
2. Run `python3 scripts/release.py` 2. Run `python3 scripts/release.py`
3. Generate a release and tag against the bundled `dzgui` executable 3. Generate a release and tag against the resulting tarfile generated in `dist`