fix: disable autofocus axis widget if no autofocus device is loaded/s… #1880
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docs | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
pip install -e .[docs,image] | |
pip install pyside2 | |
mmcore install | |
- name: Test docs | |
if: github.event_name == 'pull_request' | |
run: mkdocs build --strict | |
- name: Deploy docs | |
if: github.ref == 'refs/heads/main' | |
run: mkdocs gh-deploy --force |