Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the extension safe for parallel reading? #17

Open
humitos opened this issue May 7, 2020 · 0 comments
Open

Is the extension safe for parallel reading? #17

humitos opened this issue May 7, 2020 · 0 comments

Comments

@humitos
Copy link

humitos commented May 7, 2020

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant