bpo-34006: Revert line length limit for Windows help docs (GH-8051) · python/cpython@4d02ad8

Original file line numberDiff line numberDiff line change

@@ -131,6 +131,9 @@ if exist ..\Misc\NEWS (

131131

if NOT "%PAPER%" == "" (

132132

set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%

133133

)

134+

if "%1" EQU "htmlhelp" (

135+

set SPHINXOPTS=-D html_theme_options.body_max_width=none %SPHINXOPTS%

136+

)

134137

cmd /S /C "%SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . "%BUILDDIR%\%1" %2 %3 %4 %5 %6 %7 %8 %9"

135138
136139

if "%1" EQU "htmlhelp" (