sphinx-test-reports icon indicating copy to clipboard operation
sphinx-test-reports copied to clipboard

Used section-level is to high

Open danwos opened this issue 6 years ago • 0 comments

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

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

danwos avatar Dec 07 '18 09:12 danwos