From e16e666dcea05bb03938cee03bc45dfdd1083e89 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 27 Dec 2015 22:48:17 +0100 Subject: [PATCH] DOC fix autodoc not working on RTD --- doc/conf.py | 2 +- doc/requirements.txt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 doc/requirements.txt diff --git a/doc/conf.py b/doc/conf.py index eae97ac..dac6859 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -18,7 +18,7 @@ import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('..')) # -- General configuration ------------------------------------------------ diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 0000000..56c7e15 --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,4 @@ +pyusb +Pillow>=2.0 +qrcode>=4.0 +pyserial \ No newline at end of file