readthedocs / sphinx-autoapi

A new approach to API documentation in Sphinx.
https://sphinx-autoapi.readthedocs.io/
MIT License
415 stars 126 forks source link

feat: Add warning for missing import #431

Open arwedus opened 2 months ago

arwedus commented 2 months ago

This warning is shown by sphinx build now when the "fullname" in the autoapi directive cannot be found in the imports, e.g. .. autoapiclass:: autoapi.mappers.python.objects.PythonPythonMapper give:

reading sources... [100%] reference/templates
WARNING: Failed to import class 'autoapi.mappers.python.objects.PythonPythonMapper' [autoapi.import]

Closes #419