I have several documents that are independant from each others:
index.rst
foo.rst
bar.rst
conf.py
Makefile
I would like to access foo.rst
from index.rst
, but I would like the two subdocuments to start their numbering at 1.
In index.rst
I have:
.. toctree::
:maxdepth: 2
:numbered:
foo
bar
But, bar will take the number 2.
and with this bar.rst
I will get 2.1 Tomatoes
.
=====
Title
=====
Tomatoes
========
Cucumbers
=========
and I would like this rendering:
1. Tomatoes
2. Cucumbers
How is that possible?