doc: add a hook crossref type
Allow writing
🪝`pytest_cmdline_main`
instead of
:func:`pytest_cmdline_main <_pytest.hookspec.pytest_cmdline_main>`
This commit is contained in:
@@ -985,7 +985,7 @@ class CallSpec2:
|
||||
|
||||
@final
|
||||
class Metafunc:
|
||||
"""Objects passed to the :func:`pytest_generate_tests <_pytest.hookspec.pytest_generate_tests>` hook.
|
||||
"""Objects passed to the :hook:`pytest_generate_tests` hook.
|
||||
|
||||
They help to inspect a test function and to generate tests according to
|
||||
test configuration or values specified in the class or module where a
|
||||
|
||||
Reference in New Issue
Block a user