From 9b3ea96afbfcbd6b5db9dabe8f9f1ee163ec8b26 Mon Sep 17 00:00:00 2001
From: Aditya Dange <adityadange.ska@gmail.com>
Date: Fri, 1 Feb 2019 21:41:19 +0530
Subject: [PATCH] Update sys.path in conf.py

---
 docs/source/conf.py   | 3 ++-
 docs/source/index.rst | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 6ac21014..947fcd2e 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -29,7 +29,8 @@ sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
 # 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('../../skabase'))
+sys.path.insert(0, os.path.abspath('../../'))
+sys.path.append(os.path.abspath('../../skabase'))
 # -- General configuration ------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
diff --git a/docs/source/index.rst b/docs/source/index.rst
index 94096a36..7782a446 100644
--- a/docs/source/index.rst
+++ b/docs/source/index.rst
@@ -11,6 +11,7 @@ Welcome to LMC Base Classes documentation!
   :maxdepth: 2
 
 .. automodule:: SKABaseDevice.SKABaseDeviceModule
+   :members:
 
 .. autoclass:: SKABaseDevice.SKABaseDeviceModule.SKABaseDevice
    :members:
-- 
GitLab