Skip to content

Documentation has various problems #70

Description

@dhdaines

I'm quite impressed by the quality of table extraction from gmft! However I'm having a bit of trouble figuring out how to use it effectively because of some problems with the documentation:

The page on LLM formatting advises to use gmft._rich_text.rich_page. This seems sketchy since it appears to be an internal module, and indeed, it doesn't actually work, giving this output:

ImportError: gmft._rich_text was experimental. Functionality has been moved to gmft.formatters.page.auto.AutoPageFormatter.

But... Where is the documentation for AutoPageFormatter? I can't seem to find it anywhere on https://gmft.readthedocs.io/ and the class itself doesn't say much of anything in its docstrings.

In fact the class doesn't seem to do much of anything either. Looking at the code I think I'm actually supposed to use gmft.formatters.page.embed.embed_tables? Both the documentation and the error message above should be updated.

Also, none of the notebooks can be viewed in GitHub (maybe this is GitHub's problem...), giving this error:

There was an error rendering your Notebook: the 'state' key is missing from 'metadata.widgets'. Add 'state' to each, or remove 'metadata.widgets'.
Using nbformat v5.10.4 and nbconvert v7.16.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions