Skip to content

Commit e420efe

Browse files
committed
py(deps[docs]): Add sphinx-autodoc-fastmcp and local gp-sphinx uv.sources
why: Consume the new extension from gp-sphinx; optional path overrides for a sibling gp-sphinx clone during development. what: - dev/docs dependency on sphinx-autodoc-fastmcp - tool.uv.sources for gp-sphinx, sphinx-autodoc-api-style, sphinx-autodoc-fastmcp - mypy override for sphinx_autodoc_fastmcp - uv.lock
1 parent 85b8387 commit e420efe

2 files changed

Lines changed: 59 additions & 23 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,18 @@ Changes = "https://github.com/tmux-python/libtmux-mcp/blob/master/CHANGES"
5353
[project.scripts]
5454
libtmux-mcp = "libtmux_mcp:main"
5555

56+
# Sibling clone: ../gp-sphinx (git-pull/gp-sphinx). Override PyPI pins for local dev.
57+
[tool.uv.sources]
58+
gp-sphinx = { path = "../gp-sphinx/packages/gp-sphinx", editable = true }
59+
sphinx-autodoc-api-style = { path = "../gp-sphinx/packages/sphinx-autodoc-api-style", editable = true }
60+
sphinx-autodoc-fastmcp = { path = "../gp-sphinx/packages/sphinx-autodoc-fastmcp", editable = true }
61+
5662
[dependency-groups]
5763
dev = [
5864
# Docs
5965
"gp-sphinx==0.0.1a5",
6066
"sphinx-autodoc-api-style==0.0.1a5",
67+
"sphinx-autodoc-fastmcp==0.0.1a5",
6168
"gp-libs",
6269
"sphinx-autobuild",
6370
# Testing
@@ -80,6 +87,7 @@ dev = [
8087
docs = [
8188
"gp-sphinx==0.0.1a5",
8289
"sphinx-autodoc-api-style==0.0.1a5",
90+
"sphinx-autodoc-fastmcp==0.0.1a5",
8391
"gp-libs",
8492
"sphinx-autobuild",
8593
]
@@ -115,7 +123,7 @@ files = [
115123
]
116124

117125
[[tool.mypy.overrides]]
118-
module = ["fastmcp_autodoc", "docutils", "docutils.*"]
126+
module = ["sphinx_autodoc_fastmcp", "sphinx_autodoc_fastmcp.*", "docutils", "docutils.*"]
119127
ignore_missing_imports = true
120128

121129
[[tool.mypy.overrides]]

uv.lock

Lines changed: 50 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)