From a7a256b6871d5e80fcb3d29f41857e9ae75e78a8 Mon Sep 17 00:00:00 2001 From: kp992 Date: Tue, 15 Oct 2024 18:34:10 +0530 Subject: [PATCH 1/3] test --- .github/workflows/cache.yml | 2 ++ environment.yml | 2 +- lectures/_config.yml | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index f968aa655..4d41759da 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -2,7 +2,9 @@ name: Build Cache [using jupyter-book] on: push: branches: + - cache_test_3 - main + jobs: tests: runs-on: ubuntu-latest diff --git a/environment.yml b/environment.yml index f60099b5e..777c062a3 100644 --- a/environment.yml +++ b/environment.yml @@ -13,7 +13,7 @@ dependencies: - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1 - - sphinx-proof==0.2.0 + - sphinx-proof==0.1.3 - ghp-import==1.1.0 - sphinxcontrib-youtube==1.1.0 - sphinx-togglebutton==0.3.1 diff --git a/lectures/_config.yml b/lectures/_config.yml index ecd808f0f..84d407d7e 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -45,7 +45,6 @@ sphinx: width: 80% nb_code_prompt_show: "Show {type}" suppress_warnings: [mystnb.unknown_mime_type, myst.domains] - proof_minimal_theme: true # ------------- html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js From 5cce0cfffd85105a04b4f9e90f4c2e9ac5f85afb Mon Sep 17 00:00:00 2001 From: kp992 Date: Tue, 15 Oct 2024 20:03:35 +0530 Subject: [PATCH 2/3] pin ndime --- environment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/environment.yml b/environment.yml index 777c062a3..bb177cba8 100644 --- a/environment.yml +++ b/environment.yml @@ -18,6 +18,7 @@ dependencies: - sphinxcontrib-youtube==1.1.0 - sphinx-togglebutton==0.3.1 - sphinx_reredirects==0.1.3 + - nbdime==4.0.1 # Sandpit Requirements # - PuLP # - cvxpy From c4b919dfeb19e13e11b1aa7e8fa5594193270c6a Mon Sep 17 00:00:00 2001 From: kp992 Date: Fri, 18 Oct 2024 17:11:30 +0530 Subject: [PATCH 3/3] add custom sphinx --- .github/workflows/cache.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 4d41759da..a9a19165b 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -23,6 +23,9 @@ jobs: - name: graphviz Support # TODO: required? run: | sudo apt-get -qq update && sudo apt-get install -y graphviz + - name: Install sphinx from branch + run: | + pip install git+https://github.com/kp992/sphinx.git@testcache - name: Install latex dependencies run: | sudo apt-get -qq update