Replace cross-references from :py:mod to :ref: for module types
Quiet Sphinx warning for deprecated Python API doc