Skip to content

Commit 70d234a

Browse files
committed
new config and action
1 parent 6c5da75 commit 70d234a

9 files changed

+79
-121
lines changed

.github/workflows/deploy.yml

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

.github/workflows/nightly-build.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/publish-book.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/trigger-book-build.yaml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/trigger-delete-preview.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/trigger-link-check.yaml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/trigger-preview.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/trigger-replace-links.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

myst.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 1
2+
extends:
3+
- https://raw.githubusercontent.com/projectpythia-mystmd/pythia-config/main/pythia.yml
4+
project:
5+
title: Unstructured Grids Visualization Cookbook
6+
github: https://github.com/projectpythia-mystmd/unstructured-grid-viz-cookbook
7+
authors:
8+
- name: The Project Pythia Community
9+
copyright: '2024'
10+
toc:
11+
- file: README.md
12+
- title: Preamble
13+
children:
14+
- file: notebooks/how-to-cite.md
15+
- title: Introduction to UXarray & Unstructured Grids
16+
children:
17+
- file: notebooks/01-intro/01-unstructured-grid-overview.ipynb
18+
- file: notebooks/01-intro/02-data-structures.ipynb
19+
- file: notebooks/01-intro/03-data-mapping.ipynb
20+
- title: Methods & Libraries for Unstructured Grid Visualization
21+
children:
22+
- file: notebooks/02-methods/01-plotting-libraries.ipynb
23+
- file: notebooks/02-methods/02-rendering-techniques.ipynb
24+
- title: UXarray Visualization
25+
children:
26+
- file: notebooks/03-uxarray-vis/01-plot-api.ipynb
27+
- file: notebooks/03-uxarray-vis/002-xarray-to-uxarray.ipynb
28+
- file: notebooks/03-uxarray-vis/02-grid-topology.ipynb
29+
- file: notebooks/03-uxarray-vis/03-polygons.ipynb
30+
- file: notebooks/03-uxarray-vis/04-points.ipynb
31+
- file: notebooks/03-uxarray-vis/07-animations.ipynb
32+
- file: notebooks/03-uxarray-vis/06-performance.ipynb

0 commit comments

Comments
 (0)