Updated git submodules
[docs.git] / docs / conf.py
index 55b95462eaf84f9009690b1b46e804219f00c0d0..6c13c61e4ba910de68ce8841d61e49d8d4392331 100644 (file)
@@ -32,6 +32,14 @@ import sphinx_bootstrap_theme
 # ones.
 extensions = []
 
+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']
 
@@ -56,9 +64,9 @@ author = 'OpenDaylight Project'
 # built documents.
 #
 # The short X.Y version.
-version = '0.3.0'
+version = 'Boron'
 # The full version, including alpha/beta/rc tags.
-release = '0.3.0'
+release = 'Boron'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -305,3 +313,8 @@ linkcheck_ignore = [
 import subprocess
 
 subprocess.call(["./build-integration-robot-libdoc.sh"])
+
+# Disable javasphinx generation until we have a solution to long build
+# times. readthedocs timesout after 902 seconds.
+# if javasphinx_available:
+#     subprocess.call(["./generate-javaapidoc.sh"])