docs: Fix conf.py for Sphinx 2.0
authorJonathan Corbet <corbet@lwn.net>
Fri, 20 Mar 2020 06:18:30 +0000 (02:18 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 14:10:00 +0000 (10:10 -0400)
commit9b544c9eb312741e8e27bb738329bcf2737168ad
tree9b4a3af44d85199249d95b861d8d1905281d430b
parent9e3c94d117bb3a196ad6e03babb8bc30da4b3ff0
docs: Fix conf.py for Sphinx 2.0

commit 3bc8088464712fdcb078eefb68837ccfcc413c88 upstream.

Our version check in Documentation/conf.py never envisioned a world where
Sphinx moved beyond 1.x.  Now that the unthinkable has happened, fix our
version check to handle higher version numbers correctly.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
[rebase for u-boot]
Signed-off-by: Sean Anderson <seanga2@gmail.com>
doc/conf.py