From 975d1c75bec493eee11c6b3cd50fee9fdc70c573 Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauld.mccarthy@gmail.com>
Date: Wed, 29 Jun 2016 10:46:27 +0100
Subject: [PATCH] Source code no longer included in docs

---
 doc/conf.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/doc/conf.py b/doc/conf.py
index 07453dacd..96dd7fc81 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -34,7 +34,6 @@ date = datetime.date.today()
 extensions = [
     'sphinx.ext.autodoc',
     'sphinx.ext.autosummary', 
-    'sphinx.ext.viewcode',
     'sphinx.ext.mathjax',
     'sphinx.ext.graphviz',
     'sphinx.ext.todo',
@@ -347,7 +346,7 @@ epub_exclude_files = ['search.html']
 autoclass_content = 'class'
 
 # Document private members and special members (e.g. __init__)
-autodoc_default_flags = ['private-members', 'special-members']
+autodocsourc_default_flags = ['special-members']
 
 # Documentation for python modules is in the same order
 # as the source code.
-- 
GitLab