Skip to content

Commit

Permalink
udpate docs just a little bit :)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeus committed Feb 13, 2024
1 parent b54ff08 commit 60aa205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/document.md
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ Document('somefile.pdf').page_classifier(candidate_labels=['table_of_contents',

### page_templates

generates a text page with table & figure hints
Generates a text page while replacing certain elements of the page which can be specified as a list of ElementTypes. It also automatically replaces elements which don't have a textual representation with an identifier. This is often the case with images & figures for example. The Id of the placeholder refers to the index of the DocumentObject. So for example, if we encounter and Identifier: {Table_22}, we would be able to find it using doc.document_objects[22] or doc.do[22].

*name*
: `<Document>.x('page_templates') or <Document>.page_templates`
Expand Down

0 comments on commit 60aa205

Please sign in to comment.