Updated git submodules
[docs.git] / docs / conf.py
index 6c13c61e4ba910de68ce8841d61e49d8d4392331..0dfb669b4c0ce3102fe48043a6ede09e293474cb 100644 (file)
@@ -32,13 +32,15 @@ import sphinx_bootstrap_theme
 # ones.
 extensions = []
 
-javasphinx_available = False
-try:
-     import javasphinx
-     javasphinx_available = True
-     extensions.append('javasphinx')
-except ImportError, e:
-     pass
+# Disable javasphinx generation until we have a solution to long build
+# times. readthedocs timesout after 902 seconds.
+# javasphinx_available = False
+# try:
+#      import javasphinx
+#      javasphinx_available = True
+#      extensions.append('javasphinx')
+# except ImportError, e:
+#      pass
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -316,5 +318,6 @@ subprocess.call(["./build-integration-robot-libdoc.sh"])
 
 # Disable javasphinx generation until we have a solution to long build
 # times. readthedocs timesout after 902 seconds.
+subprocess.call(["rm","-rf","javadoc"])
 # if javasphinx_available:
 #     subprocess.call(["./generate-javaapidoc.sh"])