File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 46
46
sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
47
47
sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
48
48
# Normal build
49
- PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
49
+ PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning sphinx-build -j auto -W --keep-going -b html -d cpython/Doc/_build/doctree -D language=es . cpython/Doc/_build/html
Original file line number Diff line number Diff line change 7
7
8
8
# Configuration
9
9
10
- CPYTHON_PATH := cpython # Current commit for this upstream repo is setted by the submodule
10
+ CPYTHON_PATH := cpython # Current commit for this upstream repo is setted by the submodule
11
11
BRANCH := 3.11
12
12
LANGUAGE_TEAM := python-docs-es
13
13
LANGUAGE := es
40
40
.PHONY : build
41
41
build : setup
42
42
# FIXME: Relative paths for includes in 'cpython'
43
+ # See more about this at https://github.com/python/python-docs-es/issues/1844
43
44
sed -i -e ' s|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/** /* .rst
44
45
sed -i -e ' s|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
45
46
sed -i -e ' s|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
@@ -48,7 +49,7 @@ build: setup
48
49
sed -i -e ' s|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/** /* .rst
49
50
sed -i -e ' s|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/** /* .rst
50
51
# Normal build
51
- PYTHONWARNINGS=ignore::FutureWarning $(VENV ) /bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE ) -D language=$(LANGUAGE ) . $(OUTPUT_HTML ) && \
52
+ PYTHONWARNINGS=ignore::FutureWarning,ignore::RuntimeWarning $(VENV ) /bin/sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE ) -D language=$(LANGUAGE ) . $(OUTPUT_HTML ) && \
52
53
echo " Success! Open file://` pwd` /$( OUTPUT_HTML) /index.html, " \
53
54
" or run 'make serve' to see them in http://localhost:8000" ;
54
55
You can’t perform that action at this time.
0 commit comments