Skip to content

Commit

Permalink
Update Maplibre chapter (#130)
Browse files Browse the repository at this point in the history
* Update Maplibre chapter

* Update intro

* Skip maplibre execute

* Update maplibre lecture

* Update leafmap version

* Add description
  • Loading branch information
giswqs authored Oct 26, 2024
1 parent 7ffe931 commit 4b1f4de
Show file tree
Hide file tree
Showing 6 changed files with 4,169 additions and 1,612 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Install dependencies
run: |
uv sync --python ${{ matrix.python-version }}
uv pip install -U leafmap
uv pip install py3dep
- name: Install optional dependencies
Expand All @@ -49,6 +50,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
MAPTILER_KEY: ${{ secrets.MAPTILER_KEY }}
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: Install dependencies
run: |
uv sync --python ${{ matrix.python-version }}
uv pip install -U leafmap
uv pip install py3dep
- name: Install optional dependencies
Expand All @@ -49,6 +50,7 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
MAPTILER_KEY: ${{ secrets.MAPTILER_KEY }}
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v4
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ pour_point*
streams*
watershed*
histogram*
book/geospatial/cache/*
book/geospatial/cache/*
book/geospatial/*.html
2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ execute:
execute_notebooks: "auto" # Whether to execute notebooks at build time. Must be one of ("auto", "force", "cache", "off")
cache: "" # A path to the jupyter cache that will be used to store execution artifacts. Defaults to `_build/.jupyter_cache/`
exclude_patterns: [
"book/geospatial/vector_viz.ipynb",
"book/geospatial/raster_viz.ipynb",
"book/geospatial/maplibre.ipynb",
"book/geospatial/geemap.ipynb",
"book/geospatial/samgeo.ipynb",
Expand Down
Loading

0 comments on commit 4b1f4de

Please sign in to comment.