I am having trouble with readthedocs autodocs - the build completes but my documentation is empty for each class.
Looking at the build information, seem to be getting a Syntax Error which causes a few warning:
print(clean_sample, file=open(new_fname, 'w'))
However, this does not seem like a bug to me at all.
Here is the build information https://readthedocs.org/projects/medembed/builds/7108142/
My file structure is:
MedEmbed/
docs/
build/
source/
code.rst
conf.py
index.rst
medembed/
__init.py
main.py
transformer.py
dataset.py
embedding.py
As such I added within conf.py:
sys.path.insert(0, os.path.abspath('../../medembed'))
I could really appreciate some advice please
EDIT: Python3 Sphinx solved the above.
Now, I am importing a constant DIR_PROCESSED
from init.py
For some reason Sphinx does not like this:
from medembed import DIR_PROCESSED
ImportError: No module named 'medembed
The build failed: https://readthedocs.org/projects/medembed/builds/7108602/