{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/85","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/85/comments","events_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/85/events","html_url":"https://github.com/sphinx-doc/testing2/issues/85","id":53252184,"number":85,"title":"Minimal support for zope.interface","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/autodoc","name":"autodoc","color":"FFFFFF"},{"url":"https://api.github.com/repos/sphinx-doc/testing2/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/sphinx-doc/testing2/milestones/2","labels_url":"https://api.github.com/repos/sphinx-doc/testing2/milestones/2/labels","id":919560,"number":2,"title":"1.x","description":null,"creator":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":4,"state":"open","created_at":"2015-01-02T11:47:53Z","updated_at":"2015-01-02T13:19:36Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-01-02T13:19:35Z","updated_at":"2015-01-02T13:19:46Z","closed_at":"2015-01-02T13:19:36Z","body":"Here are some minimal changes to autodoc.py to allow it to find attributes and thereby document zope.interface elements.  The changes basically just replace getattr in several places with a custom _getattr that pulls attributes out of the interface elements (since they are hidden).\n\nPerhaps this could somehow be put in a custom extension as attempted here:\n\nhttp://plope.com/Members/chrism/sphinx_autointerface_patch\n\nThis did not play nicely with numpyext for example, which was a show-stopper for me.  Also, the changes required in autodoc are minimal, although ultimately it might be nice to include this functionality somehow in a hook so that other custom \"Interfaces\" etc. could be used.\n\nMichael.\n\n----------------------------------------\n- Bitbucket: https://bitbucket.org/birkenfeld/sphinx/issue/85\n- Originally reported by: Michael Forbes\n- Originally created at: 2009-01-14T02:16:49.636\n"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/testing2/issues/comments/68525976","html_url":"https://github.com/sphinx-doc/testing2/issues/85#issuecomment-68525976","issue_url":"https://api.github.com/repos/sphinx-doc/testing2/issues/85","id":68525976,"user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T13:19:45Z","updated_at":"2015-01-02T13:19:45Z","body":"_From Michael Forbes on 2009-02-20 19:01:18+00:00_\n\nLet me contact the people who have been using this and see if the new one satisfies their needs (I never actually used it because it broke {{{numpyext}}}...)  If so, I would suggest adding it to the core: it is so short, and also acts as a nice simpler example of an extension.  I will update the documentation as such and point out the two gotchas.\r\n\r\nIf the people at zope want to add much more functionality (I only use the Interface stuff), then they should probably maintain a {{{zopeext}}} package, but I still think keeping this in the core would be useful as an example."}}