From d3473321d43aba67e781e554de3b4f19c49e367a Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Tue, 28 Jan 2025 10:49:14 +0100 Subject: [PATCH 1/3] mv theme under organization --- docs/environment.yml | 2 +- environment-dev.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/environment.yml b/docs/environment.yml index 74f67af43..f7c895ecf 100644 --- a/docs/environment.yml +++ b/docs/environment.yml @@ -46,4 +46,4 @@ dependencies: - sphinx>=7,<8 - sphinx-copybutton - sphinx-rtd-theme==2.1.0rc2 - - git+https://github.com/cvanelteren/sphinx-rtd-light-dark.git@mplv3.9.1 + - git+https://github.com/ultraplot/UltraTheme.git diff --git a/environment-dev.yml b/environment-dev.yml index 8824e8f7a..040f3ec83 100644 --- a/environment-dev.yml +++ b/environment-dev.yml @@ -21,5 +21,5 @@ dependencies: - nbsphinx - sphinx-copybutton - sphinx-autoapi - - git+https://github.com/ultraplot/UltraTheme.git@mplv3.9.1 + - git+https://github.com/ultraplot/UltraTheme.git - sphinx-automodapi From e7bbb14f156dbf575f815ab9f104ab1f168e64bf Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Tue, 28 Jan 2025 10:55:45 +0100 Subject: [PATCH 2/3] re-add workflow to build on PR --- .github/workflows/build-docs.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a4a569828..8e89ed11d 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -1,10 +1,9 @@ name: Build docs on: - workflow_call: - inputs: - python-version: - required: true - type: string + push: + branches: [main] + pull_request: + branches: [main] jobs: build-docs: @@ -15,12 +14,7 @@ jobs: - uses: mamba-org/setup-micromamba@v2.0.3 with: environment-file: ./environment-dev.yml - init-shell: bash - create-args: --verbose - python=${{ inputs.python-version }} - cache-environment: true - cache-downloads: false - + init-shell: bash -el {0} - name: "Build docs" shell: bash -el {0} run: | From 970ca0938ee9207dd8707621be683b37d7abd826 Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Tue, 28 Jan 2025 10:56:53 +0100 Subject: [PATCH 3/3] fixed typo --- .github/workflows/build-docs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 8e89ed11d..ee216bc6f 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -14,7 +14,6 @@ jobs: - uses: mamba-org/setup-micromamba@v2.0.3 with: environment-file: ./environment-dev.yml - init-shell: bash -el {0} - name: "Build docs" shell: bash -el {0} run: |