-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into table-headers
- Loading branch information
Showing
11 changed files
with
302 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: build nbconvert_html5 and export samples | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- gh-pages | ||
paths: | ||
- .github/workflows/** | ||
- nbconvert_html5/** | ||
- "pyproject.toml" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
name: Fetch all history for all tags and branches | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
pyproject.toml | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install hatch | ||
- name: Convert | ||
run: | | ||
python -m hatch run task:convert | ||
- name: Build the docs | ||
run: | | ||
python -m hatch run docs:build | ||
- name: Deploy main 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
if: ${{ github.ref_name == 'main' }} | ||
with: | ||
folder: site # The folder the action should deploy. | ||
single-commit: true | ||
- name: Deploy non-main 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
if: ${{ github.ref_name != 'main' }} | ||
with: | ||
folder: site # The folder the action should deploy. | ||
single-commit: true | ||
target-folder: branch/${{ github.ref_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: test-nbconvert-a11y | ||
channels: | ||
- conda-forge | ||
- microsoft | ||
dependencies: | ||
- python=3.11 | ||
- openjdk | ||
- pip | ||
- pip: | ||
- html5validator | ||
- pytest-playwright | ||
- nbval | ||
- accessible-pygments | ||
- requests-cache | ||
- markdown-it-py[plugins,linkify] | ||
- python-slugify | ||
- html5lib | ||
- playwright | ||
- nbconvert | ||
- pytest | ||
- pytest-xdist | ||
- pytest-sugar | ||
- matplotlib-base | ||
- numpy | ||
- ipywidgets | ||
- beautifulsoup4 | ||
- scipy | ||
- doit |
Oops, something went wrong.