File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 41
41
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
42
42
.PHONY : build
43
43
build : setup
44
+ # FIXME: Relative paths for includes in 'cpython'
45
+ sed -i -e ' s|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/** /* .rst
46
+ sed -i -e ' s|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
47
+ sed -i -e ' s|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
48
+ sed -i -e ' s|.. include:: token-list.inc|.. include:: ../../../token-list.inc|g' cpython/Doc/** /* .rst
49
+ sed -i -e ' s|.. include:: ../../using/venv-create.inc|.. include:: ../using/venv-create.inc|g' cpython/Doc/** /* .rst
50
+ sed -i -e ' s|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/** /* .rst
51
+ sed -i -e ' s|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/** /* .rst
52
+ # Normal build
44
53
PYTHONWARNINGS=ignore::FutureWarning $(VENV ) /bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE ) -D language=$(LANGUAGE ) . $(OUTPUT_HTML ) && \
45
54
echo " Success! Open file://` pwd` /$( OUTPUT_HTML) /index.html, " \
46
55
" or run 'make serve' to see them in http://localhost:8000" ;
You can’t perform that action at this time.
0 commit comments