File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4141.PHONY : build
4242build : 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 )
4444 @echo " Success! Open file://` pwd` /$( OUTPUT_HTML) /index.html, " \
4545 " or run 'make serve' to see them in http://localhost:8000" ;
4646
Original file line number Diff line number Diff line change 1111#
1212# This can be built locally using `sphinx-build` by running
1313#
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
1515
1616import sys , os , time
1717sys .path .append (os .path .abspath ('cpython/Doc/tools/extensions' ))
3737os .system ('ln -nfs `pwd` cpython/locales/es/LC_MESSAGES' )
3838
3939
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+
4046if not os .environ .get ('SPHINX_GETTEXT' ) == 'True' :
4147 # Override all the files from ``.overrides`` directory
4248 import glob
You can’t perform that action at this time.
0 commit comments