Skip to content

Commit

Permalink
docs/pymupdf4llm/api.rst: fix typo spotted by our codespell test.
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-smith-artifex-com committed Aug 9, 2024
1 parent 9307196 commit eca7066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pymupdf4llm/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The |PyMuPDF4LLM| API

- **"metadata"** - a dictionary consisting of the document's metadata `Document.metadata <https://pymupdf.readthedocs.io/en/latest/document.html#Document.metadata>`_, enriched with additional keys **"file_path"** (the file name), **"page_count"** (number of pages in document), and **"page_number"** (1-based page number).

- **"toc_items"** - a list of Table of Contents items pointing to this page. Each item of this list has the format `[lvl, title, pagenumber]`, where `lvl` is the hierachy level, `title` a string and `pagenumber` the 12-based page number.
- **"toc_items"** - a list of Table of Contents items pointing to this page. Each item of this list has the format `[lvl, title, pagenumber]`, where `lvl` is the hierarchy level, `title` a string and `pagenumber` the 12-based page number.

- **"tables"** - a list of tables on this page. Each item is a dictionary with keys "bbox", "row_count" and "col_count". Key "bbox" is a `pymupdf.Rect` in tuple format of the table's position on the page.

Expand Down

0 comments on commit eca7066

Please sign in to comment.