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

Add the logo #373

Merged
merged 9 commits into from
Dec 13, 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
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# The `pyrealm` package

<!-- markdownlint-disable-next-line MD041 MD033 -->
<img
alt="The pyrealm logo: a green leaf over the shining sun."
src="/docs/source/_static/images/pyrealm_logo.png" width=50%>

---

[![PyPI - Version](https://img.shields.io/pypi/v/pyrealm)](https://pypi.org/project/pyrealm/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pyrealm)
Expand Down
4 changes: 0 additions & 4 deletions docs/source/_static/.gitignore

This file was deleted.

Binary file added docs/source/_static/images/pyrealm_favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/pyrealm_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/source/_static/images/pyrealm_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
154 changes: 154 additions & 0 deletions docs/source/_static/images/pyrealm_logo_master.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
# -- Project information -----------------------------------------------------

project = "pyrealm: Ecosystem Models in Python"
html_logo = "_static/images/pyrealm_logo_white_background.png"
html_favicon = "_static/images/pyrealm_favicon.png"

current_year = datetime.today().strftime("%Y")
copyright = "2020-" + current_year + ", Pyrealm Developers"
Expand Down Expand Up @@ -213,11 +215,11 @@ class MyReferenceStyle(AuthorYearReferenceStyle):

# +
html_theme_options = {
"logo_only": False,
"display_version": True,
"logo_only": True,
"version_selector": True,
"prev_next_buttons_location": "top",
"style_external_links": False,
"style_nav_header_background": "grey",
"style_nav_header_background": "white",
# Toc options
"collapse_navigation": False,
"sticky_navigation": True,
Expand Down
14 changes: 10 additions & 4 deletions docs/source/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ language_info:
version: 3.11.9
---

# The `pyrealm` package
<!-- markdownlint-disable-next-line MD041-->
```{image} /_static/images/pyrealm_logo.png
:width: 50%
:align: center
:alt: The pyrealm logo: a green leaf over the shining sun.
```

The `pyrealm` package provides Python implementations of models of plant productivity
and demography. The package is in active development and currently provides the
following modules:
and demography.

# The `pyrealm` package

## Module overview
The package is in active development and currently provides the following modules:

The `core` module
: Contains fundamental utilities and physics functionality shared across the
Expand Down
67 changes: 47 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ netcdf4 = "^1.6.3"
pydocstyle = "^6.1.1"
sphinx = "^7.0.0"
sphinx-external-toc = "^1.0.0"
sphinx-rtd-theme = "^2.0.0"
sphinx-rtd-theme = "^3.0.0"
sphinxcontrib-bibtex = "^2.6.1"
xarray = "^2024.6.0"

Expand Down
Loading