heliophysicsPy / standards

3 stars 12 forks source link

Describe best practices for representing equations in docstrings #19

Closed namurphy closed 3 months ago

namurphy commented 2 years ago

A question brought up by Grant Stephens at the PyHC meeting today was: what are the best practices for including equations in docstrings? It'd be helpful to add to our standards a discussion of what the best practices are. If anyone has thoughts or ideas, please add them below. Thanks!

Some points made in the discussion were (if I remember correctly):

Relatedly...tools like MathJax are designed to both render equations graphically in different ways and also improve screen reader (text to speech) compatibility of math.

namurphy commented 3 months ago

Tentatively closing this since we should probably depend on external resources for more information, and the best tools for this tend to change over time.