Skip to content

Commit

Permalink
Merge pull request #34 from jukent/main
Browse files Browse the repository at this point in the history
use new theme
  • Loading branch information
jukent authored Apr 3, 2024
2 parents 9cae533 + bfeaf93 commit d716cdf
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 16 deletions.
20 changes: 14 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
title: Intake Cookbook
author: James Morley
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
copyright: '2022'
copyright: '2024'

# Execute the notebooks upon build
execute:
Expand Down Expand Up @@ -43,6 +43,9 @@ sphinx:
use_issues_button: true
use_repository_button: true
use_edit_page_button: true
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 @@ -53,10 +56,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 @@ -69,6 +74,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 */
}
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ dependencies:
- metpy
- requests
- aiohttp
- sphinx-pythia-theme
- pip:
- sphinx-pythia-theme
- intake-markdown
12 changes: 4 additions & 8 deletions notebooks/creating_catalogs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,7 @@
"urls = ['s3://hrrrzarr/sfc/20160824/20160824_00z_anl.zarr/surface/TMP/surface',\n",
" 's3://hrrrzarr/sfc/20160824/20160824_00z_anl.zarr/surface/TMP']\n",
"\n",
"source = intake.open_zarr(urls, chunks=None,\n",
" storage_options={\"anon\": True},\n",
" consolidated=True)\n",
"source = intake.open_zarr(urls, storage_options={\"anon\": True})\n",
"\n",
"source.name = 'hrrrzarr'\n",
"source.description = \"Mesowest's HRRR data. See readme source for more information.\"\n",
Expand Down Expand Up @@ -301,9 +299,7 @@
"source = intake.open_csv('inventory.csv',\n",
" csv_kwargs={'keep_default_na': False})\n",
"source.name = 'data_dictionary'\n",
"source.description = 'Describes the data in the hrrrzarr source'\n",
"\n",
"source.read()"
"source.description = 'Describes the data in the hrrrzarr source'"
]
},
{
Expand Down Expand Up @@ -463,7 +459,7 @@
},
"outputs": [],
"source": [
"cat.data_dictionary.read()"
"cat.data_dictionary"
]
},
{
Expand Down Expand Up @@ -520,7 +516,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.5"
"version": "3.12.2"
},
"nbdime-conflicts": {
"local_diff": [
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 d716cdf

Please sign in to comment.