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.
2.2 KiB
2.2 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.0.7 - 2026-10-17
Added
py.typedmarker for PEP 561 type information.build --refreshflag to rebaseline an existingdocs/mkdocs.{kind}.ymlfrom the packaged templates.wikibuild kind with navigation derived from the source file structure.--apibuild mode rendering an OpenAPI reference underdocs/apiwith lib-prefixed navigation.- Hand-written wiki, plus doc-forge-generated API reference under
docs/liband MCP bundle underdocs/mcp(per-kind MkDocs configs). - MIT
LICENSE.
Changed
- Adopted the standard Type A PyPI CI pipeline: a
tag == versionguard and a quality gate (black, ruff, mypy, pydoclint, pytest). - Standardized
pyproject.toml(canonical packaging, lint tool config, extras). - Pinned the
mcpextra tomcp>=1.0.0,<2.0.0to restore compatibility with the current MCP server API used by doc-forge. - Per-kind MkDocs configs (
docs/mkdocs.{lib,api,wiki}.yml) are generated only when absent; an existing config is used verbatim (the file wins). Pass--refreshto regenerate it from the templates. - The wiki template now uses the mongo-ops look: horizontal
navigation.tabsheader, blue grey/teal palette, Roboto font, and additional material feature flags. The lib and api templates are unchanged. - Docstrings and wiki brought to the GSDFC (Google-style) standard.
- The
devextra now includes themkdocsandmcpextras so the quality-gate environment can install and run the full test suite.
Fixed
- Loader-generated signatures render cleanly and unresolvable aliases are dropped from generated models.
- Stub fixes for typed API surfaces.
import docforgeno longer requires the optionalmcpdependency; the MCP server importsmcplazily, matching the MkDocs backend.