Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Add autodoc attrgetter workaround for classes #130

Merged
merged 2 commits into from
Jan 26, 2015

Conversation

embray
Copy link
Member

@embray embray commented Jan 23, 2015

This adds a workaround to the issue I mentioned in this comment. For all I know at the moment only the astropy.modeling package is affected by this. This change doesn't seem to have any negative affect for any other docs.

In the long-term, one criticism I might add about how the class autodoc works is that it doesn't make a distinction between class attributes and instance attributes (which would include properties). That's something I might like to improve in the future (possibly including an upstream fix to Sphinx in the process).

I think the issue fixed here should probably also be addressed in Sphinx so I'll open an upstream issue.

…ed here: astropy#116 (comment)  In principle other fixes to autodoc could be collected here as well but for now this is the only one.
@embray embray added this to the v0.4.5 milestone Jan 23, 2015
embray added a commit that referenced this pull request Jan 26, 2015
Add autodoc attrgetter workaround for classes
@embray embray merged commit f89dab5 into astropy:master Jan 26, 2015
@embray embray deleted the add-autodoc-attrgetter branch January 26, 2015 18:09
embray added a commit that referenced this pull request Feb 11, 2015
Add autodoc attrgetter workaround for classes
embray added a commit to embray/astropy_helpers that referenced this pull request Mar 19, 2015
…his fix was needed. This is more of a followup to astropy#130 to catch some more cases where simply calling getattr() on some objects can result in a non-AttributeError exception.
embray added a commit to embray/astropy_helpers that referenced this pull request Mar 28, 2015
…his fix was needed. This is more of a followup to astropy#130 to catch some more cases where simply calling getattr() on some objects can result in a non-AttributeError exception.
astrofrog pushed a commit to astropy/sphinx-automodapi that referenced this pull request Jan 27, 2018
…c-attrgetter

Add autodoc attrgetter workaround for classes
astrofrog pushed a commit to astropy/sphinx-automodapi that referenced this pull request Jan 27, 2018
…c-attrgetter

Add autodoc attrgetter workaround for classes
astrofrog pushed a commit to astropy/sphinx-astropy that referenced this pull request Jan 29, 2018
…c-attrgetter

Add autodoc attrgetter workaround for classes
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant