summaryrefslogtreecommitdiffstats
path: root/Doc/make.bat
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-02-14 16:54:59 (GMT)
committerGitHub <noreply@github.com>2017-02-14 16:54:59 (GMT)
commitdb3deb98e969d3f43b169cd320abd46b21a10c6d (patch)
tree43f4f762901ce398a82518404b6a18bcddcd8aa8 /Doc/make.bat
parent9268855ba6e99bf595e75b75780cf29667371f45 (diff)
downloadcpython-db3deb98e969d3f43b169cd320abd46b21a10c6d.zip
cpython-db3deb98e969d3f43b169cd320abd46b21a10c6d.tar.gz
cpython-db3deb98e969d3f43b169cd320abd46b21a10c6d.tar.bz2
bpo-29521 Fix two minor documentation build warnings (#41) (#83)
Much of bpo-29521 was fixed in parallel with commit e7ffb99 . This cleans up the rest. Apply parallel change to Doc/make.bat to read "set SPHINXOPTS=-D latex_elements.papersize=" I don't have a Windows system on which to observe the warning, but it should be necessary. The warning: .../workspace/cpython_github/Doc/faq/windows.rst:303: WARNING: unknown option: -t In the Windows FAQ, `How do I keep editors from inserting tabs into my Python source?`, contained a reference to a Python -t option. In Python 2.x, this caused Python to issue warnings about lines with mixed spaces and tabs, but as of Python 3.6 it does nothing. Per discussion at http://bugs.python.org/issue29387, take their wording. Python [3] raises an IndentationError or TabError. Tabnanny is now a module. (cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)
Diffstat (limited to 'Doc/make.bat')
-rw-r--r--Doc/make.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/make.bat b/Doc/make.bat
index da1f876..d0b5961 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -86,7 +86,7 @@ goto end
:build
if NOT "%PAPER%" == "" (
- set SPHINXOPTS=-D latex_paper_size=%PAPER% %SPHINXOPTS%
+ set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%
)
cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*