Skip to content

Commit ae9288f

Browse files
committed
docs: move docstring for signature, so it appears in docs
1 parent f12a29a commit ae9288f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quartodoc/renderers/md_renderer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def render_annotation(self, el: expr.Expr) -> str:
140140

141141
@dispatch
142142
def signature(self, el: layout.Doc):
143+
"""Return a string representation of an object's signature."""
143144
orig = self.display_name
144145

145146
# set signature path, generate signature, then set back
@@ -156,7 +157,6 @@ def signature(self, el: layout.Doc):
156157

157158
@dispatch
158159
def signature(self, el: dc.Alias, source: Optional[dc.Alias] = None):
159-
"""Return a string representation of an object's signature."""
160160
return self.signature(el.final_target, el)
161161

162162
@dispatch

0 commit comments

Comments
 (0)