Skip to content

Update quickstart to feature DocxodusEngine; widen run_redline type hint#23

Merged
JSv4 merged 1 commit into
mainfrom
docs/quickstart-docxodus-default
May 23, 2026
Merged

Update quickstart to feature DocxodusEngine; widen run_redline type hint#23
JSv4 merged 1 commit into
mainfrom
docs/quickstart-docxodus-default

Conversation

@JSv4
Copy link
Copy Markdown
Owner

@JSv4 JSv4 commented May 23, 2026

Summary

  • docs/quickstart.md led with the legacy XmlPowerToolsEngine and installed [ooxmlpowertools], contradicting the main README which recommends Docxodus. Rewrite around DocxodusEngine and the [docxodus] extra.
  • Add a new Step 4 demonstrating DocxodusEngine kwargs (detect_moves, simplify_move_markup, detail_threshold) and explicitly note that XmlPowerToolsEngine silently ignores them.
  • Broaden run_redline's original/modified annotation from Union[bytes, Path] to Union[str, bytes, Path] — both quickstart examples pass plain str paths, which work but did not match the type hint.

These were spotted while walking the README end-to-end on a fresh clone; everything else in the README and dev workflow was verified accurate.

Test plan

  • python -m pytest tests/ — 21/21 passed locally with the type-hint change
  • CI green on this branch
  • Quickstart renders correctly on GitHub (relative link to README #comparison-settings-docxodusengine-only anchor resolves)

🤖 Generated with Claude Code

…ype hint

The quickstart guide led with the legacy XmlPowerToolsEngine, contradicting
the main README's recommendation. Rewrite it around DocxodusEngine, install
the [docxodus] extra, and call out that the legacy engine silently ignores
the kwargs (move detection, detail threshold, etc.) that the new Step 4 demonstrates.

Also widen run_redline's path arguments from Union[bytes, Path] to
Union[str, bytes, Path] to match documented usage — both quickstart examples
pass plain strings, which work but did not match the annotation.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@JSv4 JSv4 merged commit b9eb486 into main May 23, 2026
13 checks passed
@JSv4 JSv4 deleted the docs/quickstart-docxodus-default branch May 23, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant