sphinx-autorun icon indicating copy to clipboard operation
sphinx-autorun copied to clipboard

Is the extension safe for parallel reading?

Open humitos opened this issue 4 years ago • 0 comments

It seems the extension does not inform Sphinx if it's safe for parallel reading or not at https://github.com/WhyNotHugo/sphinx-autorun/blob/master/sphinx_autorun/init.py#L90

This can be communicated returning a dict in the setup function, like https://www.sphinx-doc.org/en/master/development/tutorials/helloworld.html?highlight=setup#writing-the-extension

This will avoid this message,

WARNING: the sphinx_autorun 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

humitos avatar May 07 '20 00:05 humitos