Skip to content

Commit 2a0ff4f

Browse files
authored
Merge pull request #12 from ProjectPythia/main
[pull] main from ProjectPythia:main
2 parents 10e1c5a + 005a619 commit 2a0ff4f

File tree

8 files changed

+37
-24
lines changed

8 files changed

+37
-24
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ jobs:
1010
contents: write
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414
- name: Find and Replace Repository Name
1515
uses: jacobtomlinson/gha-find-replace@v3
1616
with:
1717
find: "ProjectPythia/cookbook-template"
1818
replace: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
1919
regex: false
20-
exclude: ".github/workflows/trigger-replace-links.yml"
20+
exclude: ".github/workflows/trigger-replace-links.yaml"
2121

2222
- name: Find and Replace Repository ID
2323
uses: jacobtomlinson/gha-find-replace@v3
2424
with:
2525
find: "475509405"
2626
replace: "${{ github.repository_id}}"
2727
regex: false
28-
exclude: ".github/workflows/trigger-replace-links.yml"
28+
exclude: ".github/workflows/trigger-replace-links.yaml"
2929

3030
- name: Push changes
31-
uses: stefanzweifel/git-auto-commit-action@v4
31+
uses: stefanzweifel/git-auto-commit-action@v5

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,6 @@ dmypy.json
131131

132132
# Pyre type checker
133133
.pyre/
134+
135+
# Ephemeral .nfs files
136+
.nfs*

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.4.0
3+
rev: v4.5.0
44
hooks:
55
- id: trailing-whitespace
66
- id: end-of-file-fixer
@@ -10,17 +10,17 @@ repos:
1010
- id: double-quote-string-fixer
1111

1212
- repo: https://github.com/psf/black
13-
rev: 23.3.0
13+
rev: 23.12.1
1414
hooks:
1515
- id: black
1616

1717
- repo: https://github.com/keewis/blackdoc
18-
rev: v0.3.8
18+
rev: v0.3.9
1919
hooks:
2020
- id: blackdoc
2121

2222
- repo: https://github.com/PyCQA/flake8
23-
rev: 6.0.0
23+
rev: 7.0.0
2424
hooks:
2525
- id: flake8
2626

@@ -30,18 +30,18 @@ repos:
3030
- id: seed-isort-config
3131

3232
- repo: https://github.com/PyCQA/isort
33-
rev: 5.12.0
33+
rev: 5.13.2
3434
hooks:
3535
- id: isort
3636

3737
- repo: https://github.com/pre-commit/mirrors-prettier
38-
rev: v2.7.1
38+
rev: v3.1.0
3939
hooks:
4040
- id: prettier
4141
additional_dependencies: [prettier@v2.7.1]
4242

4343
- repo: https://github.com/nbQA-dev/nbQA
44-
rev: 1.7.0
44+
rev: 1.7.1
4545
hooks:
4646
- id: nbqa-black
4747
additional_dependencies: [black]

_config.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
title: Project Pythia Cookbook Template
55
author: the <a href="https://projectpythia.org/">Project Pythia</a> Community
66
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
7-
copyright: "2023"
7+
copyright: "2024"
88

99
execute:
1010
# To execute notebooks via a Binder instead, replace 'cache' with 'binder'
@@ -27,7 +27,7 @@ parse:
2727

2828
sphinx:
2929
config:
30-
linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable
30+
linkcheck_ignore: ["https://doi.org/*", "https://zenodo.org/badge/*"] # don't run link checker on DOI links since they are immutable
3131
nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder)
3232
html_favicon: notebooks/images/icons/favicon.ico
3333
html_last_updated_fmt: "%-d %B %Y"
@@ -40,7 +40,9 @@ sphinx:
4040
use_issues_button: true
4141
use_repository_button: true
4242
use_edit_page_button: true
43-
google_analytics_id: G-T52X8HNYE8
43+
use_fullscreen_button: true
44+
analytics:
45+
google_analytics_id: G-T52X8HNYE8
4446
github_url: https://github.com/ProjectPythia
4547
twitter_url: https://twitter.com/project_pythia
4648
icon_links:
@@ -51,10 +53,12 @@ sphinx:
5153
launch_buttons:
5254
binderhub_url: https://binder.projectpythia.org
5355
notebook_interface: jupyterlab
54-
extra_navbar: |
55-
Theme by <a href="https://projectpythia.org">Project Pythia</a>.<br><br>
56-
All code in Pythia Cookbooks is licensed under Apache 2.0. All other non-code content is licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons BY 4.0 (CC BY 4.0)</a>.<br><br>
57-
logo_link: https://projectpythia.org
56+
logo:
57+
link: https://projectpythia.org
58+
navbar_start:
59+
- navbar-logo
60+
navbar_end:
61+
- navbar-icon-links
5862
navbar_links:
5963
- name: Home
6064
url: https://projectpythia.org
@@ -67,6 +71,9 @@ sphinx:
6771
- name: Community
6872
url: https://projectpythia.org/index.html#join-us
6973
footer_logos:
70-
NCAR: notebooks/images/logos/NCAR-contemp-logo-blue.svg
74+
NCAR: notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
7175
Unidata: notebooks/images/logos/Unidata_logo_horizontal_1200x300.svg
7276
UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg
77+
footer_start:
78+
- footer-logos
79+
- footer-info

_static/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.bd-main .bd-content .bd-article-container {
2+
max-width: 100%; /* default is 60em */
3+
}
4+
.bd-page-width {
5+
max-width: 100%; /* default is 88rem */
6+
}

environment.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,4 @@ channels:
44
dependencies:
55
- jupyter-book
66
- jupyterlab
7-
- jupyter_server
8-
- pip
9-
- pip:
10-
- sphinx-pythia-theme
7+
- sphinx-pythia-theme

notebooks/images/logos/NCAR-contemp-logo-blue.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)