Skip to content

Commit ab1d9e0

Browse files
Merge from main
2 parents 306ba31 + b0f9e78 commit ab1d9e0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

environment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ dependencies:
66
# runtime
77
- python >=3.8,<3.13
88
- mkdocstrings-python >=1.6.2,<2.0
9+
- griffe >=1.0
910
# build
10-
- build >=0.7.0
11+
- python-build >=1.0.0
1112
- hatchling >=1.21
1213
# test
1314
- coverage >=7.4.0

src/mkdocstrings_handlers/python_xref/crossref.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def substitute_relative_crossrefs(obj: Object, checkref: Optional[Callable[[str]
322322
"""Recursively expand relative cross-references in all docstrings in tree.
323323
324324
Arguments:
325-
obj: a Griffe [Object][griffe.dataclasses.] whose docstrings should be modified
325+
obj: a Griffe [Object][griffe.] whose docstrings should be modified
326326
checkref: optional function to check whether computed cross-reference is valid.
327327
Should return True if valid, False if not valid.
328328
"""

0 commit comments

Comments
 (0)