Skip to content Skip to sidebar Skip to footer

Sphinx Docs: Remove Blank Pages From Generated Pdfs?

By default, Sphinx documentation outputs a PDF that's formatted for duplex printing. So there is a blank page between the title page and the TOC, the TOC and the introduction, the

Solution 1:

Put this in your source/conf.py configuration file in the "Options for LaTeX output" section:

latex_elements = {
  'extraclassoptions': 'openany,oneside'
}

Post a Comment for "Sphinx Docs: Remove Blank Pages From Generated Pdfs?"