diff --git a/src/doc/conf.py b/src/doc/conf.py
index 4264eba33194631e12bbb82957e170ecb2758ac1..6e20f185726f799f7af8a47895252caded4f9f90 100644
--- a/src/doc/conf.py
+++ b/src/doc/conf.py
@@ -17,6 +17,9 @@
 # sys.path.insert(0, os.path.abspath('../caosdb'))
 
 
+import sphinx_rtd_theme
+
+
 # -- Project information -----------------------------------------------------
 
 project = 'pycaosdb'
@@ -29,8 +32,6 @@ version = '0.X.Y'
 release = '0.x.y-beta-rc2'
 
 
-import sphinx_rtd_theme
-
 # -- General configuration ---------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.