summaryrefslogtreecommitdiffhomepage
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-05-18 06:00:50 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-05-23 07:46:59 +0900
commitf09407e4d6660a34a35aca12fb28d7e0a942eb72 (patch)
treefcca026760664e1860ddea71ba6456fe48c3422a /doc/source/conf.py
parentcc6fc59e1dc047ca5e09e37490a19cf11e5a16cd (diff)
docs: fix ryu module import
readthedocs.org complains about the failure about ryu module import. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ebccb2c5..4caf9b0e 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -12,12 +12,13 @@
# serve to show the default.
import sys, os
-from ryu import version as ryu_version
# 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('../..'))
+
+from ryu import version as ryu_version
# -- General configuration -----------------------------------------------------