sphinx-test-reports
sphinx-test-reports copied to clipboard
Used section-level is to high
If I have the following code:
chapter 1
=========
chapter 1.1
------------
chapter 1.1.1
~~~~~~~~~~~~~
.. test-env:: xy.json
:env: env_1, env_2
Then the sections structure looks likes this.
- chapter 1
- chapter 1.1
- chapter 1.1.1
- env_1
- env_2
- chapter 1.1
That's not so nice, as for normal cases the author wants the env-information be part of the last defined section. So it should look like this:
- chapter 1
- chapter 1.1
- chapter 1.1.1
- env_1
- env_2
- chapter 1.1.1
- chapter 1.1