]> granicus.if.org Git - python/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:18:45 +0000 (14:18 -0700)
committerGitHub <noreply@github.com>
Tue, 3 Sep 2019 21:18:45 +0000 (14:18 -0700)
commit952ea67289ffbd2f4785a9e537884a63d1208101
treecedccfc097e00ff5ac8a3ff5977c716bbf4b7733
parent54dac6c0f4fa24d03025c45899ee7c5f2a4c367e
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