diff --git a/changelog/186.doc.rst b/changelog/186.doc.rst new file mode 100644 index 00000000..407e8770 --- /dev/null +++ b/changelog/186.doc.rst @@ -0,0 +1,3 @@ +Fix incorrect ``:py:class:`` role used for a method reference in +``docs/index.rst``; ``PluginManager.add_hookcall_monitoring()`` is +now correctly referenced with ``:py:meth:``. diff --git a/docs/index.rst b/docs/index.rst index b98c4956..788d4362 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -996,7 +996,7 @@ Call monitoring --------------- Instead of using the built-in tracing mechanism you can also add your own ``before`` and ``after`` monitoring functions using -:py:class:`pluggy.PluginManager.add_hookcall_monitoring()`. +:py:meth:`pluggy.PluginManager.add_hookcall_monitoring()`. The expected signature and default implementations for these functions is: