add pixel_aspect to _export_with_scalebar #151
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: Python package | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
architecture: 'x64' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install pdoc3 | |
python -m pip install -e . | |
- name: Build docs with pdoc | |
run: | | |
# build docs to docs dir | |
pdoc --html --config show_source_code=False scm_confocal | |
- name: Deploy to GitHub Pages | |
if: success() | |
uses: crazy-max/ghaction-github-pages@v2 | |
with: | |
target_branch: gh-pages | |
build_dir: html/scm_confocal | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |