Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3b8102

Browse files
authored
Propose to directly open static files. (#1045)
1 parent d845e09 commit a3b8102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# documented in gen/src/3.6/Doc/Makefile as we're only delegating the
1717
# real work to the Python Doc Makefile.
1818

19-
CPYTHON_CLONE := ../cpython/
19+
CPYTHON_CLONE := $(realpath ../cpython/)
2020
SPHINX_CONF := $(CPYTHON_CLONE)/Doc/conf.py
2121
LANGUAGE := fr
2222
VENV := $(shell pwd)/venv/
@@ -36,7 +36,7 @@ endif
3636
ln -nfs $(shell $(PYTHON) -c 'import os; print(os.path.realpath("."))') $(CPYTHON_CLONE)/locales/$(LANGUAGE)/LC_MESSAGES
3737
$(MAKE) -C $(CPYTHON_CLONE)/Doc/ VENVDIR=$(VENV) PYTHON=$(PYTHON) \
3838
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=' \
39-
$(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."
39+
$(MODE) && echo "Build success, open file://$(CPYTHON_CLONE)/Doc/build/html/index.html or run 'make serve' to see them."
4040

4141

4242
.PHONY: serve

0 commit comments

Comments
 (0)