diff --git a/_config.yml b/_config.yml index c840e2a65..fabae92c4 100644 --- a/_config.yml +++ b/_config.yml @@ -5,7 +5,7 @@ title: Pythia Foundations author: the Project Pythia Community logo: images/logos/pythia_logo-white-rtext.svg email: projectpythia@ucar.edu -copyright: '2022' +copyright: '2024' exclude_patterns: - README.md @@ -98,13 +98,15 @@ sphinx: html_theme: sphinx_pythia_theme html_permalinks_icon: '' html_theme_options: - google_analytics_id: 'G-G57FLM9M46' + analytics: + google_analytics_id: 'G-G57FLM9M46' home_page_in_toc: true repository_url: https://github.com/ProjectPythia/pythia-foundations # Online location of your book repository_branch: main # Which branch of the repository should be used when creating links (optional) 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: @@ -118,7 +120,10 @@ sphinx: extra_navbar: | We want your feedback! Fill out this Google Form or see our Contributor's Guide. - logo_link: https://projectpythia.org + logo: + link: https://projectpythia.org + navbar_start: + - navbar-logo navbar_links: - name: Home url: https://projectpythia.org @@ -132,7 +137,14 @@ sphinx: url: https://projectpythia.org/index.html#join-us - name: Blog url: https://projectpythia.org/blog.html + navbar_end: + - navbar-icon-links footer_logos: - NCAR: images/logos/NCAR-contemp-logo-blue.svg + NCAR: images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg Unidata: images/logos/Unidata_logo_horizontal_1200x300.svg UAlbany: images/logos/UAlbany-A2-logo-purple-gold.svg + footer_start: + - footer-logos + - footer-menu + - footer-info + - footer-extra diff --git a/_static/custom.css b/_static/custom.css index 066fde3b2..098336238 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -1,3 +1,10 @@ +.bd-main .bd-content .bd-article-container { + max-width: 100%; /* default is 60em */ +} +.bd-page-width { + max-width: 100%; /* default is 88rem */ +} + kbd { /* Based on: https://dylanatsmith.com/wrote/styling-the-kbd-element */ diff --git a/core/datetime/datetime.ipynb b/core/datetime/datetime.ipynb index b1e970523..4ce443e78 100644 --- a/core/datetime/datetime.ipynb +++ b/core/datetime/datetime.ipynb @@ -240,7 +240,7 @@ "1. the date/time string you wish to parse\n", "2. the format which describes exactly how the date and time are arranged. \n", "\n", - "[The full range of formatting options for strftime() and strptime() is described in the Python documentation](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior). In most cases, finding the correct formatting options inherently takes some degree of experimentation to get right. This is a situation where Python shines; you can use the IPython interpreter, or a Jupyter notebook, to quickly test numerous formatting options. Beyond the official documentation, Google and [Stack Overflow](https://stackoverflow.com/) are your friends in this process. \n", + "[The full range of formatting options for strftime() and strptime() is described in the Python documentation](https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior). In most cases, finding the correct formatting options inherently takes some degree of experimentation to get right. This is a situation where Python shines; you can use the IPython interpreter, or a Jupyter notebook, to quickly test numerous formatting options. Beyond the official documentation, Google and Stack Overflow are your friends in this process. \n", "\n", "After some trial and error (as described above), you can find that, in this example, the format string `'%m/%d/%y %H:%M:%S.%f'` will convert the date and time in the data to the correct format." ] diff --git a/core/xarray/dask-arrays-xarray.ipynb b/core/xarray/dask-arrays-xarray.ipynb index 1aa3b2ea3..4f8e4996f 100644 --- a/core/xarray/dask-arrays-xarray.ipynb +++ b/core/xarray/dask-arrays-xarray.ipynb @@ -662,8 +662,8 @@ " \n", " * [Xarray Docs](https://xarray.pydata.org/)\n", " \n", - "* If you require assistance with a specific issue involving Xarray or Dask, the following links may be of use:\n", - " * [`dask`](http://stackoverflow.com/questions/tagged/dask) tag on Stack Overflow, for usage questions\n", + "* If you require assistance with a specific issue involving Xarray or Dask, the following resources may be of use:\n", + " * Dask tag on StackOverflow, for usage questions\n", " * [github discussions: dask](https://github.com/dask/dask/discussions) for general, non-bug, discussion, and usage questions\n", " * [github issues: dask](https://github.com/dask/dask/issues/new) for bug reports and feature requests\n", " * [github discussions: xarray](https://github.com/pydata/xarray/discussions) for general, non-bug, discussion, and usage questions\n", diff --git a/environment.yml b/environment.yml index cc6dd6eb2..d84da15af 100644 --- a/environment.yml +++ b/environment.yml @@ -9,7 +9,6 @@ dependencies: - nc-time-axis - netcdf4 - numpy - - pip - pre-commit - dask - pyproj @@ -21,5 +20,4 @@ dependencies: - python-graphviz - graphviz - setuptools>=69.0.3 - - pip: - - sphinx-pythia-theme + - sphinx-pythia-theme diff --git a/images/logos/NCAR-contemp-logo-blue.svg b/images/logos/NCAR-contemp-logo-blue.svg deleted file mode 100644 index 3bcda6351..000000000 --- a/images/logos/NCAR-contemp-logo-blue.svg +++ /dev/null @@ -1 +0,0 @@ -NCAR-contemp-logo-blue.a diff --git a/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg b/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg new file mode 100644 index 000000000..538f8ec9f --- /dev/null +++ b/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg @@ -0,0 +1 @@ +