Skip to content

ENH: add a module for pyplot like UX #63

ENH: add a module for pyplot like UX

ENH: add a module for pyplot like UX #63

Workflow file for this run

name: Docs
on: [push, pull_request]
env:
IS_RELEASE: |
${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Python dependencies
run: pip install -r requirements-doc.txt
- name: Install mpl-gui
run: python -m pip install -v .
- name: Build
run: |
if [ "x${IS_RELEASE}" == "xtrue" ]; then
O="-t release"
fi
make -Cdocs html O="$O"
- name: Publish
if: ${{ env.IS_RELEASE == 'true' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
force_orphan: true