docling-project / docling-project/docling
Feature Request: Exclude Pages from Processing
Open
enhancement
triage/close-stale
- Dominant language
- Python
- Stars
- 66.4k
- Forks
- 4.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 84
Description
**Description**
It would be very helpful to have an option to exclude a list of pages from processing in Docling.
For example, sometimes PDFs contain cover pages, table of contents, or appendices that should not be parsed.
**Suggested way**
A simple parameter (e.g., `exclude_pages=[1, 2, 10]`) could be passed when processing a document.
This would allow users to skip unnecessary pages and improve performance.
**Benefit**
- Cleaner output by ignoring irrelevant sections
- Faster processing by reducing unnecessary parsing
- More flexibility for different use cases
Contributor guide
Assessment
This issue has not been assessed yet.