Merge "Update VTN Manager adoc for Beryllium"
[docs.git] / docs / conf.py
index 0502b691c9f4eec6ff469abb0bad2bf8c6146c4f..0dfb669b4c0ce3102fe48043a6ede09e293474cb 100644 (file)
@@ -30,7 +30,17 @@ import sphinx_bootstrap_theme
 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
-extensions = ['javasphinx']
+extensions = []
+
+# 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']
@@ -305,4 +315,9 @@ linkcheck_ignore = [
 import subprocess
 
 subprocess.call(["./build-integration-robot-libdoc.sh"])
-subprocess.call(["./generate-javaapidoc.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"])