Skip to content

Commit

Permalink
Merge pull request #17 from ProjectPythia/use_updated_theme
Browse files Browse the repository at this point in the history
Start using the updated theme
  • Loading branch information
erogluorhan authored Mar 30, 2024
2 parents f992ffb + 8637134 commit ec613c6
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 17 deletions.
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: Dask Cookbook
author: Negin Sobhani, Brian Vanderwende, Deepak Cherian, and Ben Kirk
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 @@ -38,7 +38,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 @@ -49,10 +51,12 @@ sphinx:
launch_buttons:
binderhub_url: http://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 @@ -65,6 +69,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 */
}
10 changes: 3 additions & 7 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ channels:

dependencies:
- jupyter-book
- jupyterlab>=3
- jupyterlab >=3
- jupyter_server
- cfgrib
- cftime
Expand All @@ -22,13 +22,9 @@ dependencies:
- netcdf4
- nodejs
- pandas
- pip
- pre-commit
- pydap
- python-graphviz
- python=3.10
- scipy
- xarray>=2022.3.0
- pip
- pip:
- sphinx-pythia-theme
- sphinx-pythia-theme
- xarray
4 changes: 2 additions & 2 deletions notebooks/03-dask-xarray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
" alt=\"Dask logo\"\n",
" align=\"right\"\n",
"/>\n",
"<img src=\"https://docs.xarray.dev/en/stable/_static/dataset-diagram-logo.png\"\n",
"<img src=\"https://docs.xarray.dev/en/latest/_images/dataset-diagram.png\"\n",
" width=\"30%\"\n",
" alt=\"Xarray\"\n",
" align=\"right\"\n",
Expand Down Expand Up @@ -49,7 +49,7 @@
"Xarray provides pandas-level convenience for working with this type of data.\n",
"\n",
"\n",
"<img src=\"https://docs.xarray.dev/en/stable/_images/dataset-diagram.png\"\n",
"<img src=\"https://docs.xarray.dev/en/latest/_images/dataset-diagram.png\"\n",
" width=\"50%\"\n",
" alt=\"Xarray\"\n",
" style=\"vertical-align:middle;margin:30px 0px\"/>\n",
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.

0 comments on commit ec613c6

Please sign in to comment.