Skip to content

Commit 30d901f

Browse files
EliEli
authored andcommitted
Added mock objects for sphinx.
1 parent 011d27a commit 30d901f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docsrc/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
tls_verify = False
2828
# using mock to avoid nodepy documentation which is hard to import
2929
# import mock
30-
# MOCK_MODULES = ['nodepy']
31-
# for mod_name in MOCK_MODULES:
32-
# sys.modules[mod_name] = mock.Mock()
33-
30+
autodoc_mock_imports = ["nodepy",
31+
"gdal","osgeo","rasterio","fiona","pyproj",
32+
"geopandas","shapely","netCDF4","xarray","vtools3"
33+
]
3434
# -- General configuration ---------------------------------------------
3535

3636
# If your documentation needs a minimal Sphinx version, state it here.

0 commit comments

Comments
 (0)