Skip to content

Commit

Permalink
Merge pull request #41 from bellert/fix-cpp-docs
Browse files Browse the repository at this point in the history
Build Doxygen from Read the Docs
  • Loading branch information
bellert committed Jun 13, 2018
2 parents 4aebc3e + f7c5e1f commit a5497dd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/source/conf.py
Expand Up @@ -16,7 +16,7 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import subprocess, os
import sys
# sys.path.insert(0, os.path.abspath('.'))
config_directory = os.path.dirname(os.path.abspath(__file__))
Expand Down Expand Up @@ -181,3 +181,9 @@
author, 'minorminer', 'One line description of project.',
'Miscellaneous'),
]

read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'

if read_the_docs_build:

subprocess.call('cd ..; make cpp', shell=True)

0 comments on commit a5497dd

Please sign in to comment.