Skip to content

Commit e0cba5b

Browse files
authored
[2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670)
(cherry picked from commit 3d707be)
1 parent 7026cd9 commit e0cba5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Doc/faq/windows.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ this respect, and is easily configured to use spaces: Take :menuselection:`Tools
295295
size" to 4, and select the "Insert spaces" radio button.
296296

297297
If you suspect mixed tabs and spaces are causing problems in leading whitespace,
298-
run Python with the :option:`-t` switch or run ``Tools/Scripts/tabnanny.py`` to
298+
run Python with the :option:`-t` switch or run the :mod:`tabnanny` module to
299299
check a directory tree in batch mode.
300300

301301

Doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ goto end
7171

7272
:build
7373
if NOT "%PAPER%" == "" (
74-
set SPHINXOPTS=-D latex_paper_size=%PAPER% %SPHINXOPTS%
74+
set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%
7575
)
7676
cmd /C %SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . %BUILDDIR%\%*
7777

0 commit comments

Comments
 (0)