]> git.baikalelectronics.ru Git - kernel.git/commit
Docs: Fix breakage with Sphinx 1.5 and upper
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 19 Jun 2017 10:49:06 +0000 (07:49 -0300)
committerJonathan Corbet <corbet@lwn.net>
Fri, 23 Jun 2017 19:45:37 +0000 (13:45 -0600)
commit9b4a9dcd765da631cb474601e4834cff4e977447
tree4676c4e3d7ebe1822af3bc8b2b7758c5b5aba1ce
parent4ccceaab4a3d76d5c4bba50d4eb232c7c021e869
Docs: Fix breakage with Sphinx 1.5 and upper

Commit e643d68ace34 (docs-rst: better adjust margins and font size) added a
\usepackage{geometry} that conflicts with another inclusion deep within the
dependencies with newer versions of Sphinx, causing the the PDF build to fail
with a "conflicting parameters" error.

Detect the Sphinx version, using sphinxsetup for Sphinx versions 1.5 and
upper.

Fixes: e643d68ace342b05c7572c5b612cb8d6468697ee
[jc: Tweaked logic to exclude 1.5.x for x < 3 ]
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/conf.py