From: Zachary Ware <zachary.ware@gmail.com>
Date: Mon, 2 Jul 2018 20:31:42 +0000 (-0500)
Subject: bpo-34006: Revert line length limit for Windows help docs (GH-8051)
X-Git-Tag: v3.8.0a1~1456
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d824ca7f4df9b5f77cf02490b0e98c2408e21fee;p=python

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.
---

diff --git a/Doc/make.bat b/Doc/make.bat
index cff85ceaba..d28dae78e8 100644
--- a/Doc/make.bat
+++ b/Doc/make.bat
@@ -131,6 +131,9 @@ if exist ..\Misc\NEWS (
 if NOT "%PAPER%" == "" (
     set SPHINXOPTS=-D latex_elements.papersize=%PAPER% %SPHINXOPTS%
 )
+if "%1" EQU "htmlhelp" (
+    set SPHINXOPTS=-D html_theme_options.body_max_width=none %SPHINXOPTS%
+)
 cmd /S /C "%SPHINXBUILD% %SPHINXOPTS% -b%1 -dbuild\doctrees . "%BUILDDIR%\%1" %2 %3 %4 %5 %6 %7 %8 %9"
 
 if "%1" EQU "htmlhelp" (
diff --git a/Misc/NEWS.d/next/Windows/2018-07-02-14-19-32.bpo-34006.7SgBT_.rst b/Misc/NEWS.d/next/Windows/2018-07-02-14-19-32.bpo-34006.7SgBT_.rst
new file mode 100644
index 0000000000..f21e51646f
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2018-07-02-14-19-32.bpo-34006.7SgBT_.rst
@@ -0,0 +1,3 @@
+Revert line length limit for Windows help docs. 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.