]> git.baikalelectronics.ru Git - kernel.git/commit
docs-rst: pdf: use same vertical margin on all Sphinx versions
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Aug 2017 07:05:43 +0000 (04:05 -0300)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Aug 2017 19:23:31 +0000 (13:23 -0600)
commit20ddd92aa321e92c07302e2860ed166f692f3d25
treebfce81e2bf0cb90631f1ff3bda48469c25dfeb89
parentf83e5338cd2eb6f62fd6b03cadd12304fece72e7
docs-rst: pdf: use same vertical margin on all Sphinx versions

Currently, on Sphinx up to version 1.4, pdf output uses a vertical
margin of 1 inch. For upper versions, it uses a margin of 0.5 inches.

That causes both page headers and footers to be very close to the margin
of the sheet. Not all printers support writing like that.

Also, there's no reason why the layout for newer versions would be
different than for previous ones.

So, standardize it, by always setting to 1 inch.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py