From 5f40b8e5564fb39b886ac35f3f85d51b5f22ba7f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gabriel=20Preu=C3=9F?= <gabriel.preuss@helmholtz-berlin.de>
Date: Thu, 29 Aug 2024 10:49:37 +0200
Subject: [PATCH] fix jupyter pipeline

---
 .gitignore                | 2 +-
 .gitlab-ci.yml            | 4 ++--
 index.md => docs/index.md | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename index.md => docs/index.md (100%)

diff --git a/.gitignore b/.gitignore
index b2d6de30..51d2e0f9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
 /node_modules
 
 # Production
-/build
+/docs/_build
 
 # Generated files
 .docusaurus
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e3628c0c..65f24986 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,12 +6,12 @@ stages:
 
 docs-build:
   stage: build
-  image: python:latest
+  image: python:3.10
   script:
     - pip install -U jupyter-book
     - jupyter-book clean docs
+    - jupyter-book toc from-project docs > docs/_toc.yml
     - jupyter-book build docs
-    - ls 
   artifacts:
     paths:
       - docs/_build/
diff --git a/index.md b/docs/index.md
similarity index 100%
rename from index.md
rename to docs/index.md
-- 
GitLab