From 175636522297190fb0baf27c58a15fd190b78922 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Thu, 28 Aug 2014 16:40:44 -0400 Subject: docs: experimental read the docs doxygen support --- docs/source/conf.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/source/conf.py b/docs/source/conf.py index 22e39e9..06afe60 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -12,7 +12,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys, os, subprocess import os.path # If extensions (or modules to document with autodoc) are in another directory, @@ -251,6 +251,14 @@ man_pages = [ #intersphinx_mapping = {'http://docs.python.org/': None} +# -- Options for Read The Docs deployment ------------------------------------- + +read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' + +if read_the_docs_build: + subprocess.call('cd ../..; make doxygen', shell=True) + + # -- Options for breathe integration ------------------------------------------ # Check to see if doxygen has been run yet -- cgit v1.2.3