osmith has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/40953?usp=email )
Change subject: docs: fix authors line exceeding the page ......................................................................
docs: fix authors line exceeding the page
Fix that the authors get cut off as they exceed the page in the PDF version. This can currently be seen here: https://downloads.osmocom.org/docs/pysim/master/osmopysim-usermanual.pdf
Change-Id: Iacbba6c2f74bf2b9f96057e71bde017a11f703a8 --- M docs/conf.py 1 file changed, 8 insertions(+), 0 deletions(-)
Approvals: fixeria: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/docs/conf.py b/docs/conf.py index 8455007..9091878 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,6 +21,14 @@ copyright = '2009-2023 by Sylvain Munaut, Harald Welte, Philipp Maier, Supreeth Herle, Merlin Chlosta' author = 'Sylvain Munaut, Harald Welte, Philipp Maier, Supreeth Herle, Merlin Chlosta'
+# PDF: Avoid that the authors list exceeds the page by inserting '\and' +# manually as line break (https://github.com/sphinx-doc/sphinx/issues/6875) +latex_elements = { + "maketitle": + r"""\author{Sylvain Munaut, Harald Welte, Philipp Maier, \and Supreeth Herle, Merlin Chlosta} +\sphinxmaketitle +""" +}
# -- General configuration ---------------------------------------------------