Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start using the updated theme #10

Merged
merged 5 commits into from
Mar 30, 2024
Merged
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
21 changes: 14 additions & 7 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
title: ARCO ERA-5 Interactive Visualization
author: Michael Barletta and Kevin Tyle
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'
Expand Down Expand Up @@ -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:
Expand All @@ -51,10 +53,12 @@ sphinx:
launch_buttons:
binderhub_url: https://binder.projectpythia.org
notebook_interface: jupyterlab
extra_navbar: |
Theme by <a href="https://projectpythia.org">Project Pythia</a>.<br><br>
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>
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
Expand All @@ -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
6 changes: 6 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -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 */
}
18 changes: 2 additions & 16 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:
- jupyterlab
- jupyter_server
- zarr
- dask
- xarray
- geoviews
- datashader
Expand All @@ -20,19 +21,4 @@ dependencies:
- geopandas
- gcsfs
- cf_xarray
#
# The balance of this environment file pins several libraries in order for
# to satisfy dependencies for the sphinx-pythia-theme 2022.3.22 package.
#
- sphinx==4.5.0
- sphinxcontrib-applehelp<1.0.7
- sphinxcontrib-devhelp<1.0.5
- sphinxcontrib-htmlhelp<2.0.4
- sphinxcontrib-qthelp<1.0.6
- sphinxcontrib-serializinghtml<1.1.9
- pydata-sphinx-theme<=0.8
- jsonschema-with-format-nongpl<4.19.1
- docutils==0.16
- pip
- pip:
- sphinx-pythia-theme
- sphinx-pythia-theme
6 changes: 3 additions & 3 deletions notebooks/02InteractiveVisualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@
"source": [
"<div class=\"admonition alert alert-warning\">\n",
" <p class=\"admonition-title\" style=\"font-weight:bold\">Note:</p>\n",
"By default, Geoviews expects a dataset whose coordinates are lat-lon (i.e., using a <code>PlateCarree</code> projection) to have the longitude dimension vary from -180 to 180. In this case, the ERA-5's longitudes range from 0 to 360. \n",
"\n",
"In this case, ensure that the <code>crs</code> of the element declares the actual <code>central_longitude</code>, e.g. 180 degrees rather than the default 0 degrees.\n",
" By default, Geoviews expects a dataset whose coordinates are lat-lon (i.e., using a <code>PlateCarree</code> projection) to have the longitude dimension vary from -180 to 180. In this case, the ERA-5's longitudes range from 0 to 360. \n",
" <br>\n",
" In this case, ensure that the <code>crs</code> of the element declares the actual <code>central_longitude</code>, e.g. 180 degrees rather than the default 0 degrees.\n",
"</div>"
]
},
Expand Down
1 change: 0 additions & 1 deletion notebooks/images/logos/NCAR-contemp-logo-blue.svg

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading