HazyResearch / fonduer

A knowledge base construction engine for richly formatted data
https://fonduer.readthedocs.io/
MIT License
409 stars 77 forks source link

Readthedocs issue with Emmental #366

Open senwu opened 4 years ago

senwu commented 4 years ago

Describe the bug Fix the readthedocs issue with Emmental

To Reproduce There are some sphinx.ext.autodoc.importer._MockObject in the current readthedoc.

Expected behavior Have the correct inheritance information.

See https://github.com/HazyResearch/fonduer/pull/329 for context on this bug.

lukehsiao commented 4 years ago

This was just merged: https://github.com/readthedocs/sphinx-autoapi/issues/183.

So, we may be able to do some workaround now.

HiromuHota commented 4 years ago

I've just acknowledged this issue myself. This issue https://github.com/snorkel-team/snorkel/pull/1274 may be relevant?

mocks and type hints don't work together very well (agronholm/sphinx-autodoc-typehints#70)

HiromuHota commented 4 years ago

Is this still an issue? I can't find any _MockObject in the readthedocs. (see the search result at https://readthedocs.org/projects/fonduer/search/?q=_MockObject)