Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the documentation to reflect the |PyMuPDF4LLM| 0.3.4 API changes around OCR configuration and to document alternative OCR engine usage within the |PyMuPDF Layout| guide.
Changes:
- Updates the
to_markdownAPI signature/docs to includeocr_functionandforce_ocr, and adjustsocr_dpidefault to 300. - Adds an “OCR engines” section describing Tesseract default behavior and how to use RapidOCR / combined engines via
ocr_function.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| docs/pymupdf4llm/api.rst | Updates to_markdown signature and parameter docs for new OCR-related options. |
| docs/pymupdf-layout/index.rst | Adds OCR engine documentation and examples for custom OCR functions (RapidOCR / Rapid+Tesseract). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
JorjMcKie
reviewed
Feb 16, 2026
fa83c25 to
38a790d
Compare
38a790d to
34ab168
Compare
Collaborator
Author
|
@JorjMcKie Fixed up with yours & Copilot's suggestions. |
JorjMcKie
approved these changes
Feb 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.