doc/api/signaltypes: use ^{\circ} instead of ° in :math:

This works for both sphinx.ext.mathjax and sphinx.ext.imgmath.
This commit is contained in:
David Lechner
2021-01-26 08:30:48 +01:00
committed by laurensvalk
parent 95eb999493
commit ff22c32c24
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -248,9 +248,9 @@ temperature: °C
Temperature is measured in degrees Celcius (°C). To convert to degrees
Fahrenheit (°F) or Kelvin (K), you can use the following conversion formulas:
:math:`°\kern1pt\!F = °\kern2pt\!C \cdot \frac{9}{5} + 32`.
:math:`^{\circ}\kern1pt\!F =\kern1pt^{\circ}\kern1pt\!C \cdot \frac{9}{5} + 32`.
:math:`K = °\kern2pt\!C + 273.15`.
:math:`K =\kern1pt^{\circ}\kern1pt\!C + 273.15`.
.. _hue:
+1
View File
@@ -5,3 +5,4 @@ max-line-length = 88
[doc8]
ignore-path = .venv/,doc/api/build/,pybricks.egg-info/
max-line-length = 88