forked from AFPy/python-docs-fr
Tell where html is output, and how to see them. (#983)
This commit is contained in:
parent
d5b2984dbc
commit
ccf996837d
9
Makefile
9
Makefile
|
@ -34,7 +34,14 @@ ifneq "$(shell cd $(CPYTHON_CLONE) 2>/dev/null && git describe --contains --all
|
||||||
endif
|
endif
|
||||||
mkdir -p $(CPYTHON_CLONE)/locales/$(LANGUAGE)/
|
mkdir -p $(CPYTHON_CLONE)/locales/$(LANGUAGE)/
|
||||||
ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
|
ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
|
||||||
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) SPHINXOPTS='-qW -j$(JOBS) -D locale_dirs=../locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' $(MODE)
|
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) \
|
||||||
|
SPHINXOPTS='-qW -j$(JOBS) -D locale_dirs=../locales -D language=$(LANGUAGE) -D gettext_compact=0 -D latex_engine=xelatex -D latex_elements.inputenc= -D latex_elements.fontenc=' \
|
||||||
|
$(MODE) && echo "Build success, files in $(CPYTHON_CLONE)Doc/build/$(MODE), run 'make serve' or 'python3 -m http.server -d $(CPYTHON_CLONE)Doc/build/$(MODE)' to see them."
|
||||||
|
|
||||||
|
|
||||||
|
.PHONY: serve
|
||||||
|
serve:
|
||||||
|
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ serve
|
||||||
|
|
||||||
|
|
||||||
$(SPHINX_CONF):
|
$(SPHINX_CONF):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user