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

get_documenters is deprecated in Sphinx 5 #56

Closed
sneakers-the-rat opened this issue May 29, 2021 · 0 comments · Fixed by #57
Closed

get_documenters is deprecated in Sphinx 5 #56

sneakers-the-rat opened this issue May 29, 2021 · 0 comments · Fixed by #57

Comments

@sneakers-the-rat
Copy link

sneakers-the-rat commented May 29, 2021

When using with Sphinx 4.0.2, I get plenty of deprecation warnings like this:

venv37/lib/python3.7/site-packages/autodocsumm/__init__.py:202: RemovedInSphinx50Warning: get_documenters() is deprecated.
  registry = get_documenters(self.env.app)

invoked here:

registry = get_documenters(self.env.app)

the deprecated APIs page suggests sphinx.registry.documenters as the new API, looks like it's just a dictionary: https://github.com/sphinx-doc/sphinx/blob/2809b30c17a8fe362910f40b91fa2c17012d3ef1/sphinx/registry.py#L63

https://www.sphinx-doc.org/en/master/extdev/deprecated.html

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

Successfully merging a pull request may close this issue.

1 participant