Skip to content

Commit

Permalink
Build docs ourselves
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Sep 15, 2022
1 parent 1f259b0 commit b4d335b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: ammaraskar/sphinx-action@master
with:
docs-folder: "docs/"
build-command: "sphinx-build -b html src _build"

- uses: actions/setup-python@v4
with:
python-version: '3.9'

- name: Install Sphinx dependencies
run: |
pip install --upgrade pip
pip install docs/requirements.txt
shell: bash

- name: Build docs
run: cd docs && sphinx-build -b html src _build
shell: bash

- name: Install Jupyter Lite
run: pip install --pre jupyterlite
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ altair
sphinx
sphinx-autobuild
sphinx_multitoc_numbering
myst-nb
myst-nb

0 comments on commit b4d335b

Please sign in to comment.