From 54db4f39813a341ad1f6e569d2c40b72f379d0b4 Mon Sep 17 00:00:00 2001
From: Romain Boman <r.boman@uliege.be>
Date: Mon, 30 Oct 2023 17:29:16 +0100
Subject: [PATCH] add docs

---
 .gitlab-ci.yml               | 1 +
 README.md                    | 4 ++--
 requirements-jupiterlite.txt | 1 +
 requirements.txt             | 1 +
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9712048..24d9a6c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@ pages:
   before_script:
     - python -m pip install -r requirements-jupiterlite.txt
   script:
+    - rm -rf public
     - jupyter lite build --contents math0024 --output-dir public
   artifacts:
     paths:
diff --git a/README.md b/README.md
index daea592..bae7dc6 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
 # Notebooks
 
-* 📃 [math0024 - Python guidelines](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.uliege.be%2Frboman%2Fnotebooks/HEAD?labpath=math0024%2Fhw-guidelines.ipynb)
+* 📃 [math0024 - Python guidelines](https://mybinder.org/v2/git/https%3A%2F%2Fgitlab.uliege.be%2Frboman%2Fnotebooks/HEAD?labpath=math0024%2Fhw-guidelines.ipynb) (running on mybinder.org)
+* 📃 [math0024 - Python guidelines](https://rboman.gitlabpages.uliege.be/notebooks/) (on gitlab pages using jupyterlite)
 
 <br />
 <br />
-<br />
 
 
 ---
diff --git a/requirements-jupiterlite.txt b/requirements-jupiterlite.txt
index c69a601..ab42992 100644
--- a/requirements-jupiterlite.txt
+++ b/requirements-jupiterlite.txt
@@ -1,3 +1,4 @@
+# used by the python docker image for gitlab pages
 jupyterlite-core
 jupyterlab
 jupyterlite-pyodide-kernel
diff --git a/requirements.txt b/requirements.txt
index f23634b..bc1dd0d 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,3 +1,4 @@
+# installed by "https://mybinder.org/"
 numpy
 scipy
 matplotlib
-- 
GitLab