From fe56f7b6efb13bc9c8f0636a6dcb3f253e6c7efb Mon Sep 17 00:00:00 2001
From: ralfulrich <ralf.ulrich@kit.edu>
Date: Tue, 30 Mar 2021 17:33:05 +0200
Subject: [PATCH] read the docs requirements

---
 documentation/conf.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/documentation/conf.py b/documentation/conf.py
index 61d084630..7ed41f698 100644
--- a/documentation/conf.py
+++ b/documentation/conf.py
@@ -1,6 +1,12 @@
 import sys
+import subprocess, os
 
-# sys.path.append( "/software/bDreathe-4.14.2/" )
+read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
+
+if read_the_docs_build:
+
+    subprocess.call('cd ../doxygen; doxygen', shell=True)
+    
 
 # -- Project information -----------------------------------------------------
 
-- 
GitLab