diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a4a569828..ee216bc6f 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,6 @@ 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 - - name: "Build docs" shell: bash -el {0} run: | 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