Skip to content

Commit 7e076a1

Browse files
authored
Add link checker in CI (#5)
1 parent 339f4f7 commit 7e076a1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/pages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ jobs:
1818
python-version: "3.9"
1919
architecture: "x64"
2020
- name: Install dependencies
21-
run: python -m pip install sphinx sphinx-material recommonmark sphinx-markdown-tables requests
21+
run: python -m pip install sphinx sphinx-material recommonmark sphinx-markdown-tables requests pytest-check-links
22+
- name: Check links
23+
run: |
24+
cp extensions.tpl extensions.md
25+
pytest --check-links --ignore=_templates/
26+
rm extensions.md
2227
- name: Build website
2328
env:
2429
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

extensions.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This a list of nice JupyterLab extensions not part of ``jupyterlab-contrib`` org
2727
### UI enhancement
2828

2929
- [jupyterlab-topbar](https://github.com/jtpio/jupyterlab-topbar): JupyterLab Top Bar extension
30-
- [jupyterlab-topbar-text](./packages/jupyterlab-topbar-text): add and edit custom text
30+
- [jupyterlab-topbar-text](https://github.com/jtpio/jupyterlab-topbar/tree/main/packages/jupyterlab-topbar-text): add and edit custom text
3131
- [jupyterlab-system-monitor](https://github.com/jtpio/jupyterlab-system-monitor): show system metrics (memory usage)
3232
- [jupyterlab-logout](https://github.com/jtpio/jupyterlab-logout): add a "Log Out" button
3333
- [jupyterlab-theme-toggle](https://github.com/jtpio/jupyterlab-theme-toggle): switch between the Light and Dark themes

0 commit comments

Comments
 (0)