File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 4646 sed -i -e 's|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/**/*.rst
4747 sed -i -e 's|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/**/*.rst
4848 # 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 77
88# Configuration
99
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
1111BRANCH := 3.11
1212LANGUAGE_TEAM := python-docs-es
1313LANGUAGE := es
4040.PHONY : build
4141build : setup
4242 # FIXME: Relative paths for includes in 'cpython'
43+ # See more about this at https://github.com/python/python-docs-es/issues/1844
4344 sed -i -e ' s|.. include:: ../includes/wasm-notavail.rst|.. include:: ../../../../includes/wasm-notavail.rst|g' cpython/Doc/** /* .rst
4445 sed -i -e ' s|.. include:: ../distutils/_setuptools_disclaimer.rst|.. include:: ../../../../distutils/_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
4546 sed -i -e ' s|.. include:: ./_setuptools_disclaimer.rst|.. include:: ../../../_setuptools_disclaimer.rst|g' cpython/Doc/** /* .rst
@@ -48,7 +49,7 @@ build: setup
4849 sed -i -e ' s|.. include:: ../../../using/venv-create.inc|.. include:: ../../using/venv-create.inc|g' cpython/Doc/** /* .rst
4950 sed -i -e ' s|.. include:: /using/venv-create.inc|.. include:: ../../../../using/venv-create.inc|g' cpython/Doc/** /* .rst
5051 # 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 ) && \
5253 echo " Success! Open file://` pwd` /$( OUTPUT_HTML) /index.html, " \
5354 " or run 'make serve' to see them in http://localhost:8000" ;
5455
You can’t perform that action at this time.
0 commit comments