You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In sphinx, --no-doc-title option of docutils is set (note: internal name is doctitle_xform). The reason of that is a conflict with toctree.
FYI: Without --no-doc-title, docutils promotes a top-level section title to document title. As a result, sectnum directive does not assign a number to it. But it means Sphinx does not treat it as section.
Subject: The document title should not always be numbered
Problem
With a file such as
I am expecting to see
Unfortunately, the document title is also numbered which does not make any sense here.
To show that I am not the only one to think that way, if you look at how GitHub render ReST files here:
https://github.com/nowox/sphinx-fix-sectnum/blob/master/index.rst
You will see that the numbering is the same as what I want
Procedure to reproduce the problem
To see the corrected version:
The text was updated successfully, but these errors were encountered: