From: Mariatta Date: Mon, 10 Apr 2017 17:27:50 +0000 (-0700) Subject: [2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670) X-Git-Tag: v2.7.14rc1~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0cba5b45a5c4bafd1ae772be52ca0d69651da24;p=thirdparty%2FPython%2Fcpython.git [2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670) (cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53) --- diff --git a/Doc/faq/windows.rst b/Doc/faq/windows.rst index 25c73b8b2d38..f8e23cf69cfe 100644 --- a/Doc/faq/windows.rst +++ b/Doc/faq/windows.rst @@ -295,7 +295,7 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools size" to 4, and select the "Insert spaces" radio button. If you suspect mixed tabs and spaces are causing problems in leading whitespace, -run Python with the :option:`-t` switch or run ``Tools/Scripts/tabnanny.py`` to +run Python with the :option:`-t` switch or run the :mod:`tabnanny` module to check a directory tree in batch mode. diff --git a/Doc/make.bat b/Doc/make.bat index 251f822abffc..ef0e412c6c72 100644 --- a/Doc/make.bat +++ b/Doc/make.bat @@ -71,7 +71,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%\%*