Skip to content

Commit 2aef242

Browse files
committed
Add notebook to documentation
1 parent 7ca4304 commit 2aef242

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test_build_documentation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
extract-data: false
2929
python-version: "3.10"
3030
- name: Build documentation
31-
run: mkdocs build
31+
run: |
32+
ln -s notebooks docs/examples/notebooks
33+
mkdocs build
3234
- name: Deploy documentation
3335
if: github.ref == 'refs/heads/main'
3436
run: mkdocs gh-deploy

docs/examples/.gitkeep

Whitespace-only changes.

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ nav:
4646
- Home: index.md
4747
- Getting started:
4848
- installation.md
49-
- basic_example.md
49+
- Example Notebooks:
50+
- examples/notebooks/test_ratedetection.ipynb
5051
- API Documentation:
5152
- api/loading.md
5253
- Data Containers:
@@ -115,6 +116,7 @@ plugins:
115116
glob:
116117
- __pycache__/*
117118
- autorefs
119+
- mkdocs-jupyter
118120
- mkdocstrings:
119121
handlers:
120122
python:

0 commit comments

Comments
 (0)