Skip to content

Commit

Permalink
Update render_math docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jan 4, 2023
1 parent f971081 commit a6b28ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sphinx/ext/imgmath.py
Expand Up @@ -209,10 +209,9 @@ def render_math(
"""Render the LaTeX math expression *math* using latex and dvipng or
dvisvgm.
Return the filename relative to the built document and the "depth",
Return the absolute filename to the built document and the "depth",
that is, the distance of image bottom and baseline in pixels, if the
option to use preview_latex is switched on.
Also return the temporary and destination files.
Error handling may seem strange, but follows a pattern: if LaTeX or dvipng
(dvisvgm) aren't available, only a warning is generated (since that enables
Expand Down

0 comments on commit a6b28ef

Please sign in to comment.