Display each section (h1, h2, h3) in a new page in Sphinx

前端 未结 2 530
离开以前
离开以前 2021-01-24 17:46

When I build HTML output using sphinx, it is possible to display h1 and h2 on separate pages, however, h3 is always displayed on the same page as h2. Does anyone know how to mak

相关标签:
2条回答
  • 2021-01-24 18:12

    So, we were able to make it work by adjusting the HTML template and the globaltoc setting.

    0 讨论(0)
  • 2021-01-24 18:19

    Unfortunately, based on this note from the readthedocs.org irc channel one of the main devs said no, that's not possible.

    Source: https://stackoverflow.com/a/32788289/3750804

    If you want this support the only thing I can suggest is checking out MkDocs at http://mkdocs.org, however, you lose PDF building capability and some other LaTex support that's included in Sphinx.

    Good luck!

    0 讨论(0)
提交回复
热议问题