[Python-checkins] bpo-34006: Revert line length limit for Windows help docs (GH-8051)

Terry Jan Reedy webhook-mailer at python.org
Mon Jul 2 16:31:45 EDT 2018


https://github.com/python/cpython/commit/d824ca7f4df9b5f77cf02490b0e98c2408e21fee
commit: d824ca7f4df9b5f77cf02490b0e98c2408e21fee
branch: master
author: Zachary Ware <zachary.ware at gmail.com>
committer: Terry Jan Reedy <tjreedy at udel.edu>
date: 2018-07-02T16:31:42-04:00
summary:

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.

files:
A Misc/NEWS.d/next/Windows/2018-07-02-14-19-32.bpo-34006.7SgBT_.rst
M Doc/make.bat

diff --git a/Doc/make.bat b/Doc/make.bat
index cff85ceabae9..d28dae78e86d 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 000000000000..f21e51646f1a
--- /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.



More information about the Python-checkins mailing list