From ff22c32c24b8a1c9a45ec1ad2ed23124a2cf6761 Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 25 Jan 2021 17:51:36 -0600 Subject: [PATCH] =?UTF-8?q?doc/api/signaltypes:=20use=20^{\circ}=20instead?= =?UTF-8?q?=20of=20=C2=B0=20in=20:math:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This works for both sphinx.ext.mathjax and sphinx.ext.imgmath. --- doc/api/signaltypes.rst | 4 ++-- setup.cfg | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/api/signaltypes.rst b/doc/api/signaltypes.rst index 7fbbb00..0626589 100644 --- a/doc/api/signaltypes.rst +++ b/doc/api/signaltypes.rst @@ -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: diff --git a/setup.cfg b/setup.cfg index 08428ad..ae6be4a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -5,3 +5,4 @@ max-line-length = 88 [doc8] ignore-path = .venv/,doc/api/build/,pybricks.egg-info/ +max-line-length = 88