I’ve got a problem visualizing the documentation of my project in Read the Docs. Everything works fine locally by executing the command make html
, but in Read the Docs the functions that should be generated by the directive automodule don’t show up.
This is how my repository is structured.
In the conf.py I set the absolute path as follows: sys.path.insert(0, os.path.abspath('../..'))
, and then I used the following instruction for automatically describing the functions contained in the Python module in my documentation:
.. automodule:: library.module1
:members:
However, no functions are shown by compiling the doc in Read The Docs. I also tried to install my project in a virtualenv by specifying a requirements.txt file in the RTD advanced settings, but this doesn’t work either. Any suggestions?