Commit 0fbee50
committed
builder: use pathlib for internal imgmath override
Updating the internal overwrite of the imgmath temporary directory to
use the pathlib module. Upstream version of Sphinx has updated its
implementation to use pathlib, and using a str causes issues when
running the imgmath extension.
Using `Path` should be fine for existing/older versions of Sphinx, as
its value used with `os.path.join` handles `Path` objects.
Signed-off-by: James Knight <git@jdknight.me>1 parent 568064a commit 0fbee50
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
135 | | - | |
| 134 | + | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments