Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 3 additions & 2 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ jobs:
run: |
.venv/bin/pytest . --verbose

- name: Install mkdocs
- name: Build docs
run: |
uv pip install -r requirements_docs.txt
.venv/bin/mkdocs build
.venv/bin/python scripts/convert_notebooks.py
.venv/bin/zensical build

- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v4.0
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
# Required so peaceiris/actions-gh-pages can push the built site to gh-pages.
permissions:
contents: write
Comment thread
coderabbitai[bot] marked this conversation as resolved.
strategy:
matrix:
python-version: ["3.13"]
Expand Down Expand Up @@ -58,7 +61,15 @@ jobs:
run: |
.venv/bin/pytest . --verbose

- name: Install mkdocs
- name: Build docs
run: |
uv pip install -r requirements_docs.txt
.venv/bin/mkdocs gh-deploy --force
.venv/bin/python scripts/convert_notebooks.py
.venv/bin/zensical build

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
force_orphan: true
Comment thread
giswqs marked this conversation as resolved.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,12 @@ ENV/

tests/test_testings.py
docs/changelog_update.py

# Markdown pages generated from notebooks by scripts/convert_notebooks.py
docs/notebooks/*.md
docs/notebooks/*_files/
docs/workshops/*.md
docs/workshops/*_files/
docs/maplibre/*.md
!docs/maplibre/overview.md
docs/maplibre/*_files/
11 changes: 0 additions & 11 deletions docs/overrides/main.html

This file was deleted.

Loading
Loading