Hi TIA,
In my investigation, Sphinx can't numbering to master_doc file's sections.
'single reST source file with numbered sections' might be a unexpected usage.
However this workaround works for me.
Add dummy.rst to your project like::
:orphan:
.. toctree::
:numbered:
:maxdepth: 2
index
How about this?
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa
2014-09-09 5:27 GMT+09:00 Yves Moisan <[email protected]>:
> Hi All,
>
> Using Sphinx 1.2.3, I try to get numbered sections in HTML output following
> the "... get section numbers" paragraph at http://sphinx-doc.org/faq.html
> and nothing happens. PDF behaves as reported (numbered sections in TOC and
> text), but HTML shows no numbering in either the TOC or text. My guess is
> that I currently have my doc in one big rst file, so I just have a
>
> .. toctree::
> :numbered:
> :maxdepth: 2
>
> section at the begining of my rst file without any other rst file to
> include, since there aren't any. I figured since the maxdepth option works
> fine numbered would work too.
>
> Am I missing something ?
>
> TIA
>
> --
> You received this message because you are subscribed to the Google Groups
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.