File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 40
40
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
41
41
.PHONY : build
42
42
build : setup
43
- sphinx-build -j auto -W -b html -d $(OUTPUT_DOCTREE ) -D language=$(LANGUAGE ) . $(OUTPUT_HTML )
43
+ PYTHONWARNINGS=ignore::FutureWarning sphinx-build -j auto -W --keep-going -b html -d $(OUTPUT_DOCTREE ) -D language=$(LANGUAGE ) . $(OUTPUT_HTML )
44
44
@echo " Success! Open file://` pwd` /$( OUTPUT_HTML) /index.html, " \
45
45
" or run 'make serve' to see them in http://localhost:8000" ;
46
46
Original file line number Diff line number Diff line change 11
11
#
12
12
# This can be built locally using `sphinx-build` by running
13
13
#
14
- # $ sphinx-build -b html -n - d _build/doctrees -D language=es . _build/html
14
+ # $ sphinx-build -b html -d _build/doctrees -D language=es . _build/html
15
15
16
16
import sys , os , time
17
17
sys .path .append (os .path .abspath ('cpython/Doc/tools/extensions' ))
37
37
os .system ('ln -nfs `pwd` cpython/locales/es/LC_MESSAGES' )
38
38
39
39
40
+ exclude_patterns = [
41
+ # This file is not included and it not marked as :orphan:
42
+ 'distutils/_setuptools_disclaimer.rst' ,
43
+ 'README.rst' ,
44
+ ]
45
+
40
46
if not os .environ .get ('SPHINX_GETTEXT' ) == 'True' :
41
47
# Override all the files from ``.overrides`` directory
42
48
import glob
You can’t perform that action at this time.
0 commit comments