Skip to content

Commit 6074aba

Browse files
committed
docs(refactor[ext]): Document {toolicon} as alias for {tooliconl}
why: _toolicon_role and _tooliconl_role were identical with no comment, looking like an incomplete refactoring step. what: - Add clarifying comment explaining the intentional alias
1 parent a956858 commit 6074aba

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/_ext/fastmcp_autodoc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,6 +1036,7 @@ def role_fn(
10361036
return role_fn
10371037

10381038

1039+
# {toolicon} is a convenience alias for {tooliconl} (both render icon-left)
10391040
_toolicon_role = _make_toolicon_role("left")
10401041
_tooliconl_role = _make_toolicon_role("left")
10411042
_tooliconr_role = _make_toolicon_role("right")

0 commit comments

Comments
 (0)