Skip to content

Commit

Permalink
refactor: Set handler's name
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Apr 28, 2024
1 parent ad09a2d commit a71ab12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mkdocstrings_handlers/python/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def chdir(path: str) -> Iterator[None]: # noqa: D103
class PythonHandler(BaseHandler):
"""The Python handler class."""

name = "python"
"""The handler's name."""
domain: str = "py" # to match Sphinx's default domain
"""The cross-documentation domain/language for this handler."""
enable_inventory: bool = True
Expand Down

0 comments on commit a71ab12

Please sign in to comment.