Skip to content
Closed
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
46 changes: 0 additions & 46 deletions .github/workflows/deploy.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: nightly-build

on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # Daily “At 00:00”

jobs:
build:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main

link-check:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
16 changes: 16 additions & 0 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: publish-book

on:
# Trigger the workflow on push to main branch
push:
branches:
- main
workflow_dispatch:

jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/trigger-book-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: trigger-book-build
on:
pull_request:

jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
artifact_name: book-zip-${{ github.event.number }}
base_url: '/${{ github.event.repository.name }}/_preview/${{ github.event.number }}'
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml
9 changes: 9 additions & 0 deletions .github/workflows/trigger-delete-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: trigger-delete-preview

on:
pull_request_target:
types: closed

jobs:
delete:
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
7 changes: 7 additions & 0 deletions .github/workflows/trigger-link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: trigger-link-check
on:
pull_request:

jobs:
link-check:
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
27 changes: 27 additions & 0 deletions .github/workflows/trigger-preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: trigger-preview
on:
workflow_run:
workflows:
- trigger-book-build
types:
- requested
- completed

jobs:
find-pull-request:
uses: ProjectPythia/cookbook-actions/.github/workflows/find-pull-request.yaml@main
deploy-preview:
needs: find-pull-request
if: github.event.workflow_run.conclusion == 'success'
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
with:
artifact_name: book-zip-${{ needs.find-pull-request.outputs.number }}
destination_dir: _preview/${{ needs.find-pull-request.outputs.number }} # deploy to subdirectory labeled with PR number
is_preview: "true"

preview-comment:
needs: find-pull-request
uses: ProjectPythia/cookbook-actions/.github/workflows/preview-comment.yaml@main
with:
pull_request_number: ${{ needs.find-pull-request.outputs.number }}
sha: ${{ needs.find-pull-request.outputs.sha }}
31 changes: 31 additions & 0 deletions .github/workflows/trigger-replace-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: trigger-replace-links

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v3
- name: Find and Replace Repository Name
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "ProjectPythia/cookbook-template"
replace: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
regex: false
exclude: ".github/workflows/trigger-replace-links.yaml"

- name: Find and Replace Repository ID
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "475509405"
replace: "${{ github.repository_id}}"
regex: false
exclude: ".github/workflows/trigger-replace-links.yml"

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v4
2 changes: 0 additions & 2 deletions .isort.cfg

This file was deleted.

52 changes: 0 additions & 52 deletions .pre-commit-config.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img src="thumbnail.png" alt="thumbnail" width="300"/>

# Advanced Visualization Cookbook - MyST Demo

<img src="thumbnail.png" alt="thumbnail" width="300"/>

[![Binder](https://binder.projectpythia.org/badge_logo.svg)](https://binder.projectpythia.org/v2/gh/ProjectPythia/advanced-viz-cookbook.git/main?labpath=notebooks)
[![DOI](https://zenodo.org/badge/671205314.svg)](https://zenodo.org/badge/latestdoi/671205314)

Expand Down
81 changes: 0 additions & 81 deletions _config.yml

This file was deleted.

6 changes: 0 additions & 6 deletions _static/custom.css

This file was deleted.

Binary file removed _static/footer-logo-nsf.png
Binary file not shown.
27 changes: 0 additions & 27 deletions _templates/footer-extra.html

This file was deleted.

24 changes: 0 additions & 24 deletions _toc.yml

This file was deleted.