You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this is not entirely desirable since the formatting makes things look better. For example, the header for BaseException (original) is transformed from this:
exceptionBaseException
to this:
exception BaseException
cc @Thibaut since you might have a reason for implementing this this way. (no worries if you don’t reply though)
The text was updated successfully, but these errors were encountered:
sphinx/clean_html.rb is used across a wide range of docs, and unfortunately I found the formatting of Sphinx docs to be very inconsistent, to the point that aggressively removing some of the markup felt the better compromise to make this code work across all the Sphinx docs.
If you change it, it's likely (but not guaranteed—that was a long time ago) to cause minor issues on some docs, but I think it's worth a try (considering I don't remember exactly why this was added and that the worst that could happen is some styling issues, not content breakage).
j-f1
linked a pull request
Jan 10, 2020
that will
close
this issue
The Sphinx
clean_html
filter removes all formatting from<dt>
elements:devdocs/lib/docs/filters/sphinx/clean_html.rb
Line 64 in 58a0120
However, this is not entirely desirable since the formatting makes things look better. For example, the header for
BaseException
(original) is transformed from this:to this:
cc @Thibaut since you might have a reason for implementing this this way. (no worries if you don’t reply though)
The text was updated successfully, but these errors were encountered: