Éric Araujo firstname.lastname@example.org added the comment:
Again, changing the role :func: to :class: adds zero value to the tools or the human readers. What’s needed are class *directives* that will provide a target for those links, e.g.:
.. class:: list
.. method:: append
Then :func:`list` and :meth:`list.append` would generate links to his part of the docs.