Search code examples
pythonpython-sphinxread-the-docs

Sphinx automodule works offline but not through readthedocs.org


I cant seem to get ReadTheDocs to show a any module's :members:, for instance in my local html i get:

MODULE
module.Beta(r, theta, beta)
    evaluates Beta at point

but after pushing to github the readthedocs doc only says:

MODULE

No error appears and when I build it to html locally it runs without warnings.

Any hints would be greatly appreciated!


Solution

  • Check your Build logs in readthedocs.org dashboard.

    Most likely you are using third party packages which fail to import on readthedocs.org because you are not providing correct requirements.txt file.

    Please see FAQ here.