Skip to content

docrot 0.2.2

Latest

Choose a tag to compare

@getdocrot getdocrot released this 03 Jul 05:02
· 13 commits to main since this release

What's here

  • --fix — repairs mechanical rot: dead anchors (single unambiguous target only), lookalike script/install/bin names, docs-root style links, and missing commas that provably make the block parse. Re-scans after writing and reverts any file that got worse. --dry-run previews.
  • MCP serverdocrot-mcp gives coding agents deterministic docs verification: scan_docs and fix_docs (previews by default). claude mcp add docrot -- npx -y -p docrot-cli docrot-mcp
  • Python verification — doctest sessions, indented fragments, parameter excerpts and IPython magics all parse before anything is flagged. FastAPI's 4,868 blocks: zero errors, ~9s.
  • Convention shields learned from the wild: mkdocs include directives, JSON Lines, i18n fallback trees, test trees excluded by default.

Install: npx docrot-cli · npm: docrot-cli