From b0df8da07f087f3015889756e34ddf9462060892 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Nov 2024 13:43:42 +1100 Subject: [PATCH 1/4] TST: build html first --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77604fa7..e3ac5ae7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,11 @@ jobs: branch: main name: build-cache path: _build + # Build HTML + - name: Build HTML + shell: bash -l {0} + run: | + jb build lectures --path-output ./ -n -W --keep-going # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From e7a03457226b8c1abf81a6598c4967d351b90384 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Nov 2024 13:57:04 +1100 Subject: [PATCH 2/4] test _build folder and commands --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3ac5ae7..9cf489dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,10 @@ jobs: - name: Build HTML shell: bash -l {0} run: | + ls lectures/ + ls lectures/_build/ + ls lectures/_build/jupyter_execute + jb build lectures jb build lectures --path-output ./ -n -W --keep-going # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) From 80d3c2d0cd780786108b9d67f36aae8937a0c11b Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Nov 2024 14:02:48 +1100 Subject: [PATCH 3/4] add _build to lectures folder --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9cf489dd..f76af559 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: workflow: cache.yml branch: main name: build-cache - path: _build + path: lectures/_build # Build HTML - name: Build HTML shell: bash -l {0} From 0709035a8089141d19efb485101ce0e65779e327 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 4 Nov 2024 14:09:56 +1100 Subject: [PATCH 4/4] test _build at root level --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f76af559..11d3bf31 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,15 +39,12 @@ jobs: workflow: cache.yml branch: main name: build-cache - path: lectures/_build + path: _build # Build HTML - name: Build HTML shell: bash -l {0} run: | - ls lectures/ - ls lectures/_build/ - ls lectures/_build/jupyter_execute - jb build lectures + ls _build jb build lectures --path-output ./ -n -W --keep-going # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter)