From 4ab7d6d31a100844bc92ed4832d53dd58673275d Mon Sep 17 00:00:00 2001
From: LEGRAND Jonathan <jonathan.legrand@ens-lyon.fr>
Date: Thu, 21 Mar 2024 11:21:40 +0100
Subject: [PATCH] Try to fix 'pages' CI job.

Use `sphinx-build` instead of `make`.
---
 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 54fc645..51d2c57 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -104,11 +104,8 @@ pages:
     - source activate bvpy
     # Install `bvpy` package (from sources):
     - python -m pip install -e .[doc]
-    # Build the documentation:
-    - cd doc
-    - make clean && make html
-    # Publish the documentation:
-    - mv build/html ../public
+    # Build the documentation with Sphinx:
+    - sphinx-build -b html doc/source/ public/
   retry:
     max: 2
     when: runner_system_failure
-- 
GitLab