From d24277704a838c9d2b2edd6b11e6d15c09bf9553 Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Fri, 19 Jan 2018 18:05:07 +0530
Subject: [PATCH] disabling doxygen on readthedoc; build failure is due to
 timeout.

---
 docs/source/conf.py | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 4b6e833e..7a207922 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -283,16 +283,8 @@ autodoc_mock_imports = [ 'numpy' , 'moose.sbml' , 'moose.genesis' , 'moose.LIF'
 exclude_patterns = ['/docs/source/user/py/references/*.rst']
 
 #run the doxygen thingy
-# read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
-#
-# if read_the_docs_build:
-#
-#     subprocess.call('cd ../../doxygen; doxygen', shell=True)
-
 import subprocess, os
-
 read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
-
-if read_the_docs_build:
+if not read_the_docs_build:
     subprocess.call('cd doxygen; echo HELLO......................; doxygen Doxyfile', shell=True)
 
-- 
GitLab