Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit14cbf05

Browse files
committed
Make the build "super pulenta"
1 parent879978e commit14cbf05

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

‎Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ help:
4040
# treated as errors, which is good to skip simple Sphinx syntax mistakes.
4141
.PHONY: build
4242
build: setup
43-
sphinx-build -j auto -W -b html -d$(OUTPUT_DOCTREE) -D language=$(LANGUAGE).$(OUTPUT_HTML)
43+
PYTHONWARNINGS=ignore::FutureWarningsphinx-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

‎conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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

1616
importsys,os,time
1717
sys.path.append(os.path.abspath('cpython/Doc/tools/extensions'))
@@ -37,6 +37,12 @@
3737
os.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+
4046
ifnotos.environ.get('SPHINX_GETTEXT')=='True':
4147
# Override all the files from ``.overrides`` directory
4248
importglob

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp