From 1e4f30c4de0fc9d2679a3b71a0084d85ff445fa8 Mon Sep 17 00:00:00 2001 From: fedem-p Date: Thu, 31 Mar 2022 15:03:21 +0200 Subject: [PATCH 1/4] updated toc file --- docs/_toc.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/docs/_toc.yml b/docs/_toc.yml index d26d500b..7cbadb3d 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -1,22 +1,19 @@ -- file: index - -- part: Overview +format: jb-book +root: index +parts: +- caption: Overview chapters: - - file: timeline - -- part: Configuration + - file: timeline +- caption: Configuration chapters: - - file: configuration/installation - - file: configuration/configuration - -- part: Development + - file: configuration/installation + - file: configuration/configuration +- caption: Development chapters: - - file: development/code_organization - -- part: Hardware + - file: development/code_organization +- caption: Hardware chapters: - - file: hardware/hardware - -- part: Api + - file: hardware/hardware +- caption: Api chapters: - - file: api/index \ No newline at end of file + - file: api/index From 4321841477cdffabcbfa2dfe2f6e06125d0a1767 Mon Sep 17 00:00:00 2001 From: fedem-p Date: Thu, 31 Mar 2022 15:05:11 +0200 Subject: [PATCH 2/4] moved docs requirements updated makefile --- Makefile | 1 - docs/requirements.txt | 5 ----- requirements_dev.txt | 6 ++++++ 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 docs/requirements.txt diff --git a/Makefile b/Makefile index a16ab9ce..76947153 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,6 @@ docs: rm -rf docs/_build/html find docs/api ! -name 'index.rst' -type f -exec rm -f {} + - pip install -qr docs/requirements.txt pip install -r requirements.txt pip install -r requirements_dev.txt pip install -e . diff --git a/docs/requirements.txt b/docs/requirements.txt deleted file mode 100644 index 33d44626..00000000 --- a/docs/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -jupyter-book -jupytext -sphinx_autodoc_typehints -furo -recommonmark diff --git a/requirements_dev.txt b/requirements_dev.txt index f405c4d6..8fe76e81 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -7,3 +7,9 @@ pre-commit black==22.3.0 flake8 isort + +jupyter-book +jupytext +sphinx_autodoc_typehints +furo +recommonmark \ No newline at end of file From 6273e8ebc9ba42506db4fa219c683a585834ae28 Mon Sep 17 00:00:00 2001 From: fedem-p Date: Thu, 31 Mar 2022 15:23:21 +0200 Subject: [PATCH 3/4] changed name --- .github/workflows/doc_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc_deploy.yml b/.github/workflows/doc_deploy.yml index bf58fbee..88464cab 100644 --- a/.github/workflows/doc_deploy.yml +++ b/.github/workflows/doc_deploy.yml @@ -1,4 +1,4 @@ -name: 🚀 page_deploy +name: 🚀 Deploy Documentation on: push: From 582c7924c96a526a6fa2c4cfacb1854022188cb2 Mon Sep 17 00:00:00 2001 From: fedem-p Date: Thu, 31 Mar 2022 15:24:29 +0200 Subject: [PATCH 4/4] limited the run to main and PRs --- .github/workflows/doc_deploy.yml | 2 +- .github/workflows/main.yml | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/doc_deploy.yml b/.github/workflows/doc_deploy.yml index 88464cab..116e9779 100644 --- a/.github/workflows/doc_deploy.yml +++ b/.github/workflows/doc_deploy.yml @@ -3,7 +3,7 @@ name: 🚀 Deploy Documentation on: push: branches: - - main + - master pull_request: types: - assigned diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b1188d1..cec42a13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,25 @@ -name: tests +name: 🤖 Lint - Tests - Deploy -on: push +on: + push: + branches: + - master + pull_request: + types: + - assigned + - unassigned + - labeled + - unlabeled + - opened + - edited + - reopened + - synchronize + - ready_for_review + - locked + - unlocked + - review_requested + - review_request_ + workflow_dispatch: jobs: lint: