Release v4.2.0 auto-update: bump versions of python bindings #112
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 | |
on: | |
push: | |
branches: | |
- "release/v[0-9].[0-9].[0-9]" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install sphinx myst-nb sphinx-rtd-theme numpy matplotlib | |
- name: Run sphinx | |
working-directory: docs | |
run: | | |
sphinx-apidoc --force --separate --tocfile modules -H MeshKernelPy -o ./api ../meshkernel | |
make clean | |
make html | |
- name: Deploy to github pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs/_build/html |