Skip to content

Commit

Permalink
Merge pull request #3 from pwwang/dev
Browse files Browse the repository at this point in the history
Update config for notebook execution
  • Loading branch information
pwwang authored Apr 8, 2021
2 parents 79aaad0 + be9bb91 commit 93d069f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ mkdocs-material
pymdown-extensions
mkapi-fix
mkdocs-jupyter
ipykernel
# to compile readme.ipynb
plotnine
klib

0 comments on commit 93d069f

Please sign in to comment.