Skip to content

Commit b496c95

Browse files
committed
MySTify the WMS cookbook
1 parent 34ca9a6 commit b496c95

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

.github/workflows/deploy.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# This file was created automatically with `myst init --gh-pages` 🪄 💚
2+
3+
name: MyST GitHub Pages Deploy
4+
on:
5+
push:
6+
# Runs on pushes targeting the default branch
7+
branches: [main]
8+
env:
9+
# `BASE_URL` determines the website is served from, including CSS & JS assets
10+
# You may need to change this to `BASE_URL: ''`
11+
BASE_URL: /${{ github.event.repository.name }}
12+
13+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14+
permissions:
15+
contents: read
16+
pages: write
17+
id-token: write
18+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: 'pages'
22+
cancel-in-progress: false
23+
jobs:
24+
deploy:
25+
environment:
26+
name: github-pages
27+
url: ${{ steps.deployment.outputs.page_url }}
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v3
33+
- uses: actions/setup-node@v4
34+
with:
35+
node-version: 18.x
36+
- name: Install MyST Markdown
37+
run: npm install -g mystmd
38+
- name: Build HTML Assets
39+
run: myst build --html
40+
- name: Upload artifact
41+
uses: actions/upload-pages-artifact@v1
42+
with:
43+
path: './_build/html'
44+
- name: Deploy to GitHub Pages
45+
id: deployment
46+
uses: actions/deploy-pages@v2

environment.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ dependencies:
1515
- hvplot
1616
- owslib
1717
- sphinx-pythia-theme
18+
- mystmd

myst.yml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# See docs at: https://mystmd.org/guide/frontmatter
2+
version: 1
3+
extends:
4+
- https://raw.githubusercontent.com/projectpythia-mystmd/pythia-config/main/pythia.yml
5+
project:
6+
id: 00033604-f595-498a-9407-eab331b49411
7+
# title:
8+
# description:
9+
# keywords: []
10+
# authors: []
11+
github: https://github.com/ktyle/web-map-feature-services-cookbook
12+
# To autogenerate a Table of Contents, run "myst init --write-toc"
13+
toc:
14+
# Auto-generated by `myst init --write-toc`
15+
- file: README.md
16+
- title: Foundations
17+
children:
18+
- file: notebooks/introduction.ipynb
19+
- file: notebooks/web_map_services.ipynb
20+
- file: notebooks/web_feature_services.ipynb
21+
- title: Example Workflows
22+
children:
23+
- file: notebooks/nasa_earthdata_gibs_explorer.ipynb
24+
25+
site:
26+
template: book-theme
27+
# options:
28+
# favicon: favicon.ico
29+
# logo: site_logo.png

0 commit comments

Comments
 (0)