Index: doc/conf.py =================================================================== diff -u -rafa9043b19caedbb2ae05acb8bce93d33b0381ec -r4b41edf5a1ed3b1f7e975bf44b900ac246fa1d11 --- doc/conf.py (.../conf.py) (revision afa9043b19caedbb2ae05acb8bce93d33b0381ec) +++ doc/conf.py (.../conf.py) (revision 4b41edf5a1ed3b1f7e975bf44b900ac246fa1d11) @@ -28,9 +28,9 @@ def __getattr__(cls, name): return Mock() -MOCK_MODULES = ['osgeo.gdal','osgeo.gdalconst', - 'osgeo','netCDF4', - '_pcraster','netCDF4_utils','netcdftime'] +MOCK_MODULES = ['_pcraster','_pcraster_modflow','PCRaster.NumPy', + 'osgeo.gdal','osgeo.gdalconst','osgeo','netCDF4', + 'netCDF4_utils','netcdftime','PCRaster','PCRaster.Framework'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) @@ -39,11 +39,12 @@ # 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('pcraster-for-doc-only/')) sys.path.insert(0, os.path.abspath('../wflow-py/wflow/')) sys.path.insert(0, os.path.abspath('../wflow-py/')) sys.path.insert(0, os.path.abspath('../wflow-py/Scripts/')) -sys.path.insert(0, os.path.abspath('../wflow-py/pcraster/')) + import wflow #from wflow import *