Get spectrometer autodoc working 84/43884/2
authorColin Dixon <colin@colindixon.com>
Fri, 12 Aug 2016 20:20:28 +0000 (16:20 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 12 Aug 2016 20:39:22 +0000 (16:39 -0400)
Change-Id: I66b9c834392ebb937262b9799d83f076cd88464b
Co-Authored-By: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Colin Dixon <colin@colindixon.com>
docs/conf.py
requirements.txt

index 05e6948fe2b1ba26ed7c38698448b6e3bdb541db..ebcd971aa055811e00ee0e7e5fac32057cb7fc49 100644 (file)
@@ -20,7 +20,7 @@ import sphinx_bootstrap_theme
 # 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('submodules/spectrometer/server'))
 
 # -- General configuration ------------------------------------------------
 
@@ -30,7 +30,7 @@ import sphinx_bootstrap_theme
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
-extensions = []
+extensions = ['sphinx.ext.autodoc']
 
 # Disable javasphinx generation until we have a solution to long build
 # times. readthedocs timesout after 902 seconds.
index f793e798bc96a727264d827b27aa4e2cba1356f7..7e75459ccc9683df0a097fbd3c8fbec321bb7605 100644 (file)
@@ -1,4 +1,5 @@
-sphinx>=1.4.4
+sphinx==1.4.4
 sphinx_bootstrap_theme>=0.4.11
 robotframework
 
+-rdocs/submodules/spectrometer/server/requirements.txt