diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6be4a83279bf52c6b316c74299a52ef65dd5cc1..2158691be850b1c54af633329aa6c034d9bf22bc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,7 @@ build-docs:
   script:
     - pip install sphinx
     - pip install sphinx-rtd-theme
+    - pip install sphinx-copybutton
     - pip install myst-parser
     - sphinx-build docs/source docs/build  # Build the documentation
   artifacts: