Skip to content
Snippets Groups Projects
Commit 1f287c41 authored by Karim Ahmed's avatar Karim Ahmed Committed by Karim Ahmed
Browse files

add mock up for imports

parent 03fac626
No related branches found
No related tags found
1 merge request!605Update RTD documentation. (docstrings, changelog, documentation refactors)
iCalibrationDB @ git+https://xcalgitlab:${GITHUB_TOKEN}@git.xfel.eu/gitlab/detectors/cal_db_interactive.git@2.0.9
\ No newline at end of file
docs/requirements.txtiCalibrationDB @ git+https://xcalgitlab:${GITHUB_TOKEN}@git.xfel.eu/gitlab/detectors/cal_db_interactive.git@2.0.9
......@@ -62,6 +62,12 @@ sys.path.append(os.path.abspath("../pycalibration/"))
p = Popen(["./makeAllDocs.sh"])
p.communicate()
import mock
autodoc_mock_imports = ['Cython']
MOCK_MODULES = ['numpy', 'matplotlib', 'matplotlib.pyplot','Cython']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment