Skip to content

Commit 049c9a7

Browse files
committed
render notebooks when building docs
1 parent abe6317 commit 049c9a7

File tree

7 files changed

+74
-1649
lines changed

7 files changed

+74
-1649
lines changed

.github/workflows/docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,23 @@ jobs:
8484
git config --global user.email "actions@github.com"
8585
8686
# Checkout gh-pages branch
87-
git restore uv.lock
87+
git restore .
8888
git fetch origin gh-pages --depth=1
8989
git checkout gh-pages
9090
9191
# Create preview directory if it doesn't exist
9292
mkdir -p pr-previews
9393
9494
# Check if there are actual changes in the built site
95+
echo "checking for changes in the built site"
9596
if [ -d "pr-previews/pr-${{ github.event.pull_request.number }}" ]; then
9697
diff -r site/pr-${{ github.event.pull_request.number }} pr-previews/pr-${{ github.event.pull_request.number }} > /dev/null 2>&1
9798
if [ $? -eq 0 ]; then
9899
echo "No changes in documentation. Skipping deployment."
99100
exit 0
100101
fi
101102
fi
103+
echo "there are changes!"
102104
103105
# Remove old preview if it exists
104106
rm -rf pr-previews/pr-${{ github.event.pull_request.number }}

docs/examples/rasterio_backend_example.ipynb

Lines changed: 20 additions & 389 deletions
Large diffs are not rendered by default.

docs/examples/time_series_example.ipynb

Lines changed: 28 additions & 551 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)