diff --git a/Makefile b/Makefile index 9ffb2897c104..80e50360a37e 100644 --- a/Makefile +++ b/Makefile @@ -131,6 +131,7 @@ update-metadata: build .PHONY: doc-setup doc-setup: client @echo "Setting up documentation build environment" + pip3 install gitpython cd doc; LOCAL_SPHINX_BUILD=True python3 .sphinx/build_requirements.py python3 -m venv doc/.sphinx/venv . $(SPHINXENV) ; pip install --require-virtualenv --upgrade -r doc/.sphinx/requirements.txt --log doc/.sphinx/venv/pip_install.log diff --git a/doc/.readthedocs.yaml b/doc/.readthedocs.yaml index 80bd02411c16..df0a605e53a9 100644 --- a/doc/.readthedocs.yaml +++ b/doc/.readthedocs.yaml @@ -13,6 +13,7 @@ build: python: "3.11" jobs: post_checkout: + - python3 -m pip install gitpython - cd doc; python3 .sphinx/build_requirements.py pre_build: - go build -ldflags "-s -w" -o trimpath -o lxc.bin ./lxc