aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-08-28 16:40:44 -0400
committerbnewbold <bnewbold@robocracy.org>2014-08-28 16:40:44 -0400
commit175636522297190fb0baf27c58a15fd190b78922 (patch)
tree5090016422c85dfc8f3b0e55b3f7b94893b5ce20 /docs
parentfc4552f351a01f395e9d1b10b0ada8619ba09d5d (diff)
downloadlibrambutan-175636522297190fb0baf27c58a15fd190b78922.tar.gz
librambutan-175636522297190fb0baf27c58a15fd190b78922.zip
docs: experimental read the docs doxygen support
Diffstat (limited to 'docs')
-rw-r--r--docs/source/conf.py10
1 files changed, 9 insertions, 1 deletions
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