diff -Nru sphinx-paramlinks-0.5.0/debian/changelog sphinx-paramlinks-0.5.1/debian/changelog --- sphinx-paramlinks-0.5.0/debian/changelog 2021-02-04 17:15:34.000000000 +0000 +++ sphinx-paramlinks-0.5.1/debian/changelog 2021-05-15 17:16:32.000000000 +0000 @@ -1,3 +1,9 @@ +sphinx-paramlinks (0.5.1-1) experimental; urgency=medium + + * New upstream release. + + -- Dmitry Shachnev Sat, 15 May 2021 20:16:32 +0300 + sphinx-paramlinks (0.5.0-1) unstable; urgency=medium * New upstream release. diff -Nru sphinx-paramlinks-0.5.0/PKG-INFO sphinx-paramlinks-0.5.1/PKG-INFO --- sphinx-paramlinks-0.5.0/PKG-INFO 2021-01-29 18:39:49.006512400 +0000 +++ sphinx-paramlinks-0.5.1/PKG-INFO 2021-05-10 01:28:42.689647400 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sphinx-paramlinks -Version: 0.5.0 +Version: 0.5.1 Summary: Allows param links in Sphinx function/method descriptions to be linkable Home-page: http://github.com/sqlalchemyorg/sphinx-paramlinks Author: Mike Bayer @@ -13,7 +13,7 @@ A `Sphinx `_ extension which allows ``:param:`` directives within Python documentation to be linkable. - This is an experimental, possibly-not-useful extension that's used by the + This is an experimental extension that's used by the `SQLAlchemy `_ project and related projects. Configuration diff -Nru sphinx-paramlinks-0.5.0/README.rst sphinx-paramlinks-0.5.1/README.rst --- sphinx-paramlinks-0.5.0/README.rst 2021-01-29 17:13:09.000000000 +0000 +++ sphinx-paramlinks-0.5.1/README.rst 2021-02-01 16:02:47.000000000 +0000 @@ -5,7 +5,7 @@ A `Sphinx `_ extension which allows ``:param:`` directives within Python documentation to be linkable. -This is an experimental, possibly-not-useful extension that's used by the +This is an experimental extension that's used by the `SQLAlchemy `_ project and related projects. Configuration diff -Nru sphinx-paramlinks-0.5.0/sphinx_paramlinks/__init__.py sphinx-paramlinks-0.5.1/sphinx_paramlinks/__init__.py --- sphinx-paramlinks-0.5.0/sphinx_paramlinks/__init__.py 2021-01-29 17:01:54.000000000 +0000 +++ sphinx-paramlinks-0.5.1/sphinx_paramlinks/__init__.py 2021-05-10 01:28:05.000000000 +0000 @@ -1,3 +1,3 @@ -__version__ = "0.5.0" +__version__ = "0.5.1" from .sphinx_paramlinks import setup # noqa diff -Nru sphinx-paramlinks-0.5.0/sphinx_paramlinks/sphinx_paramlinks.py sphinx-paramlinks-0.5.1/sphinx_paramlinks/sphinx_paramlinks.py --- sphinx-paramlinks-0.5.0/sphinx_paramlinks/sphinx_paramlinks.py 2021-01-29 18:36:04.000000000 +0000 +++ sphinx-paramlinks-0.5.1/sphinx_paramlinks/sphinx_paramlinks.py 2021-05-10 01:24:13.000000000 +0000 @@ -309,7 +309,13 @@ doc_entries = entries[docname] _indexentries(app.env)[docname].extend(doc_entries) - if LooseVersion(__version__) >= LooseVersion("3.0.0"): + if LooseVersion(__version__) >= LooseVersion("4.0.0"): + for entry in doc_entries: + sing, desc, ref, extra = entry[:4] + app.env.domains["py"].data["objects"][ref] = ObjectEntry( + docname, ref, "parameter", False + ) + elif LooseVersion(__version__) >= LooseVersion("3.0.0"): for entry in doc_entries: sing, desc, ref, extra = entry[:4] app.env.domains["py"].data["objects"][ref] = ObjectEntry( diff -Nru sphinx-paramlinks-0.5.0/sphinx_paramlinks.egg-info/PKG-INFO sphinx-paramlinks-0.5.1/sphinx_paramlinks.egg-info/PKG-INFO --- sphinx-paramlinks-0.5.0/sphinx_paramlinks.egg-info/PKG-INFO 2021-01-29 18:39:48.000000000 +0000 +++ sphinx-paramlinks-0.5.1/sphinx_paramlinks.egg-info/PKG-INFO 2021-05-10 01:28:42.000000000 +0000 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: sphinx-paramlinks -Version: 0.5.0 +Version: 0.5.1 Summary: Allows param links in Sphinx function/method descriptions to be linkable Home-page: http://github.com/sqlalchemyorg/sphinx-paramlinks Author: Mike Bayer @@ -13,7 +13,7 @@ A `Sphinx `_ extension which allows ``:param:`` directives within Python documentation to be linkable. - This is an experimental, possibly-not-useful extension that's used by the + This is an experimental extension that's used by the `SQLAlchemy `_ project and related projects. Configuration