Skip to content

Commit 2595b58

Browse files
committed
Init
0 parents  commit 2595b58

File tree

12 files changed

+550
-0
lines changed

12 files changed

+550
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: "Build and deploy to GitHub Pages"
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
env:
9+
BASE_URL: "/${{ github.event.repository.name }}"
10+
11+
12+
# Allow one concurrent deployment
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
18+
jobs:
19+
build:
20+
runs-on: "ubuntu-latest"
21+
steps:
22+
- name: "Checkout"
23+
uses: "actions/checkout@v4"
24+
25+
- uses: "prefix-dev/[email protected]"
26+
27+
- run: "pixi run render"
28+
29+
- name: "Upload site artifact"
30+
uses: "actions/upload-pages-artifact@v3"
31+
with:
32+
path: "./_build/html"
33+
34+
35+
deploy:
36+
runs-on: "ubuntu-latest"
37+
needs: "build"
38+
environment:
39+
name: "github-pages"
40+
url: "${{ steps.deployment.outputs.page_url }}"
41+
permissions:
42+
pages: "write"
43+
id-token: "write"
44+
steps:
45+
- name: "Deploy to GitHub Pages"
46+
id: "deployment"
47+
uses: "actions/deploy-pages@v4"

.github/workflows/pr-rtd-link.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# The ReadTheDocs preview link is "hidden" within the GitHub "Checks"
2+
# interface. For users who don't know this, finding the preview link may be
3+
# very difficult or frustrating. This workflow makes the link more
4+
# findable by updating PR descriptions to include it.
5+
name: 'Add ReadTheDocs preview link to PR description'
6+
7+
on:
8+
pull_request_target:
9+
types:
10+
- 'opened'
11+
12+
permissions:
13+
pull-requests: 'write'
14+
15+
jobs:
16+
autolink-rtd-previews:
17+
runs-on: 'ubuntu-latest'
18+
steps:
19+
- uses: 'readthedocs/actions/preview@v1'
20+
with:
21+
project-slug: 'jupytercon2025-developingextensions'
22+
single-version: true
23+
single-language: true
24+
message-template: |
25+
---
26+
:mag: Preview: {docs-pr-index-url}
27+
_Note: This Pull Request preview is provided by ReadTheDocs. Our production website, however, is currently deployed with GitHub Pages._

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# pixi environments
3+
.pixi
4+
*.egg-info
5+
6+
# MyST build outputs
7+
_build

.pre-commit-config.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
ci:
2+
autoupdate_schedule: quarterly
3+
autofix_prs: false
4+
5+
repos:
6+
- repo: https://github.com/pre-commit/pre-commit-hooks
7+
rev: v6.0.0
8+
hooks:
9+
# Validate format
10+
- id: check-yaml
11+
- id: check-toml
12+
- id: check-json
13+
# Check for common mistakes
14+
- id: check-added-large-files
15+
- id: check-case-conflict
16+
# - id: check-illegal-windows-names # TODO: Enable in next release
17+
- id: check-merge-conflict
18+
- id: check-executables-have-shebangs
19+
- id: check-shebang-scripts-are-executable
20+
- id: check-symlinks
21+
- id: check-vcs-permalinks
22+
- id: destroyed-symlinks
23+
- id: detect-private-key
24+
- id: end-of-file-fixer
25+
- id: mixed-line-ending
26+
# - id: no-commit-to-branch # protects `main` by default
27+
- id: trailing-whitespace
28+
29+
- repo: https://github.com/codespell-project/codespell
30+
rev: v2.4.1
31+
hooks:
32+
- id: codespell

.readthedocs.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# For this project, we use ReadTheDocs only for Pull Request previews. GitHub
2+
# pages currently hosts the actual website.
3+
version: 2
4+
5+
6+
build:
7+
os: "ubuntu-lts-latest"
8+
9+
commands:
10+
- "asdf plugin add pixi"
11+
- "asdf install pixi latest"
12+
- "asdf global pixi latest"
13+
14+
- "pixi run render"
15+
- "mkdir --parents $READTHEDOCS_OUTPUT/html/"
16+
- "mv _build/html/* $READTHEDOCS_OUTPUT/html/."
17+
- "rm -rf _build" # RTD build fails if _build/html is detected :(

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2025 The GeoJupyter Community
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

assets/styles/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
3+
}

index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Hello, world!

myst.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: 1
2+
3+
project:
4+
title: "Open Source Geospatial Workflows in the Cloud"
5+
# description:
6+
# keywords: []
7+
# authors: []
8+
license: "MIT"
9+
github: "https://github.com/geojupyter/workshop-agu2025"
10+
exclude:
11+
- "_*"
12+
- "README.md"
13+
14+
15+
site:
16+
template: "book-theme"
17+
actions:
18+
- title: "View source"
19+
url: "https://github.com/geojupyter/workshop-agu2025"
20+
options:
21+
folders: true
22+
style: "assets/styles/style.css"
23+
# favicon: favicon.ico
24+
# logo: site_logo.png
25+
logo_text: "Open Source Geospatial Workflows in the Cloud"

0 commit comments

Comments
 (0)