You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
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,6 +40,7 @@ help:
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";