Skip to content

HTML formatting issues after updating sphinx #1214

@dp0s

Description

@dp0s

Problem

I'm hosting the documentation for my python project on readthedocs, there are 2 formatting problems in the following section:

https://dpowers.readthedocs.io/en/latest/reference/power.html#Dpowers.KeyboardAdaptor.key

1st problem: The right margin is not respected (in this section of the documentation only).
2nd problem: (for all sections) The font color of class and method names/arguments is entirely blue, although it should be black (with blue background). Other documentations on readthedocs look fine in my browser. --- similar to #1212

They occured after updating sphinx version to 4.1.2 from 3.4.3 - I can reproduce this locally on my computer.

Reproducible Project

The source folder for the documentation is here:
https://github.com/dp0s/Dpowers/tree/master/docs

Error Logs/Results

Local build on my computer with sphinx 4.1.2

Screenshot at 2021-08-19 22-58-35

Expected Results

Local build on my computer with sphinx 3.4.3

Screenshot at 2021-08-19 22-32-24

Environment Info

  • Python Version: 3.7
  • Sphinx Version: 4.1.2 / 3.4.3
  • RTD Theme Version: 0.5.2

Note

I recently introduced the sphinx hoverxref extension, which is still in beta mode. So I rebuilt the docs for an old version of my repository (v0.1.2) without hoverxref extension and the problem is the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions