Skip to content

Commit a669f1c

Browse files
committed
fix: Never render line numbers for signatures and attribute values
Issue-192: #192
1 parent 53eb82a commit a669f1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mkdocstrings_handlers/python/rendering.py

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ def do_format_signature(
169169
language="python",
170170
inline=False,
171171
classes=["doc-signature"],
172+
linenums=False,
172173
),
173174
)
174175

@@ -230,6 +231,7 @@ def do_format_attribute(
230231
language="python",
231232
inline=False,
232233
classes=["doc-signature"],
234+
linenums=False,
233235
),
234236
)
235237

0 commit comments

Comments
 (0)