Hi,

apologies if this has been asked before, or is something obvious, but
my searches have been inconclusive so far.

I'm struggling with the header of my main toctree page. The page,
"toc.rst", has a simple structure:

"""
========
  FOO
========

.. toctree::
   :maxdepth: 3

   foo
   bar
   baz
   ...
"""

This is *not* the master_doc (which is a different file that has a
single toctree:: entry pointing to toc.rst).

The issue is, if I add a section header to toc.rst, like FOO above,
this header will show up in the PDF "Contents" page as the one and
only part, and all other sections are nested into this:

  1. FOO
      1.1 foo
      1.2 bar
      1.3 baz

when I want

   1. foo
   2. bar
   3. baz

If I leave the "FOO" header away in the .rst file, the PDF is great,
but then the HTML page has <no title> as its title, which spoils
breadcrumbs and previous/next navigation.

I've tried ..rubric, ..title and ..header, with unsatisfactory
results.

Any suggestions?

Thomas

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to