sphinx: conf.py: properly handle Sphinx 4.0
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 27 Oct 2020 09:51:06 +0000 (10:51 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 28 Oct 2020 17:26:10 +0000 (11:26 -0600)
commitd29f34c098aa1b7e237ce9979eeb5cef9e5f162f
treec8f13fc44ae991afe2bfe0c45c866d36d2f7afca
parent72b97d0b911872ba36a5742b7d790b6b165e11d8
sphinx: conf.py: properly handle Sphinx 4.0

One of the checks for Sphinx 3+ is broken, causing some
C warnings to return back with Sphinx 4.0.x.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/d5abc30056dafeec0778a46263a45401bdc7f11e.1603791716.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py