diff --git a/source/conf.py b/source/conf.py index a319dda..78164fa 100644 --- a/source/conf.py +++ b/source/conf.py @@ -178,10 +178,19 @@ html_sidebars = { ], } html_baseurl = baseurl - - htmlhelp_basename = basename +pyppeteer_pdf_options = { + 'printBackground': True, + 'format': 'A4', + 'margin': { + 'top': '0mm', + 'bottom': '0mm', + 'left': '0mm', + 'right': '0mm' + } +} + latex_engine = 'xelatex' latex_toplevel_sectioning = 'chapter' latex_show_urls = 'footnote'