]> git.baikalelectronics.ru Git - kernel.git/commit
docs: conf.py: adjust the LaTeX document output
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 3 Mar 2021 15:58:00 +0000 (16:58 +0100)
committerJonathan Corbet <corbet@lwn.net>
Tue, 9 Mar 2021 00:20:03 +0000 (17:20 -0700)
commit6f2a5b35bee83f9779028910bb73862b8ce0725c
treee3f31e7c852fa16037398be3a0bcdc713b2735e6
parent91124b80d14a94429f9742ed5c75a7f68e6d4a2b
docs: conf.py: adjust the LaTeX document output

Changeset b2eaaa4ad7d7 ("Move our minimum Sphinx version to 1.7")
cleaned up some compatibility issues with previous Sphinx
versions, but it also dropped the PDF margin sets.

Without that, the media documentation won't build fine, as
the margins are too wide to display texts with monospaced
fonts.

While here, align the  "latex_elements = {" values, and add
a few other sphinxsetup configs in order to allow Sphinx to
wrap long lines on literal blocks.

Fixes: b2eaaa4ad7d7 ("Move our minimum Sphinx version to 1.7")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
 Documentation/conf.py | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)
Link: https://lore.kernel.org/r/911fbac185dd09c7df715cf4153361b81f04b7ad.1614787053.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py