Fredrik Johansson wrote:
Hi,
Is it possible to split a table of contents into several smaller ones?
It seems only one toctree is permitted on one page. The reason I want to
do this is to insert some short descriptive text between the TOC for
each "main" section. I could move the sub-tocs to separate pages, but I
rather want everything listed on one page.
Instead of:
* Foo
** Foo bar
** Foo baz
* Foo 2
* Bar
** Bar bar
** Bar baz
I want:
A Foo is a thing that foos.
* Foo
** Foo bar
** Foo baz
* Foo 2
A bar is a bar that bars.
* Bar
** Bar bar
** Bar baz
Any alternative way to accomplish this? E.g. using a hidden toctree and
some alternative markup to generate lists that look like toctrees
(preferably not writing them manually).
Have you tried the multiple toctrees under separate headers in a document?
Foo
---
Description of a foo.
.. toctree::
...
Bar
---
Description of a bar.
.. toctree::
...
--
--Max Battcher--
http://worldmaker.net
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en.