Let's say I have the following index.rst
:
Some global topic
=====================
.. toctree::
:glob:
nested/index
Global topic introduction
------------------------
And nested/index.rst
:
Some sub-topic
==============
I want TOC to be like:
- Some global topic
- Global topic introduction
- Some sub-topic
Instead, I get the following:
- Some global topic
- Some sub-topic
- Global topic introduction
How to make local sections appear first, and linked pages after them?