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

Miss Islington (bot) webhook-mailer at python.org
Mon Jul 2 18:23:30 EDT 2018


https://github.com/python/cpython/commit/4d02ad856f123d68712f542d55e8ff3393f00a8f
commit: 4d02ad856f123d68712f542d55e8ff3393f00a8f
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-02T15:23:22-07: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.
(cherry picked from commit d824ca7f4df9b5f77cf02490b0e98c2408e21fee)

Co-authored-by: Zachary Ware <zachary.ware at gmail.com>

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