forked from AFPy/python-docs-fr
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:
parent
7f7a3d9575
commit
322349581a
1
Makefile
1
Makefile
|
@ -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"; \
|
||||
|
|
Loading…
Reference in New Issue