From ca154ac8ae047f4f52ce5d1922d93b7ae8d42ebc Mon Sep 17 00:00:00 2001 From: Giannis Manousaridis Date: Fri, 6 Jun 2025 13:43:36 +0300 Subject: [PATCH] docs: update export table function args --- docs/examples/export_tables.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/examples/export_tables.py b/docs/examples/export_tables.py index 9a911d84..833c314f 100644 --- a/docs/examples/export_tables.py +++ b/docs/examples/export_tables.py @@ -40,12 +40,11 @@ def main(): element_html_filename = output_dir / f"{doc_filename}-table-{table_ix + 1}.html" _log.info(f"Saving HTML table to {element_html_filename}") with element_html_filename.open("w") as fp: - fp.write(table.export_to_html(doc=conv_res.document)) + fp.write(table.export_to_html()) end_time = time.time() - start_time _log.info(f"Document converted and tables exported in {end_time:.2f} seconds.") - if __name__ == "__main__": main()