Loading autocnet/fileio/io_libs.py +0 −4 Original line number Diff line number Diff line import datetime import os import re import numpy as np import pandas as pd Loading docs/conf.py +61 −60 Original line number Diff line number Diff line Loading @@ -17,14 +17,6 @@ import sys import os from unittest.mock import MagicMock class Mock(MagicMock): @classmethod def __getattr__(cls, name): return Mock() MOCK_MODULES = ['proj4', 'gdal', 'numpy', 'pandas', 'scipy'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # 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 Loading Loading @@ -210,7 +202,6 @@ html_last_updated_fmt = '%b %d, %Y' # Output file base name for HTML help builder. htmlhelp_basename = 'autocnetdoc' # -- Options for LaTeX output ------------------------------------------ latex_elements = { Loading Loading @@ -296,6 +287,16 @@ texinfo_documents = [ class Mock(MagicMock): @classmethod def __getter__(cls, name): return Mock() MOCK_MODULES = ['proj4', 'numpy', 'pandas', 'scipy', 'osgeo'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # NumpyDoc Options numpydoc_show_class_members = True numpydoc_class_members_toctree = False Loading
autocnet/fileio/io_libs.py +0 −4 Original line number Diff line number Diff line import datetime import os import re import numpy as np import pandas as pd Loading
docs/conf.py +61 −60 Original line number Diff line number Diff line Loading @@ -17,14 +17,6 @@ import sys import os from unittest.mock import MagicMock class Mock(MagicMock): @classmethod def __getattr__(cls, name): return Mock() MOCK_MODULES = ['proj4', 'gdal', 'numpy', 'pandas', 'scipy'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # 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 Loading Loading @@ -210,7 +202,6 @@ html_last_updated_fmt = '%b %d, %Y' # Output file base name for HTML help builder. htmlhelp_basename = 'autocnetdoc' # -- Options for LaTeX output ------------------------------------------ latex_elements = { Loading Loading @@ -296,6 +287,16 @@ texinfo_documents = [ class Mock(MagicMock): @classmethod def __getter__(cls, name): return Mock() MOCK_MODULES = ['proj4', 'numpy', 'pandas', 'scipy', 'osgeo'] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) # NumpyDoc Options numpydoc_show_class_members = True numpydoc_class_members_toctree = False