From 37dab8aed1e41d994d54b40b3eb9073b9244f0c6 Mon Sep 17 00:00:00 2001
From: ojs1g14 <ojs1g14@soton.ac.uk>
Date: Wed, 18 Jul 2018 14:11:20 +0100
Subject: [PATCH] Update conf.py - Add mocking

---
 docs/conf.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 021becf..d20ccf9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -28,6 +28,8 @@ version = ''
 # The full version, including alpha/beta/rc tags
 release = '0.1.0'
 
+autodoc_mock_imports = ["numpy", "matplotlib.pyplot"]
+
 
 # -- General configuration ---------------------------------------------------
 
@@ -45,6 +47,8 @@ extensions = [
     'sphinx.ext.napoleon',
 ]
 
+
+
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
 
-- 
GitLab