sphinx-doc / sphinxcontrib-django

This is a sphinx extension which improves the documentation of Django apps.
https://pypi.org/project/sphinxcontrib-django/
Apache License 2.0
43 stars 25 forks source link

Error in "inheritance-diagram" directive: 1 argument(s) required, 0 supplied. #45

Closed dtomas closed 1 year ago

dtomas commented 1 year ago

When using sphinxcontrib-django together with sphinx.ext.inheritance_diagram in Sphinx 4.4.0, the following error occurs for each model class docstring:

ERROR: Error in "inheritance-diagram" directive:
1 argument(s) required, 0 supplied.

.. inheritance-diagram::
timobrembeck commented 1 year ago

@dtomas Thanks a lot for the report, I hope I resolved the issue, could you install the newest version and check again?

dtomas commented 12 months ago

It's working now, thank you!