Skip to content

Commit

Permalink
fix: Never render line numbers for signatures and attribute values
Browse files Browse the repository at this point in the history
Issue-192: #192
  • Loading branch information
pawamoy committed Nov 26, 2024
1 parent 53eb82a commit a669f1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mkdocstrings_handlers/python/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def do_format_signature(
language="python",
inline=False,
classes=["doc-signature"],
linenums=False,
),
)

Expand Down Expand Up @@ -230,6 +231,7 @@ def do_format_attribute(
language="python",
inline=False,
classes=["doc-signature"],
linenums=False,
),
)

Expand Down

0 comments on commit a669f1c

Please sign in to comment.