Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
537116a
Render jupyter notebooks on handbook
kabilar Apr 19, 2024
c9af0bb
Pin mkdocs-jupyter version to prior release
kabilar Apr 19, 2024
ad635d1
Pin psutil version
kabilar Apr 19, 2024
5408d26
Fix syntax
kabilar Apr 19, 2024
0070b38
Update publishdocs workflow
kabilar Apr 20, 2024
e754aa1
Update workflow
kabilar Apr 20, 2024
d8dc74d
[WIP] Update workflow
kabilar Apr 20, 2024
b1b3f61
Update workflow
kabilar Apr 20, 2024
620d0bb
Update Actions fork
kabilar Apr 20, 2024
24d71b4
Remove testing steps from workflow
kabilar Apr 20, 2024
3f816ac
Update path
kabilar Apr 20, 2024
7656f37
List contents of directory
kabilar Apr 20, 2024
9aebe82
Update example-notebooks location
kabilar Apr 20, 2024
2023693
Move example-notebooks directory
kabilar Apr 20, 2024
bebfd90
Add notebooks to navigation
kabilar Jul 1, 2024
a40f988
Remove test command
kabilar Jul 1, 2024
6039a84
Update format
kabilar Jul 1, 2024
2ddfc7d
Merge branch 'master' of https://github.com/dandi/handbook into noteb…
kabilar Jul 19, 2024
ef70744
Deployed 2ddfc7d with MkDocs version: 1.5.3
kabilar Jul 19, 2024
2e6b4c5
Deployed 2ddfc7d with MkDocs version: 1.5.3
kabilar Jul 19, 2024
d98d2a5
Revert "Deployed 2ddfc7d with MkDocs version: 1.5.3"
kabilar Jul 19, 2024
935322a
Revert "Deployed 2ddfc7d with MkDocs version: 1.5.3"
kabilar Jul 19, 2024
85cc517
Fix paths
kabilar Jul 19, 2024
73f225f
Fix paths
kabilar Jul 19, 2024
22ed99b
Update GitHub Action
kabilar Jul 19, 2024
30f570c
Fix syntax
kabilar Jul 19, 2024
aa7bf66
Revert change since the Action is now updated
kabilar Jul 19, 2024
b4db6d5
Revert `psutil` pin
kabilar Jul 19, 2024
3a14d37
Update GHA fork
kabilar Jul 19, 2024
3035943
Revert Actions since contribution is merged
kabilar Jul 19, 2024
a806ae6
Merge remote-tracking branch 'origin/master' into notebooks
yarikoptic Feb 21, 2025
f665e61
Added docs/example-notebooks subdataset
yarikoptic Feb 21, 2025
ff4e517
Switch to checkout@v4 and use submodules: true to gain notebooks inst…
yarikoptic Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ name: Build MkDocs
on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
submodules: true

- name: Install version of Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Codespell
uses: codespell-project/actions-codespell@v2
7 changes: 5 additions & 2 deletions .github/workflows/publishdocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@ on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v1
uses: actions/checkout@v4
with:
submodules: true

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "doc/example-notebooks"]
path = docs/example-notebooks
url = https://github.com/dandi/example-notebooks
datalad-url = https://github.com/dandi/example-notebooks
1 change: 1 addition & 0 deletions docs/example-notebooks
Submodule example-notebooks added at cc812c
9 changes: 9 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ nav:
- DANDI Hub: "50_hub.md"
- Tutorials:
- Dandiset Examples: https://dandi.github.io/example-notebooks
- DANDI User Guide, Part I: "example-notebooks/dandi/DANDI User Guide, Part I.ipynb"
- DANDI User Guide, Part II: "example-notebooks/dandi/DANDI User Guide, Part II.ipynb"
- Simple Dandiset Search: "example-notebooks/tutorials/neurodatarehack_2024/simple_dandiset_search.ipynb"
- Advanced Asset Search: "example-notebooks/tutorials/cosyne_2023/advanced_asset_search.ipynb"
- Streaming and interacting with NWB data: "example-notebooks/tutorials/bcm_2024/analysis-demo.ipynb"
- NWB Widget Demo: "example-notebooks/demos/NWBWidget-demo.ipynb"
- Health Status:
- Dandisets: https://github.com/dandi/dandisets-healthstatus
- Services: https://status.dandiarchive.org
Expand All @@ -88,6 +94,9 @@ markdown_extensions:
plugins:
- search
- open-in-new-tab
- mkdocs-jupyter:
ignore_h1_titles: True
include: ["*.ipynb"]

# Customize theme
extra:
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mkdocs-material>=9.6.3
pymdown-extensions
mkdocs-open-in-new-tab
mkdocs-open-in-new-tab
mkdocs-jupyter