fix(packaging): make mcp an optional backend and install doc backends in dev
All checks were successful
continuous-integration/drone/tag Build is passing

Defer the mcp import in MCPServer.__init__ so 'import docforge' no longer requires the optional mcp dependency (matching the lazy MkDocs import). Add doc-forge[mkdocs,mcp] to the dev extra so the standard quality gate installs the backends the test suite needs.
This commit is contained in:
2026-10-17 04:53:37 +05:30
parent 85243c418d
commit c9e6945c26
3 changed files with 7 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ dev = [
"build>=1.0.0",
"twine>=4.0.0",
"pre-commit>=3.4.0",
"doc-forge[mkdocs,mcp]",
]
docs = [
"doc-forge[mkdocs]",