Skip to content

Commit 4d02ad8

Browse files
bpo-34006: Revert line length limit for Windows help docs (GH-8051)
The line-length limit is not needed because the pages appear in a separate app rather than on a browser tab. It can also interact badly with the DPI setting. (cherry picked from commit d824ca7) Co-authored-by: Zachary Ware <[email protected]>
1 parent 24d74bd commit 4d02ad8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/make.bat

Lines changed: 3 additions & 0 deletions
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" (
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Revert line length limit for Windows help docs. The line-length limit is not
2+
needed because the pages appear in a separate app rather than on a browser
3+
tab. It can also interact badly with the DPI setting.

0 commit comments

Comments
 (0)