mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-05 12:26:11 +02:00
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>
This commit is contained in:
parent
cc6fc59e1d
commit
f09407e4d6
@ -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 -----------------------------------------------------
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user