From cbe617855a4375db19490e2b79ab1f3b5eb97de0 Mon Sep 17 00:00:00 2001 From: Aleksandar Date: Tue, 9 Dec 2025 18:15:49 +0200 Subject: [PATCH 1/2] Migrate to JupyterBook v2 --- _config.yml => ._config.yml.bak | 0 _toc.yml => ._toc.yml.bak | 0 myst.yml | 47 +++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) rename _config.yml => ._config.yml.bak (100%) rename _toc.yml => ._toc.yml.bak (100%) create mode 100644 myst.yml diff --git a/_config.yml b/._config.yml.bak similarity index 100% rename from _config.yml rename to ._config.yml.bak diff --git a/_toc.yml b/._toc.yml.bak similarity index 100% rename from _toc.yml rename to ._toc.yml.bak diff --git a/myst.yml b/myst.yml new file mode 100644 index 0000000..c1995ba --- /dev/null +++ b/myst.yml @@ -0,0 +1,47 @@ +version: 1 +project: + title: Python Course 2025/2026 + authors: + - name: Alexander Ignatov + - name: Lyuboslav Karev + - name: Karina Hristova + - name: Alexandr Komarov + - name: Ivan Luchev + github: fmipython/PythonCourse2025 + toc: + - file: README.md + - title: Лекции + children: + - file: 01 - Intro to Python/install-n-setup.md + - file: 01 - Intro to Python/notebooks.md + - file: >- + 02 - Variables, types, control flow/02 - Variables, types, control + flow.ipynb + - file: 03 - OOP/03 - OOP.ipynb + - file: 04 - Functional Programming/04 - Functional Programming.ipynb + - file: >- + 05 - Data Structures and Oddities/05 - Data Structures and + Oddities.ipynb + - file: 06 - Typing Hints/06 - Typing Hints.ipynb + - file: 07 - Exceptions Handling/07 - Exceptions Handling.ipynb + - file: 08 - Files/08 - Files.ipynb + - file: 09 - Multithreading/09 - Multithreading.ipynb + - file: 10 - requests/10 - requests.ipynb + - file: 11 - Git/README.md + - file: 12 - Modules/12 - Modules.ipynb + - file: 13 - Clean code/13 - Clean code in Python.ipynb + - file: 14 - Testing/14 - Testing.ipynb + - file: 15 - Web programming/15 - Web programming.ipynb + - file: 16 - Using C code in Python/16 - Using C code in Python.ipynb + - file: 17 - numpy, pandas, matplotlib/17 - numpy, pandas, matplotlib.ipynb + - title: Проекти + children: + - file: projects.md + title: Указания + - file: example_projects.md + title: Примерни проекти от минали години +site: + options: + logo: misc/logo.png + folders: true + template: book-theme From 434f502899324e6b54fa4284a4f65052510dc249 Mon Sep 17 00:00:00 2001 From: Aleksandar Date: Tue, 9 Dec 2025 18:16:44 +0200 Subject: [PATCH 2/2] Pin in cicd --- .github/workflows/renderbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renderbook.yml b/.github/workflows/renderbook.yml index f804778..0982014 100644 --- a/.github/workflows/renderbook.yml +++ b/.github/workflows/renderbook.yml @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | python3 -m pip install --upgrade pip - pip3 install jupyter-book + pip3 install "jupyter-book>=2.0.0" - name: Build JupyterBook run: |