[2.7] bpo-35605: Fix documentation build for sphinx<1.6 by JulienPalard · Pull Request #12413 · python/cpython

Conversation

@JulienPalard

This one allow Python 2.7 to be build using Sphinx 1.2 as the conf.py says and to be built using Sphinx 2.0.0 (html_sidebars no longer accepting a string, but it accepts a list since Sphinx 1.0)

https://bugs.python.org/issue35605

(cherry picked from commit dfc8fc15fa989acba3c372572e52bbcb5ab38a37)

asottile

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(oops, removed cat -- it's a user script but some dislike it on cpython so I'll spare you all of the kittehs!)