Skip to content

Commit

Permalink
Add script for checking maplibre notebooks (#809)
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs authored Jul 3, 2024
1 parent 4344be2 commit 6c71413
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/check_maplibre.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import os
import leafmap.maplibregl as leafmap

in_dir = "docs/maplibre/"
out_dir = os.path.expanduser("~/Downloads/maplibre")
files = leafmap.find_files(in_dir, "*.ipynb")
leafmap.execute_maplibre_notebook_dir(in_dir, out_dir, replace_api_key=True)

0 comments on commit 6c71413

Please sign in to comment.