I have a singlehtml file generated from multiple rst.
in index.rst, there is a toctree drective to include other rst file.
Those rsts files contains multiple section. I have enabled autosectionlabel but a correct link is only generated for the main section not for the other section.
================================================================
Introduction
================================================================
A
----------------------------------------------------------------
Purpose
----------------------------------------------------------------
B
----------------------------------------------------------------
Content
----------------------------------------------------------------
C
2_protocols.rst
================================================================
Protocols
================================================================
C
----------------------------------------------------------------
Purpose
----------------------------------------------------------------
D
----------------------------------------------------------------
Content
----------------------------------------------------------------
E
it looks very similar indeed. Any way to fix this via an extension or anything else. I can patch the html in a second phase after the generation but this is slightly ugly.
Describe the bug
I have a singlehtml file generated from multiple rst.
in index.rst, there is a toctree drective to include other rst file.
Those rsts files contains multiple section. I have enabled autosectionlabel but a correct link is only generated for the main section not for the other section.
For example, the html:
document-1_ should prefix other item as well.
so when i click on the second content object it will alway go to the first one
any idea ? Best regards,
How to Reproduce
we need 3 rst files.
index.rst:
1_introduction.rst
2_protocols.rst
Environment Information
Sphinx extensions
Additional context
No response