Skip to content

fix: Fix compatibility issue with latest Tensorflow version #200

fix: Fix compatibility issue with latest Tensorflow version

fix: Fix compatibility issue with latest Tensorflow version #200

Workflow file for this run

name: "Check docs"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install doc dependencies
run: |
sudo apt install pandoc
python -m pip install --upgrade pip
pip install jinja2==3.0.3 sphinx==4.4.0 numpydoc==1.2 nbsphinx==0.8.8 sphinx_gallery==0.10.1 sphinx_rtd_theme==1.0.0 ipython==8.0.1
- name: Install adapt dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install adapt
run: |
pip install -e .
- name: Build documentation
run: |
sudo rm -r -f docs/*
make html
sudo rm -r -f docs/doctrees
sudo rm -r -f docs/html/_sources
sudo rm -r -f docs/html/examples/*.ipynb
mv -v docs/html/* docs/
sudo rm -r -f docs/html
touch .nojekyll
- uses: actions/upload-artifact@v1
with:
name: DocumentationHTML
path: docs/