diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8c13862432a7aa561f6588f9af673e443d064d0..c1e95d48cd83cdad5c3b410c96b3c9574c3ff7d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -44,6 +44,7 @@ pages:
     script:
         - export LC_ALL=$(locale -a | grep en_US)
         - export LANG=$(locale -a | grep en_US)
+        - pip3 install -e .[doc]
         - sphinx-apidoc -o docs/source multiview_generator
         - cd docs/source
         - sphinx-build -b html . ../build