I have a bunch of classes which use \"special-methods\":
class Foo(object): \"Foo docstring\" attr1 = \"Attribute!\" #: first attribute attr2 = \"Anoth
The special-members option now takes arguments (this is a new feature in Sphinx 1.2).
So this should work:
.. automodule:: myproject.foomodule :members: :undoc-members: :special-members: __contains__ :show-inheritance: