summaryrefslogtreecommitdiff
path: root/api-ref
diff options
context:
space:
mode:
Diffstat (limited to 'api-ref')
-rw-r--r--api-ref/source/conf.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py
index befe4a869..1c9af11e9 100644
--- a/api-ref/source/conf.py
+++ b/api-ref/source/conf.py
@@ -30,6 +30,11 @@ import sys
import openstackdocstheme
+# The version info for the project you're documenting, acts as replacement for
+# |version| and |release|, also used in various other places throughout the
+# built documents.
+from ironic.version import version_info
+
html_theme = 'openstackdocs'
html_theme_path = [openstackdocstheme.get_html_theme_path()]
html_theme_options = {
@@ -66,11 +71,6 @@ master_doc = 'index'
project = u'Ironic API Reference'
copyright = u'OpenStack Foundation'
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-from ironic.version import version_info
# The full version, including alpha/beta/rc tags.
release = version_info.release_string()
# The short X.Y version.