In the end I 'solved' this issue by removing the number entirely. On Monday, November 15, 2021 at 11:04:52 AM UTC+1 [email protected] wrote:
> Hi there, > > Apologies if this is a silly question or a known issue with a known fix. I > can't seem to find the answer. > > I am building variants of a Developer Guide from a common folder. I'm > basically calling different files into different sections using toctrees > and displaying on my html index page. It looks like this: > > Developer Guide > > 1. Device Introduction > 2. How to build > 3. Build example > > Shorter Developer Guide > > 1. Device Introduction > 3. Build example > > In the second version (Shorter Developer Guide) the numbering (3. Build > example) should be 2. Build example. It seems as if the number 3 is > 'inherited' from the first listing. Is there a way to force the numbering I > want, in this case '2'? > > The source code looks like this: > > .. toctree:: > :maxdepth: 1 > :caption: Developer Guide > :numbered: > > howto/howto-guide/howto-developer-guide/device-introduction.rst > howto/howto-guide/howto-developer-guide/How-to-build.rst > howto/howto-guide/howto-developer-guide/build-example.rst > > .. toctree:: > :maxdepth: 1 > :caption: Shorter Developer Guide > :numbered: > > howto/howto-guide/howto-developer-guide/device-introduction.rst > howto/howto-guide/howto-developer-guide/build-example.rst > > Thanks in advance. > Apologies again for the newbie question! > > Jim. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/c1f91a98-5963-4cb7-a297-b22eb0ac1c77n%40googlegroups.com.
