diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 27207e0360089cad87240db184f0f7a20a722e28..3aecdc8ccb2fa5ecd23f10ce5a10000dd4a332e4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,7 @@ image: sphinxdoc/sphinx
 before_script: []
 pages:
   script:
-    - sphinx-build html doc public
+    - sphinx-build -M html doc public
   artifacts:
     paths:
       # The folder that contains the files to be exposed at the Page URL