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..9a420300c3c7 100644 --- a/doc/.readthedocs.yaml +++ b/doc/.readthedocs.yaml @@ -11,6 +11,8 @@ build: tools: golang: "1.21" python: "3.11" + apt_packages: + - python3-pip jobs: post_checkout: - cd doc; python3 .sphinx/build_requirements.py