libgit2/pygit2 — pull request #388 by carlosmn (2014-07-10 06:30:28+00:00)
Title: Fix sphinx complaints about the docs

Use the right namespace so Refspec and TransferProgress show up. These
classes are not instantiated by the user, so they were not promoted to
the pygit2 module. Use autoclass so it lists everything for us.

Also use autoclass for the reflog. We had a difference is oid vs id
between the docs and the code.

---

Why don't we use autoclass everywhere instead of listing everything by hand? Sphinx can extract the data from the C modules, so it doesn't seem obvious why we're listing the attributes and methods.