From 28e9c5d049a87ec175f3ffe7227c9346525dd739 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:05:49 -0600 Subject: [PATCH 1/2] new theme --- _config.yml | 17 ++++++++++++----- _static/custom.css | 6 ++++++ environment.yml | 4 +--- .../images/logos/NCAR-contemp-logo-blue.svg | 1 - .../logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg | 1 + 5 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 _static/custom.css delete mode 100644 notebooks/images/logos/NCAR-contemp-logo-blue.svg create mode 100644 notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg diff --git a/_config.yml b/_config.yml index 2860f84..86978f2 100644 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,7 @@ title: HRRR-AWS-Cookbook author: the Project Pythia Community logo: notebooks/images/logos/pythia_logo-white-rtext.svg -copyright: '2022' +copyright: '2024' # Execute the notebooks upon building the book (don't use binderbot) execute: @@ -41,6 +41,7 @@ sphinx: use_issues_button: true use_repository_button: true use_edit_page_button: true + use_fullscreen_button: true github_url: https://github.com/ProjectPythia twitter_url: https://twitter.com/project_pythia icon_links: @@ -51,9 +52,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 + navbar_start: + - navbar-logo + navbar_end: + - navbar-icon-links logo_link: https://projectpythia.org navbar_links: - name: Home @@ -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 0000000..0c9948b --- /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 79528e4..8378fa4 100644 --- a/environment.yml +++ b/environment.yml @@ -9,6 +9,4 @@ dependencies: - metpy - zarr - s3fs - - 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 3bcda63..0000000 --- a/notebooks/images/logos/NCAR-contemp-logo-blue.svg +++ /dev/null @@ -1 +0,0 @@ -NCAR-contemp-logo-blue.a 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 0000000..538f8ec --- /dev/null +++ b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg @@ -0,0 +1 @@ + From 053cf32ffc4f29b30da543891ce8743f57e95b50 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Mon, 1 Apr 2024 12:34:22 -0600 Subject: [PATCH 2/2] rm logo_link --- .gitignore | 1 + _config.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5b5dd02..a9906a1 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ __pycache__/ # Distribution / packaging .Python build/ +_build/ notebooks/_build/ develop-eggs/ dist/ diff --git a/_config.yml b/_config.yml index 86978f2..ceba1fc 100644 --- a/_config.yml +++ b/_config.yml @@ -58,7 +58,6 @@ sphinx: - navbar-logo navbar_end: - navbar-icon-links - logo_link: https://projectpythia.org navbar_links: - name: Home url: https://projectpythia.org