Documentation for Uncertainty Python package in reStructuredText, for the Sphinx documentation system . HTML looks great . I would like to create a PDF version. The goal is to have a βchapterβ for each of the web pages.
However, what happens is that the PDF created by the ReST files converts the sections (HTML) index.htmlinto separate chapters (which I donβt want: the PDF should have them as sections too). Another problem is that all HTML pages after the main page are displayed in PDF as subsections of the section where the directive appears toctree(i.e., in the "Confirmation" section on the main page).
So, what a ReST file should look like so that (1) web documents look the same as they are now , and (2)) each web page corresponds to a PDF chapter. Any help would be greatly appreciated!
source
share