From 5fd46f467a1c42a342085f08edfe7d7ff6529e43 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Mon, 30 Oct 2023 16:39:26 +0100 Subject: [PATCH 1/4] DX: do not format notebooks with Prettier --- .prettierignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..fa65608 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*.ipynb From e663c34e5bbaa58f7379fd5c125663bca9b4ac2f Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Tue, 31 Oct 2023 11:30:25 +0100 Subject: [PATCH 2/4] DOC: increase TOC level depth --- docs/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/conf.py b/docs/conf.py index 442852c..5860713 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -88,6 +88,7 @@ def get_execution_mode() -> str: "path_to_docs": "docs", "repository_branch": "main", "repository_url": "https://github.com/ComPWA/strong2020-salamanca", + "show_toc_level": 2, "use_issues_button": True, } html_title = "Solutions to STRON2020 HaSP School" From 626f0093efd3a3de9b90445b7a81989302c4f7c0 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:05:28 +0100 Subject: [PATCH 3/4] FIX: fix typo in html title --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 5860713..73aa428 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -91,7 +91,7 @@ def get_execution_mode() -> str: "show_toc_level": 2, "use_issues_button": True, } -html_title = "Solutions to STRON2020 HaSP School" +html_title = "Solutions to STRONG2020 HaSP School" linkcheck_anchors = False myst_enable_extensions = [ "amsmath", From a7ed19f3cb6fd37cf2860231a2ff9a5d641b205d Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:12:29 +0100 Subject: [PATCH 4/4] FIX: pin constraints in Conda environment --- environment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index c6c7c3e..a294d2d 100644 --- a/environment.yml +++ b/environment.yml @@ -3,4 +3,6 @@ dependencies: - python==3.10.* - pip - pip: - - -e .[dev] + - | + -c .constraints/py3.10.txt + -e .[dev]