From f09407e4d6660a34a35aca12fb28d7e0a942eb72 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Sat, 18 May 2013 06:00:50 +0900 Subject: docs: fix ryu module import readthedocs.org complains about the failure about ryu module import. Signed-off-by: FUJITA Tomonori --- doc/source/conf.py | 5 +++-- 1 file 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 ----------------------------------------------------- -- cgit v1.2.3