Skip to content

Commit ba7acbd

Browse files
committed
Fix up towncrier build
1 parent 6396eda commit ba7acbd

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ convention = "numpy"
135135
docstring-code-format = true
136136

137137
[tool.towncrier]
138-
package = "mkdocstrings_python_accessors"
138+
package = "mkdocstrings_handlers.python_accessors"
139139
package_dir = "src"
140140
filename = "docs/changelog.md"
141141
directory = "changelog/"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
"""Python handler for documenting accessors with mkdocstrings"""
22

3+
import importlib.metadata
4+
35
from .handler import PythonAccessorsHandler
46

7+
__version__ = importlib.metadata.version("mkdocstrings_python_accessors")
58
__all__ = ["get_handler"]
69

710
get_handler = PythonAccessorsHandler

0 commit comments

Comments
 (0)