Commits

Miha Stajdohar committed 40f26f6

Added Orange.network namespace when building docs.

Comments (0)

Files changed (1)

 # serve to show the default.
 
 import sys, os, os.path
-#import mock
 import numpydoc
 import imp
 
 # 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.append(os.path.abspath('../../mm'))
+sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..'))
+import Orange
+import _network
+Orange.network = _network
 
 # -- General configuration -----------------------------------------------------