diff --git a/doc/conf.py b/doc/conf.py index ab130b01..283edc9f 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -25,6 +25,9 @@ import sys, os, re sys.path.append("../breathe") +if os.environ.get('READTHEDOCS', None) == 'True': + subprocess.call('doxygen') + # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.ifconfig', 'breathe']