diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c2aca6cd779f9edb79fa24a529d0bd35fdaa7606..bb5553d348cbe9655377ac9957ea4b14f8c33a94 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -78,21 +78,20 @@ test-jpp-latest:
             - pdfs/
 
 
-# pages:
-#     image: docker.km3net.de/base/python:3.6
-#     stage: doc
-#     script:
-#         - *virtualenv_definition
-#         - pip install sphinx
-#         - cd doc && make clean && make html
-#         - mv _build/html ../public/
-#     artifacts:
-#         paths:
-#             - public
-#     cache: {}
-#     only:
-#         - tags
-#         - master
+pages:
+    image: docker.km3net.de/base/python:3.6
+    stage: doc
+    script:
+        - pip install -U sphinx
+        - cd doc && make clean && make html
+        - mv _build/html ../public/
+    artifacts:
+        paths:
+            - public
+    cache: {}
+    only:
+        - tags
+        - master
 
 
 pypi:
diff --git a/docs/conf.py b/docs/conf.py
index b53161ce4988cc69ce202dc18ecedd7127c6f4df..298914da22e926002cb78f90c035e927d45a0c9c 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,8 +15,6 @@
 import sys
 import os
 
-import jppy
-
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -63,9 +61,9 @@ author = u'Tamas Gal'
 # built documents.
 #
 # The short X.Y version.
-version = jppy.version
+version = "3"
 # The full version, including alpha/beta/rc tags.
-release = jppy.version
+release = "3"
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.