Skip to content

Commit a669f1c

Browse files
committed
fix: Never render line numbers for signatures and attribute values
Issue-192: mkdocstrings#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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy