]> granicus.if.org Git - python/commitdiff
[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)
authorMariatta <Mariatta@users.noreply.github.com>
Mon, 10 Apr 2017 17:27:50 +0000 (10:27 -0700)
committerGitHub <noreply@github.com>
Mon, 10 Apr 2017 17:27:50 +0000 (10:27 -0700)
(cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53)

Doc/faq/windows.rst
Doc/make.bat

index 25c73b8b2d3873d79ab359dc502b2654408c1fee..f8e23cf69cfed3a448c4dcbbc5fc52a8b31e6153 100644 (file)
@@ -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.
 
 
index 251f822abffc2465029280f80595c4df845c463f..ef0e412c6c72339473b722c04e09eb6e7d334f9c 100644 (file)
@@ -71,7 +71,7 @@ goto end
 \r
 :build\r
 if NOT "%PAPER%" == "" (\r
-    set SPHINXOPTS=-D latex_paper_size=%PAPER% %SPHINXOPTS%\r
+    set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%\r
 )\r
 cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*\r
 \r