jtpaquet / PiCamera-GUI

A GUI for Raspberry Pi's camera module with live time preview.
BSD 3-Clause "New" or "Revised" License
13 stars 6 forks source link

Read The Docs automodule not working when I'm building it with rtd. but works when I build it with **make html** command #1

Closed jtpaquet closed 6 years ago

jtpaquet commented 6 years ago

Hi, I'm having trouble documenting a class with the autoclass command. I specified where are my source files and I don't get import errors that tell me Sphinx is not finding my module. I think I'm getting this part right because when I go in the docs folder and I enter the command: $ make html the html files build well and I get what I want, which is this class documented.

make html

When I build it with Read The Docs to have it hosted on https://picamera-gui.readthedocs.io/en/latest/code.html#picameragui-py, I don't get any error, but the class is not displayed.

build rtd

In the admin settings of my Read The Docs project, I specified a requirements.txt file that I built with $ pip freeze > requirements.txt admin settings

I also didn't check the Install your project inside a virtualenv using setup.py install box because I don't have a setup.py file in my folder and I don't know how I can install a virtual environment. When I check the box, I get this error in my Read The Docs builds

setup py

I think I'm missing something and if somebody knows rapidly what I'm doing wrong, it would be great.

If I forgot information that might help you finding my problem, here is my deposit: https://github.com/jtpaquet/PiCamera-GUI

Thank you, Jérémy Talbot-Pâquet

PS: Sorry for the documentation in French