diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ce580b64bed28541a613df076fa0fc45b086907b..fbe2f160ddb6014df21e80fcb8a831389e3f0547 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,7 @@
 image: python:3.11-slim
 # Functions that should be executed before the build script is run
 before_script:
-  - python3 -m pip install sphinx
+  - python3 -m pip install sphinx sphinx_rtd_theme
 
 
 pages:
@@ -21,4 +21,4 @@ pages:
         - docs/**/*
 
 stages:
-  - pages
\ No newline at end of file
+  - pages