diff --git a/.github/workflows/trigger-replace-links.yaml b/.github/workflows/trigger-replace-links.yaml
index e67c7ddb1..6fff5e239 100644
--- a/.github/workflows/trigger-replace-links.yaml
+++ b/.github/workflows/trigger-replace-links.yaml
@@ -10,14 +10,14 @@ jobs:
contents: write
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- 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.yml"
+ exclude: ".github/workflows/trigger-replace-links.yaml"
- name: Find and Replace Repository ID
uses: jacobtomlinson/gha-find-replace@v3
@@ -25,7 +25,7 @@ jobs:
find: "475509405"
replace: "${{ github.repository_id}}"
regex: false
- exclude: ".github/workflows/trigger-replace-links.yml"
+ exclude: ".github/workflows/trigger-replace-links.yaml"
- name: Push changes
- uses: stefanzweifel/git-auto-commit-action@v4
+ uses: stefanzweifel/git-auto-commit-action@v5
diff --git a/.gitignore b/.gitignore
index b68c85962..5a9854922 100644
--- a/.gitignore
+++ b/.gitignore
@@ -131,3 +131,6 @@ dmypy.json
# Pyre type checker
.pyre/
+
+# Ephemeral .nfs files
+.nfs*
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index de8519806..3993e7097 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v4.4.0
+ rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
@@ -10,17 +10,17 @@ repos:
- id: double-quote-string-fixer
- repo: https://github.com/psf/black
- rev: 23.3.0
+ rev: 23.12.1
hooks:
- id: black
- repo: https://github.com/keewis/blackdoc
- rev: v0.3.8
+ rev: v0.3.9
hooks:
- id: blackdoc
- repo: https://github.com/PyCQA/flake8
- rev: 6.0.0
+ rev: 7.0.0
hooks:
- id: flake8
@@ -30,18 +30,18 @@ repos:
- id: seed-isort-config
- repo: https://github.com/PyCQA/isort
- rev: 5.12.0
+ rev: 5.13.2
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-prettier
- rev: v2.7.1
+ rev: v3.1.0
hooks:
- id: prettier
additional_dependencies: [prettier@v2.7.1]
- repo: https://github.com/nbQA-dev/nbQA
- rev: 1.7.0
+ rev: 1.7.1
hooks:
- id: nbqa-black
additional_dependencies: [black]
diff --git a/_config.yml b/_config.yml
index 813cfd313..143818838 100644
--- a/_config.yml
+++ b/_config.yml
@@ -4,7 +4,7 @@
title: Project Pythia Cookbook Template
author: the Project Pythia Community
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
-copyright: "2023"
+copyright: "2024"
execute:
# To execute notebooks via a Binder instead, replace 'cache' with 'binder'
@@ -27,7 +27,7 @@ parse:
sphinx:
config:
- linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable
+ linkcheck_ignore: ["https://doi.org/*", "https://zenodo.org/badge/*"] # don't run link checker on DOI links since they are immutable
nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder)
html_favicon: notebooks/images/icons/favicon.ico
html_last_updated_fmt: "%-d %B %Y"
@@ -40,7 +40,9 @@ sphinx:
use_issues_button: true
use_repository_button: true
use_edit_page_button: true
- google_analytics_id: G-T52X8HNYE8
+ use_fullscreen_button: true
+ analytics:
+ google_analytics_id: G-T52X8HNYE8
github_url: https://github.com/ProjectPythia
twitter_url: https://twitter.com/project_pythia
icon_links:
@@ -51,10 +53,12 @@ sphinx:
launch_buttons:
binderhub_url: https://binder.projectpythia.org
notebook_interface: jupyterlab
- extra_navbar: |
- Theme by Project Pythia.
- All code in Pythia Cookbooks is licensed under Apache 2.0. All other non-code content is licensed under Creative Commons BY 4.0 (CC BY 4.0).
- logo_link: https://projectpythia.org
+ logo:
+ link: https://projectpythia.org
+ navbar_start:
+ - navbar-logo
+ navbar_end:
+ - navbar-icon-links
navbar_links:
- name: Home
url: https://projectpythia.org
@@ -67,6 +71,9 @@ sphinx:
- name: Community
url: https://projectpythia.org/index.html#join-us
footer_logos:
- NCAR: notebooks/images/logos/NCAR-contemp-logo-blue.svg
+ NCAR: notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
Unidata: notebooks/images/logos/Unidata_logo_horizontal_1200x300.svg
UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg
+ footer_start:
+ - footer-logos
+ - footer-info
diff --git a/_static/custom.css b/_static/custom.css
new file mode 100644
index 000000000..59f431316
--- /dev/null
+++ b/_static/custom.css
@@ -0,0 +1,6 @@
+.bd-main .bd-content .bd-article-container {
+ max-width: 100%; /* default is 60em */
+}
+.bd-page-width {
+ max-width: 100%; /* default is 88rem */
+}
diff --git a/environment.yml b/environment.yml
index 6fa371087..c63164266 100644
--- a/environment.yml
+++ b/environment.yml
@@ -4,7 +4,4 @@ channels:
dependencies:
- jupyter-book
- jupyterlab
- - jupyter_server
- - pip
- - pip:
- - sphinx-pythia-theme
+ - sphinx-pythia-theme
diff --git a/notebooks/images/logos/NCAR-contemp-logo-blue.svg b/notebooks/images/logos/NCAR-contemp-logo-blue.svg
deleted file mode 100644
index 3bcda6351..000000000
--- a/notebooks/images/logos/NCAR-contemp-logo-blue.svg
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
new file mode 100644
index 000000000..538f8ec9f
--- /dev/null
+++ b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg
@@ -0,0 +1 @@
+