Skip to content

[docs] Add formula recognition to the overview pages, pipeline diagram and README - #2234

Merged
felixdittrich92 merged 1 commit into
mindee:mainfrom
felixdittrich92:docs
Nov 24, 2026
Merged

felixdittrich92 merged 1 commit into
mindee:mainfrom
felixdittrich92:docs

Conversation

@felixdittrich92

Copy link
Copy Markdown
Collaborator

This PR updates the docs ahead of the v1.2.0 release.

The docs refactor (#2185) landed before formula recognition (#2227). The feature PRs since then updated their own pages, but the shared overview pages still described 4 tasks. This PR adds formulas to those pages:

  • Landing page: "5 tasks" (formulas added), formulas in the meta description and hero text, and the card renamed "Layout, tables & formulas"
  • Pipeline diagram (landing + concepts): new optional Formula recognition stage (detect_formulas=True), fed by the layout model, with its output going into the Document
  • Concepts: formula_predictor in the factory table, formulas in the Document tree, Formula in the elements table, and the optional layout_predictor / table_predictor / formula_predictor attributes of the OCR predictor
  • OCR predictor: detect_formulas added to the options table
  • Results: page.formulas and the formulas key of the JSON export
  • Exporting: how formulas are rendered (display math), and formulas in the reading order and figure sections
  • Quickstart: "Go further" section now points to detect_formulas=True
  • "Layout analysis & tables" retitled "Layout analysis, tables & formulas"; formula_predictor added to the predictor lists in loading documents / performance
  • README: short detect_tables / detect_formulas example in the quick tour (checked on arXiv:1706.03762)

The docs build with no warnings.

Not included: changelog, switcher.json and docs/build.sh entries for v1.2.0. Those go in the post-release PR.

🤖 Generated with Claude Code

…m and README

The landing page, concepts, quickstart, OCR predictor options, results and exporting pages
were written before FormulaNet (mindee#2227) and only mentioned 4 tasks. Add formulas to them,
add a formula recognition stage to the pipeline diagram, and add a short table/formula
example to the README quick tour.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@felixdittrich92 felixdittrich92 self-assigned this Nov 24, 2026
@felixdittrich92 felixdittrich92 added topic: documentation Improvements or additions to documentation type: enhancement Improvement ext: docs Related to docs folder labels Nov 24, 2026
@felixdittrich92 felixdittrich92 added this to the 1.2.0 milestone Nov 24, 2026
@felixdittrich92
felixdittrich92 merged commit 6a0c945 into mindee:main Nov 24, 2026
58 checks passed
@felixdittrich92
felixdittrich92 deleted the docs branch November 24, 2026 11:08
@codecov

codecov Bot commented Nov 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.26%. Comparing base (770710c) to head (c741533).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2234   +/-   ##
=======================================
  Coverage   98.25%   98.26%           
=======================================
  Files         181      181           
  Lines       12863    12863           
=======================================
+ Hits        12639    12640    +1     
+ Misses        224      223    -1     
Flag Coverage Δ
unittests 98.26% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ext: docs Related to docs folder topic: documentation Improvements or additions to documentation type: enhancement Improvement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant