Skip to content

docs: clarify page backend lifetime and image retention - #5212

Merged
PeterStaar-IBM merged 1 commit into
docling-project:mainfrom
indra622:docs/1996-backend-lifetime
Nov 6, 2026
Merged

PeterStaar-IBM merged 1 commit into
docling-project:mainfrom
indra622:docs/1996-backend-lifetime

Conversation

@indra622

@indra622 indra622 commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Clarify that the internal keep_backend attribute retains page backends for processing stages, not for use after conversion.
  • Explain final cleanup and the memory trade-off of retaining backends and images.
  • Show how to retain page images with generate_page_images and choose their resolution with images_scale, without accessing private backends.

Related to #1996. This is a documentation clarification, not a change to backend lifetime or a new public API.

Validation

  • Repository changed-file validation (make validate): applicable hooks passed.
  • Strict Zensical build of the changed section with the repository theme/extensions: passed; independently rerun by the parent reviewer.
  • Python snippet syntax, missing-image guard, rendered heading and local example link: checked.
  • Backend lifetime and image retention claims checked against the current pipeline source.

Documentation only. No runtime behavior changed. The full documentation site, model-backed conversion and runtime test suite were not run for this change.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

✅ DCO Check Passed

Thanks @indra622, all your commits are properly signed off. 🎉

@mergify

mergify Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 Merge protection satisfied — ready to merge.

Show 1 satisfied protection

🟢 Enforce conventional commit

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

@github-actions github-actions Bot added ai:ci-safe AI triage found no CI-safety concern (advisory) documentation Improvements or additions to documentation pdf PDF issue (except docling-parse) labels Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

AI triage (advisory)

Checked commit c28ff0ace7. The analysis read the diff only. It did not run code from this pull request.

This pull request updates the documentation for advanced options. It explains page backend lifetimes and how to export page images with PdfPipelineOptions.

Topic labels added: documentation, pdf.

CI safety: no concern found. A maintainer must still approve CI.

The ai:* labels are advisory. They do not approve CI and they do not add tests:full. A new push runs this check again.

@github-actions github-actions Bot added the ai:review-lgtm AI first review found no blocker or major issue (advisory) label Nov 6, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI first review (advisory): no blocker found

This review covers the full diff at c28ff0ace7. It read the code and did not run it.

I found nothing that blocks this documentation-only change. I checked its claims against the pipeline source and they match.

A maintainer makes the merge decision. This review never approves the pull request.

@PeterStaar-IBM
PeterStaar-IBM merged commit c173b2e into docling-project:main Nov 6, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai:ci-safe AI triage found no CI-safety concern (advisory) ai:review-lgtm AI first review found no blocker or major issue (advisory) documentation Improvements or additions to documentation pdf PDF issue (except docling-parse)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants