rm-hull / luma.lcd

Python module to drive PCD8544, HT1621, ST7735, ST7567 and UC1701X-based LCDs
https://luma-lcd.readthedocs.io
MIT License
156 stars 56 forks source link

API docs issue #55

Closed thijstriemstra closed 6 years ago

thijstriemstra commented 6 years ago

https://luma-lcd.readthedocs.io/en/latest/api-documentation.html is not rendering the classes correctly it seems.

thijstriemstra commented 6 years ago

See https://readthedocs.org/projects/luma-lcd/builds/6196303/

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/luma-lcd/envs/latest/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/luma-lcd/checkouts/latest/luma/lcd/aux.py", line 6, in <module>
    from luma.core import lib, error
ImportError: No module named core
/home/docs/checkouts/readthedocs.org/user_builds/luma-lcd/checkouts/latest/doc/api-documentation.rst:20: WARNING: autodoc: failed to import module u'luma.lcd.device'; the following exception was raised:
Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/luma-lcd/envs/latest/local/lib/python2.7/site-packages/sphinx/ext/autodoc.py", line 551, in import_object
    __import__(self.modname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/luma-lcd/checkouts/latest/luma/lcd/device.py", line 33, in <module>
    from luma.core.lib import rpi_gpio
ImportError: No module named core.lib
thijstriemstra commented 6 years ago

Fixed with https://github.com/rm-hull/luma.lcd/commit/aeaf627d9055f8f7303438a5034d8a6eb4157b08