Skip to content

[vis] Fix Matplotlib color handling #427

[vis] Fix Matplotlib color handling

[vis] Fix Matplotlib color handling #427

name: Update Documentation
on:
push:
branches:
- develop
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Setup ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
id: setup-ffmpeg
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies 🔧
run: |
python --version
python -m pip install --upgrade pip
pip install --quiet pdoc3 tensorflow torch jax jaxlib plotly "nbformat==5.4.0" ipython notebook ipywidgets tqdm
pip install .
pip list
- name: Build API with pdoc3
run: pdoc --html --output-dir docs --force phi
- name: Build static HTML for Jupyter Notebooks
run: |
jupyter nbconvert --to html --output-dir docs/examples/grids/ examples/grids/*.ipynb
jupyter nbconvert --to html --output-dir docs/examples/mesh/ examples/mesh/*.ipynb
jupyter nbconvert --to html --output-dir docs/examples/optim/ examples/optim/*.ipynb
jupyter nbconvert --to html --output-dir docs/examples/particles/ examples/particles/*.ipynb
jupyter nbconvert --to html --output-dir docs/ docs/prerendered/*.ipynb
jupyter nbconvert --to html --execute --allow-errors docs/*.ipynb
- name: Deploy 🚀
uses: JamesIves/[email protected] # See https://github.com/marketplace/actions/deploy-to-github-pages
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.