]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 3 Sep 2019 21:09:57 +0000 (14:09 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 21:09:57 +0000 (14:09 -0700)
commit52fd6616235412d4a49ef28c1046bd133b30bc90
tree4f6b56346fd3b70a38a8ac4ed169ae3661643fa1
parentea21389dda401457198fb214aa2c981a45ed9528
bpo-38022: IDLE: upgrade help.html to sphinx 2.x HTML5 output (GH-15664)

The HTML5 output from Sphinx 2.x adds  '<p>' tags within list elements.  Using a new prevtag attribute, ignore these instead of emitting unwanted '\n\n'.

Also stop looking for 'first' classes on tags (no longer present) and fix the bug of double-spacing instead of single spacing after <pre> blocks.
(cherry picked from commit 580bdb0ece681537eadb360f0c796123ead7a559)

Co-authored-by: Tal Einat <taleinat+github@gmail.com>
Lib/idlelib/help.html
Lib/idlelib/help.py