Skip to content

Commit

Permalink
fix(docs): render func args as args, not list of args
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth authored and cpcloud committed Dec 6, 2024
1 parent 1163156 commit 51d90a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/backends/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def render_method(*, member, renderer: MdRenderer) -> Iterator[str]:
yield f"{header} {name} {{ #{member.path} }}"
yield "\n"
if params is not None:
yield f"`{name}({params})`"
yield f"`{name}({', '.join(params)})`"
yield "\n"

yield get_renderer(header_level + 1).render(find_member_with_docstring(member))
Expand Down

0 comments on commit 51d90a7

Please sign in to comment.