Replace {func} with mkdocs style links (#18610)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-05-23 14:51:38 +02:00
committed by GitHub
parent 38a95cb4a8
commit 2edb533af2
5 changed files with 6 additions and 6 deletions

View File

@@ -387,7 +387,7 @@ _M = TypeVar("_M", bound=Union[_HasModalityAttr, _HasModalityProp])
def full_groupby_modality(values: Iterable[_M]) -> ItemsView[str, list[_M]]:
"""Convenience function to apply {func}`full_groupby` based on modality."""
"""Convenience function to apply [full_groupby][] based on modality."""
return full_groupby(values, key=lambda x: x.modality)