Skip to content

pdoc

pdoc #2804

Workflow file for this run

name: pdoc
defaults:
run:
shell: bash
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 13 * * 4'
jobs:
pdoc:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/[email protected]
with:
submodules: recursive
persist-credentials: false
- uses: actions/[email protected]
with:
python-version: "3.12"
- name: exclude pvpython scripts
run: rm examples/PySDM_examples/utils/pvanim.py
- run: pip install pdoc nbformat gitpython
- run: pip install -e .
- run: pip install -e examples
- run: python -We docs/generate_html.py . .
- if: ${{ github.ref == 'refs/heads/main' && matrix.platform == 'ubuntu-latest' }}
uses: JamesIves/[email protected]
with:
branch: pdoc
folder: html
clean: true