-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from uw-cryo/jupyterbook
Add basic jupyterbook2 website config
- Loading branch information
Showing
6 changed files
with
1,113 additions
and
984 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# This file was created automatically with `myst init --gh-pages` 🪄 💚 | ||
|
||
name: MyST GitHub Pages Deploy | ||
on: | ||
push: | ||
# Runs on pushes targeting the default branch | ||
branches: [main] | ||
env: | ||
# `BASE_URL` determines the website is served from, including CSS & JS assets | ||
# You may need to change this to `BASE_URL: ''` | ||
BASE_URL: /${{ github.event.repository.name }} | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: 'pages' | ||
cancel-in-progress: false | ||
jobs: | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.x | ||
- name: Install MyST Markdown | ||
run: npm install -g mystmd | ||
- name: Build HTML Assets | ||
run: myst build --html | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: './_build/html' | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -162,3 +162,6 @@ cython_debug/ | |
# pixi environments | ||
.pixi | ||
*.egg-info | ||
|
||
# Jupyter Book (via myst) build outputs | ||
_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# See docs at: https://mystmd.org/guide/frontmatter | ||
version: 1 | ||
project: | ||
id: 3ebf064b-3b32-4a23-92f0-b9a724114c59 | ||
title: 3D Coordinate Reference System Transformation Resources | ||
short_title: 3D CRS Guide | ||
description: Notes and code to understand and successfully perform accurate 3D coordinate reference system (CRS) transformations | ||
keywords: [CRS, PROJ, GDAL, Python, Geopandas, Xarray, Geodesy, Datums] | ||
authors: [David Shean, Scott Henderson, Shashank Bhushan] | ||
github: uw-cryo/3D_CRS_Transformation_Resources | ||
abbreviations: | ||
CRS: Coordinate Reference System | ||
WGS84: World Geodetic System 1984 | ||
EPSG: European Petroleum Survey Group | ||
ITRF: International Terrestrial Reference Frame | ||
UTM: Universal Transverse Mercator | ||
GNSS: Global Navigation Satellite System | ||
DEM: Digital Elevation Model | ||
settings: | ||
output_matplotlib_strings: remove | ||
|
||
toc: | ||
- file: README.md | ||
- title: Examples | ||
children: | ||
- file: examples/3DEP_AK_notes.md | ||
- file: examples/Raster_DEM_3D_Transformation_GDAL.ipynb | ||
- file: examples/Vector_3D_Transformation_GeoPandas.ipynb | ||
- title: Globaldems | ||
children: | ||
- file: globaldems/readme.md | ||
- file: globaldems/cop30.ipynb | ||
- file: globaldems/srtm.ipynb | ||
|
||
site: | ||
template: book-theme | ||
options: | ||
# Best to set authors per-page rather than on *all* pages | ||
# https://github.com/jupyter-book/mystmd/issues/1664 | ||
hide_authors: true | ||
logo_text: Home | ||
favicon: https://github.com/uw-cryo.png?size=46 | ||
logo: https://github.com/uw-cryo.png |
Oops, something went wrong.