Skip to content
Merged
Show file tree
Hide file tree
Changes from 99 commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
c38b212
remove images and other templating that will now live in the configur…
kafitzgerald Jul 13, 2024
2e77f84
update environment
kafitzgerald Jul 13, 2024
59260bb
remove unnecessary config
kafitzgerald Jul 13, 2024
e3aceee
Revert "remove images and other templating that will now live in the …
kafitzgerald Jul 13, 2024
77538d9
remove images that will live elsewhere
kafitzgerald Jul 13, 2024
bd0a45c
switch to myst nb
kafitzgerald Jul 13, 2024
435dfe8
add new workflow
kafitzgerald Jul 13, 2024
a3be111
remove old workflows
kafitzgerald Jul 13, 2024
3773427
updates to config for consistency and to use the theme info
kafitzgerald Sep 17, 2024
13b7f19
fix readme thumbnail link
kafitzgerald Sep 17, 2024
8c624e8
pull in appropriate changes from sphinx template
jukent Apr 17, 2025
69f1e5d
Revert "pull in appropriate changes from sphinx template"
jukent Apr 17, 2025
61cb9ea
pre-commit hooks
jukent Apr 17, 2025
c98fca5
Merge pull request #4 from jukent/myst
jukent Apr 18, 2025
3dac83b
Update deploy.yml
r-ford Apr 29, 2025
413a9ef
Update notebook template with MyST syntax
r-ford Apr 29, 2025
7fe4ad8
Merge pull request #6 from projectpythia-mystmd/myst-nb-template
r-ford Apr 29, 2025
5fdadcd
Put nb in toc
r-ford Apr 29, 2025
f845e94
Remove template md file
r-ford Apr 29, 2025
b3825ad
Update myst.yml
r-ford Apr 29, 2025
ca41091
Readd deploy step
dcamron Apr 29, 2025
6015ec0
Merge branch 'main' into myst-main
brian-rose Jun 11, 2025
68892b6
Merge pull request #7 from brian-rose/recent-updates
brian-rose Jun 11, 2025
b8b2689
Use myst build command for PRs
brian-rose Jun 11, 2025
cc7d138
Use experimental mystified version
brian-rose Jun 11, 2025
220ed24
go back to standard
brian-rose Jun 11, 2025
87549d5
Add the other preview actions back
brian-rose Jun 11, 2025
7615148
Merge pull request #8 from brian-rose/preview
brian-rose Jun 11, 2025
9dd9b5d
Go back to old-school deployment
brian-rose Jun 11, 2025
279e671
Merge pull request #10 from brian-rose/old-school
brian-rose Jun 11, 2025
c951778
Use custom mystified build-book.yaml
brian-rose Jun 12, 2025
b082b8e
Merge pull request #11 from brian-rose/set-env
brian-rose Jun 12, 2025
a6ceca3
Going back to native gh-pages deployment
brian-rose Jun 12, 2025
a63b6b6
Merge pull request #12 from brian-rose/native-deploy
brian-rose Jun 12, 2025
c4173e2
Back to basics
brian-rose Jun 12, 2025
48d8959
Merge pull request #13 from brian-rose/basics
brian-rose Jun 12, 2025
74f307c
Put in the right place
brian-rose Jun 12, 2025
d4e4163
Merge pull request #14 from brian-rose/duh
brian-rose Jun 12, 2025
40612bc
Try new preview action with subdirectory
brian-rose Jun 12, 2025
93918e6
Merge pull request #15 from brian-rose/preview
brian-rose Jun 12, 2025
e40315f
Try something with artifacts
brian-rose Jun 12, 2025
3cb71e1
Merge pull request #17 from brian-rose/myst-main
brian-rose Jun 12, 2025
074b055
forgot the needs
brian-rose Jun 12, 2025
efa5762
Merge pull request #18 from brian-rose/needs
brian-rose Jun 12, 2025
1cc64e8
try path
brian-rose Jun 12, 2025
94e2185
Merge pull request #19 from brian-rose/path
brian-rose Jun 12, 2025
f613fa3
Trying again the old-school way
brian-rose Jun 15, 2025
fdba4fe
Merge pull request #20 from brian-rose/new-old-school
brian-rose Jun 15, 2025
36992d4
Add .nojekyll
brian-rose Jun 15, 2025
a2ac723
Merge pull request #21 from brian-rose/noj
brian-rose Jun 15, 2025
3de8da7
Back to basics
brian-rose Jun 16, 2025
4bacec0
Merge pull request #22 from brian-rose/simple
brian-rose Jun 16, 2025
601f115
separate build and deploy jobs with artifact
brian-rose Jun 16, 2025
270ee9a
Merge pull request #23 from brian-rose/two-step
brian-rose Jun 16, 2025
6309a03
need to checkout during deploy job
brian-rose Jun 16, 2025
f37cab8
Merge pull request #24 from brian-rose/add-checkout
brian-rose Jun 16, 2025
6de91c0
Deploy with reusable workflows
brian-rose Jun 16, 2025
042f1c7
Merge pull request #25 from brian-rose/reusable
brian-rose Jun 16, 2025
63d7535
baby steps
brian-rose Jun 16, 2025
886957d
Merge pull request #26 from brian-rose/baby
brian-rose Jun 16, 2025
fb2add3
Maybe now
brian-rose Jun 16, 2025
d562a72
Merge pull request #27 from brian-rose/maybe-now
brian-rose Jun 16, 2025
167cc41
back to stock deploy workflow
brian-rose Jun 16, 2025
8c0fbec
Merge pull request #28 from brian-rose/stock
brian-rose Jun 16, 2025
22177fa
call reusable build workflow
brian-rose Jun 16, 2025
4699df3
Merge pull request #29 from brian-rose/reusable
brian-rose Jun 16, 2025
2911654
start with simple reusable workflow
brian-rose Jun 16, 2025
9834716
Merge pull request #30 from brian-rose/simple-reusable
brian-rose Jun 16, 2025
fb7df7b
revert and make sure it still works
brian-rose Jun 16, 2025
adbdf40
Merge pull request #31 from brian-rose/revert
brian-rose Jun 16, 2025
d6fcb41
Set BASE_URL in reusable
brian-rose Jun 16, 2025
7bc3495
Merge pull request #32 from brian-rose/try-this
brian-rose Jun 16, 2025
ce10237
try again to use other reusable
brian-rose Jun 16, 2025
4808a4a
Merge pull request #33 from brian-rose/again
brian-rose Jun 16, 2025
e782328
Simplify workflow
brian-rose Jun 16, 2025
c1135bb
Merge pull request #34 from brian-rose/simplify
brian-rose Jun 16, 2025
8b83507
rename publish workflow
brian-rose Jun 16, 2025
c8de86f
Remove obsolete
brian-rose Jun 16, 2025
22bd813
Merge pull request #35 from brian-rose/rename
brian-rose Jun 16, 2025
9dd5e78
Add preview workflows
brian-rose Jun 16, 2025
087ac05
Merge pull request #36 from brian-rose/add-preview
brian-rose Jun 16, 2025
ac09df1
use correct workflow
brian-rose Jun 16, 2025
b8628ee
Merge pull request #37 from brian-rose/right-one
brian-rose Jun 16, 2025
c73508f
Pass BASE_URL as input arg
brian-rose Jun 16, 2025
925962b
Merge pull request #38 from brian-rose/base-arg
brian-rose Jun 16, 2025
16d3aeb
Switch to stock workflows and add the rest
brian-rose Jun 16, 2025
de67e77
Merge pull request #39 from brian-rose/complete
brian-rose Jun 16, 2025
ca4ffcb
Point to config file in projectpythia org
brian-rose Jun 17, 2025
6870178
Merge pull request #40 from brian-rose/change-config
brian-rose Jun 17, 2025
d6780bb
Simplify workflow files by using myst defaults
brian-rose Jun 17, 2025
9a01674
Remove jupyter-book from environment
brian-rose Jun 17, 2025
b9eafaa
remove .nojekyll, should not be here
brian-rose Jun 17, 2025
6219ad5
Remove .isort file
brian-rose Jun 17, 2025
2ad2c77
Point to projectpythia org
brian-rose Jun 17, 2025
b491ccc
Add link check back in
brian-rose Jun 17, 2025
fe38954
Add new line
brian-rose Jun 17, 2025
d1bcb15
Revert to previous naming
brian-rose Jun 17, 2025
02d48a6
restore _gallery_info.yml
brian-rose Jun 17, 2025
da764cc
Remove site setting
brian-rose Jun 17, 2025
1561166
Remove cruft from myst.yml
brian-rose Jun 17, 2025
653a53f
Simplify title
brian-rose Jun 17, 2025
15fba1e
Update .pre-commit-config.yaml
brian-rose Jun 17, 2025
7af33f6
Add .vscode to .gitignore
brian-rose Jun 17, 2025
29a2d6f
Reorder top of notebook template to resolve duplicate title
brian-rose Jun 17, 2025
3455f51
Move thumbnail image below title
brian-rose Jun 17, 2025
cd79129
try allowing dangerous html
brian-rose Jun 17, 2025
5544788
Remove dangerous option
brian-rose Jun 17, 2025
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
9 changes: 6 additions & 3 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ jobs:
build:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: cookbook-dev

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
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
4 changes: 1 addition & 3 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ on:
jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: cookbook-dev

deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
4 changes: 2 additions & 2 deletions .github/workflows/trigger-book-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: cookbook-dev
artifact_name: book-zip-${{ github.event.number }}
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml
base_url: '/${{ github.event.repository.name }}/_preview/${{ github.event.number }}'
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml
2 changes: 1 addition & 1 deletion .github/workflows/trigger-delete-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:

jobs:
delete:
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
2 changes: 0 additions & 2 deletions .isort.cfg

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
- id: double-quote-string-fixer

- repo: https://github.com/psf/black
rev: 25.1.0
rev: 25.1.1
hooks:
- id: black

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

# (Replace_with_your_title) Cookbook

Expand All @@ -14,7 +14,7 @@ This Project Pythia Cookbook covers ... (replace `...` with the main subject of

## Authors

[First Author](@first-author), [Second Author](@second-author), etc. _Acknowledge primary content authors here_
[First Author](https://github.com/first-author1), [Second Author](https://github.com/second-author2), etc. _Acknowledge primary content authors here_

### Contributors

Expand Down
80 changes: 0 additions & 80 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.

9 changes: 0 additions & 9 deletions _toc.yml

This file was deleted.

4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ name: cookbook-dev
channels:
- conda-forge
dependencies:
- jupyter-book
- jupyterlab
- sphinx-pythia-theme
- mystmd
- jupyterlab-myst
24 changes: 24 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# See docs at: https://mystmd.org/guide/frontmatter
version: 1
extends:
- https://raw.githubusercontent.com/projectpythia/pythia-config/main/pythia.yml
project:
title: Project Pythia Cookbook Template - Jupter Book 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Kevin mentioned.

Suggested change
title: Project Pythia Cookbook Template - Jupter Book 2
title: Project Pythia Cookbook Template - Jupyter Book 2

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, but I think it might be better to just remove this, since it will be the template going forward.

github: https://github.com/projectpythia/cookbook-template
thumbnail: thumbnails/thumbnail.png
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
thumbnail: thumbnails/thumbnail.png

tags: ["sampletag"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
tags: ["sampletag"]

keywords: ["samplekeyword"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
keywords: ["samplekeyword"]

authors:
- name: The Project Pythia Community
copyright: '2024'
toc:
- file: README.md
- title: Preamble
children:
- file: notebooks/how-to-cite.md
- title: Introduction
children:
- file: notebooks/notebook-template.ipynb
jupyter:
binder:
repo: projectpythia/cookbook-template
1 change: 0 additions & 1 deletion notebooks/images/ProjectPythia_Logo_Final-01-Blue.svg

This file was deleted.

Binary file removed notebooks/images/icons/favicon.ico
Binary file not shown.

This file was deleted.

Loading