Skip to content

Commit e45e8a5

Browse files
committed
__init__(version) Export __version__ from __about__
why: gp_sphinx.config.make_linkcode_resolve() reads __version__ via getattr(package_module, "__version__", ""), falling back to "" and generating broken sphinx source-link URLs like blob/v/src/... what: - Add from .__about__ import __version__ to __init__.py - Add __all__ = ["__version__"]
1 parent b842845 commit e45e8a5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/libtmux_mcp/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
from __future__ import annotations
44

5+
from .__about__ import __version__
6+
7+
__all__ = ["__version__"]
8+
59

610
def main() -> None:
711
"""Entry point for the libtmux MCP server."""

0 commit comments

Comments
 (0)