-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Sphinx Autodoc fails in can_document_member with Django #3280
Comments
For 1.6 tree the exception is as follows:
|
arcivanov
added a commit
to arcivanov/sphinx
that referenced
this issue
Dec 25, 2016
arcivanov
added a commit
to arcivanov/sphinx
that referenced
this issue
Dec 27, 2016
arcivanov
added a commit
to arcivanov/sphinx
that referenced
this issue
Dec 27, 2016
@tk0miya thoughts? |
Based on the latest sphinx master the error is gone and module loading warnings are emitted instead. This behavior seems appropriate.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Subject: Sphinx Autodoc fails in
can_document_member
with DjangoProblem
can_document_member
should handle errors and returnFalse
(as in "No, I cannot") if import produces an error of any kind. In other words, if any error is produced incan_document_member
, it should exclude the member from documentation, possibly with a warning being issued.Procedure to reproduce the problem
N/A
Error logs / results
Expected results
Skip the member and issue a warning
Reproducible project / your project
N/A
Environment info
N/A
The text was updated successfully, but these errors were encountered: