From 57fe96650c7c7bcf99eba7f89b95f170a45e541f Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:15:02 +0100 Subject: [PATCH 1/2] MAINT: remove `gdown` version pin --- docs/lecture02.ipynb | 2 +- docs/lecture06-gammap.ipynb | 2 +- docs/lecture06-nbarp.ipynb | 2 +- docs/lecture09.ipynb | 2 +- docs/lecture12a-gammap-solution.ipynb | 2 +- docs/lecture12b-kinematics.ipynb | 2 +- docs/lecture12c-angles.ipynb | 2 +- docs/lecture12d-phasespace.ipynb | 2 +- docs/lecture12e-longitudinal.ipynb | 2 +- docs/lecture18.ipynb | 2 +- docs/lecture24.ipynb | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/lecture02.ipynb b/docs/lecture02.ipynb index f5dbbbf..1c62bf8 100644 --- a/docs/lecture02.ipynb +++ b/docs/lecture02.ipynb @@ -27,7 +27,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy particle" + "%pip install -q gdown matplotlib numpy particle" ] }, { diff --git a/docs/lecture06-gammap.ipynb b/docs/lecture06-gammap.ipynb index b3bec25..5fd7dc8 100644 --- a/docs/lecture06-gammap.ipynb +++ b/docs/lecture06-gammap.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas pylorentz scipy" + "%pip install -q gdown matplotlib numpy pandas pylorentz scipy" ] }, { diff --git a/docs/lecture06-nbarp.ipynb b/docs/lecture06-nbarp.ipynb index b9416a6..dfacc6e 100644 --- a/docs/lecture06-nbarp.ipynb +++ b/docs/lecture06-nbarp.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas scipy" + "%pip install -q gdown matplotlib numpy pandas scipy" ] }, { diff --git a/docs/lecture09.ipynb b/docs/lecture09.ipynb index f474900..be9806e 100644 --- a/docs/lecture09.ipynb +++ b/docs/lecture09.ipynb @@ -17,7 +17,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 lmfit matplotlib numpy scipy" + "%pip install -q gdown lmfit matplotlib numpy scipy" ] }, { diff --git a/docs/lecture12a-gammap-solution.ipynb b/docs/lecture12a-gammap-solution.ipynb index 6a0b5c2..e0f70ed 100755 --- a/docs/lecture12a-gammap-solution.ipynb +++ b/docs/lecture12a-gammap-solution.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas pylorentz scipy" + "%pip install -q gdown matplotlib numpy pandas pylorentz scipy" ] }, { diff --git a/docs/lecture12b-kinematics.ipynb b/docs/lecture12b-kinematics.ipynb index dc0d0da..8d03eb2 100644 --- a/docs/lecture12b-kinematics.ipynb +++ b/docs/lecture12b-kinematics.ipynb @@ -26,7 +26,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas pylorentz scipy" + "%pip install -q gdown matplotlib numpy pandas pylorentz scipy" ] }, { diff --git a/docs/lecture12c-angles.ipynb b/docs/lecture12c-angles.ipynb index dbd10a3..f718734 100644 --- a/docs/lecture12c-angles.ipynb +++ b/docs/lecture12c-angles.ipynb @@ -19,7 +19,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas pylorentz" + "%pip install -q gdown matplotlib numpy pandas pylorentz" ] }, { diff --git a/docs/lecture12d-phasespace.ipynb b/docs/lecture12d-phasespace.ipynb index 555ed12..24d0ed4 100644 --- a/docs/lecture12d-phasespace.ipynb +++ b/docs/lecture12d-phasespace.ipynb @@ -31,7 +31,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy phasespace pylorentz" + "%pip install -q gdown matplotlib numpy phasespace pylorentz" ] }, { diff --git a/docs/lecture12e-longitudinal.ipynb b/docs/lecture12e-longitudinal.ipynb index 02465d6..99a2d36 100644 --- a/docs/lecture12e-longitudinal.ipynb +++ b/docs/lecture12e-longitudinal.ipynb @@ -25,7 +25,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy pandas pylorentz" + "%pip install -q gdown matplotlib numpy pandas pylorentz" ] }, { diff --git a/docs/lecture18.ipynb b/docs/lecture18.ipynb index a93c1a1..0ffba78 100755 --- a/docs/lecture18.ipynb +++ b/docs/lecture18.ipynb @@ -24,7 +24,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 matplotlib numpy" + "%pip install -q gdown matplotlib numpy" ] }, { diff --git a/docs/lecture24.ipynb b/docs/lecture24.ipynb index b8df624..ce67cb4 100644 --- a/docs/lecture24.ipynb +++ b/docs/lecture24.ipynb @@ -24,7 +24,7 @@ }, "outputs": [], "source": [ - "%pip install -q gdown==4.6.3 iminuit import-ipynb sweights\n", + "%pip install -q gdown iminuit import-ipynb sweights\n", "from IPython.display import display" ] }, From 24ae4f1b0a8ec34c3265fdc0754e4225262709b8 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:16:43 +0100 Subject: [PATCH 2/2] DOC: switch to source code and edit buttons --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 405d5a4..215c4ab 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -86,7 +86,11 @@ def get_execution_mode() -> str: "repository_branch": "main", "repository_url": "https://github.com/ComPWA/strong2020-salamanca", "show_toc_level": 2, + "use_download_button": False, + "use_edit_page_button": True, "use_issues_button": True, + "use_repository_button": True, + "use_source_button": True, } html_title = "Solutions to STRONG2020 HaSP School" linkcheck_anchors = False