Observe that all of the headings are flattened under top-level heading 7 "Free and Commercial support":

The headings should retain their structure as they do in the HTML ReadTheDocs format.
OK - never tried the PDF feature. Do you know how to fix it?
Hi,
I suppose the issue in PDF is due to Sphinx generates TOC in Latex/PDF unlike HTML website; each title in index.rst file produce a single chapter in PDF (also it is only a paragraph).
As I know we can improve it in two different ways:
However I think a general reingineering of TOC must be done in future; I generated a PDF with TOC 2 levels and the result is about 60 chapters... look at identityserver4-s84-test.pdf
Some tips can be grabbed from Autofac and Django documentation.
What do you think about it? I'm always there willing to help you
Sure, any PRs to allow this to always be updated would be welcome.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.