symfony-tools/docs-builder

Minor issue in the detection of "sections"

javiereguiluz opened this issue · 3 comments

In this file: https://github.com/sonata-project/SonataAdminBundle/blob/3.x/docs/getting_started/the_form_view.rst

The old RST parser correctly creates the content sections (the <img> is outside of the "Using Tabs" section because it belongs to the previous section):

image

However, the new doc builder considers that the image is part of the "Using Tabs" section. This is wrong:

image

Hello @javiereguiluz

I couldn't reproduce this bug, could you try again with the last version of the parser?

thanks :)

I'm afraid that I still can reproduce this error with the latest version. Maybe I'm doing something wrong when building the docs?

Closing because this error no longer happens when building the docs. Thanks!