You can use macros.
, "" . :
.. |PostItem| replace:: :class:`PostItem <hklib.PostItem>`
.. |PostNotFoundError| replace:: :class:`PostNotFoundError <hklib.PostNotFoundError>`
rst . rst:
.. include:: defs.hrst
|PostItem| is a nice class. |PostNotFoundError|, on the other hand is not.
( docstrings Python, autogen. .)
: Foo docstring :
'''This class contains a bunch of |Foo| objects'''