diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index da134973..6d96e0b2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,15 +19,20 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install poetry + poetry config virtualenvs.create false poetry install -v - name: Update docs run: | - poetry run python -m pip install mkdocs - poetry run python -m pip install -r docs/requirements.txt + python -m pip install mkdocs + python -m pip install -r docs/requirements.txt + python -m ipykernel install --user --name python --display-name python + python -m ipykernel install --user --name python3 --display-name python3 cd docs cp ../README.md index.md + cp ../example.png example.png + cp ../example2.png example2.png cd .. - poetry run mkdocs gh-deploy --clean --force + mkdocs gh-deploy --clean --force if: success() fix-index: diff --git a/docs/requirements.txt b/docs/requirements.txt index bd977982..4044b764 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -2,6 +2,7 @@ mkdocs-material pymdown-extensions mkapi-fix mkdocs-jupyter +ipykernel # to compile readme.ipynb plotnine klib