Skip to content

[DOCS] Rendered class and method signature overlaps with [source] after sphinx update #1369

Closed
@trsvchn

Description

@trsvchn

🐛 Bug description

I've noticed that after updating to sphinx=3.1, documentation has some problem with class header layout, if you go to the docs webpage, you can find that in some cases type hits overlap with [SOURCE] button, in some cases even definition overlaps as well. Zooming-in/out doesn't help.

Here is what I get:
docs1
docs2
doc3

After roll back to old version everything works fine, Also, I've noticed in pytorch repo that they're using sphinx==2.4.4, I've tried that version and it works well too.

Environment

sphinx==3.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions