Closed namurphy closed 3 years ago
It seems that there has not been a new release yet since this pull request. Could one be made in the near future? I'm working on a scientific library that has lots of mathematical expressions in its Python docstrings, and parallel reading could hopefully speed up the documentation build process.
And big thanks for already having created and merged this pull request!
Just released 1.2.1.
Thanks! However, unfortunately the issue seems to persist, as sphinx-math-dollar 1.2.1 and sphinx 5.0.0 still cause the warning:
WARNING: the sphinx_math_dollar extension does not declare if it is safe for parallel reading, assuming it isn't - please ask the extension author to check and make it explicit
WARNING: doing serial read
Looks like this was done incorrectly. setup()
should return a dictionary with parallel_read_safe
as one of the keys. See https://www.sphinx-doc.org/en/master/extdev/index.html#extension-metadata
This pull request marks
sphinx-math-dollar
as parallel read safe. This way, it will let you use this extension while building apps in parallel. Here's a reference on extension metadata that describes this configuration setting.