FIX: Checkout before telling the user to install Sphinx. (#1575)

So they use the Sphinx required from our branch, not the Sphinx from another random branch.

Fixes: #1556
This commit is contained in:
Julien Palard 2021-03-24 22:59:41 +01:00 committed by GitHub
parent 7f7a3d9575
commit 322349581a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ ensure_prerequisites:
exit 1; \
fi
@if ! (blurb help >/dev/null 2>&1 && sphinx-build --version >/dev/null 2>&1); then \
git -C $(CPYTHON_PATH) checkout $(BRANCH); \
echo "You're missing dependencies, please enable a venv and install:"; \
echo ""; \
echo " python -m pip install -r requirements.txt -r $(CPYTHON_PATH)/Doc/requirements.txt"; \