Commit e0cba5b4 authored by Mariatta's avatar Mariatta Committed by GitHub

[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)

(cherry picked from commit 3d707be9)
parent 7026cd92
......@@ -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.
......
......@@ -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%\%*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment