From 0f9e615b4f3ae84e125c11a43427b92ac3144059 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marek=20Vavru=C5=A1a?= <marek.vavrusa@nic.cz>
Date: Wed, 30 Sep 2015 13:43:10 +0200
Subject: [PATCH] doc: rtd doxygen search

---
 doc/conf.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/conf.py b/doc/conf.py
index 4aef16b5a..7cc079476 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -5,7 +5,9 @@ import sys, os, re, subprocess
 # -- General configuration -----------------------------------------------------
 
 if os.environ.get('READTHEDOCS', None) == 'True':
-  subprocess.call('doxygen')
+  sys.path.append('..')
+  sys.path.append('../../')
+  subprocess.call("cd %s; doxygen" % os.getcwd(), shell=True)
 
 # Add any Sphinx extension module names here, as strings.
 extensions = ['sphinx.ext.todo', 'sphinx.ext.viewcode', 'breathe']
-- 
GitLab