Add configuration for Read The Docs integration

This commit is contained in:
Oliver Hamlet
2016-08-24 08:08:13 +01:00
parent 9c04741de2
commit ec018387ac
2 changed files with 12 additions and 0 deletions
+11
View File
@@ -20,6 +20,17 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import subprocess, os
read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'
if read_the_docs_build:
output_directory = '../../build/documentation'
if not os.path.exists(output_directory):
os.makedirs(output_directory)
subprocess.call('doxygen', shell=True)
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
+1
View File
@@ -0,0 +1 @@
breathe