Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information