diff --git a/doc/conf.py b/doc/conf.py index 3fa7a88..3d5b479 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -64,7 +64,6 @@ # HTML output configuration # ----------------------------------------------------------------------------- html_title = f'{project} {version}' -html_logo = "_static/logo.png" html_favicon = "_static/favicon.png" html_last_updated_fmt = "%b %d, %Y" html_copy_source = True diff --git a/doc/index.rst b/doc/index.rst index d34e36a..a5230fd 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -6,7 +6,7 @@ :padding: 0 0 0 0 .. grid-item:: - :columns: 12 12 12 12 + :columns: 12 8 8 8 .. raw:: html @@ -16,6 +16,13 @@ Analyze Landsat remote sensing images using xarray + .. grid-item:: + :columns: 12 4 4 4 + + .. image:: ./_static/logo.svg + :width: 200px + :class: sd-m-auto dark-light + **xlandsat** is Python library for loading and analyzing Landsat scenes downloaded from `USGS EarthExplorer `__ with diff --git a/env/requirements-docs.txt b/env/requirements-docs.txt index 0a1742a..8933143 100644 --- a/env/requirements-docs.txt +++ b/env/requirements-docs.txt @@ -1,9 +1,8 @@ # Requirements for building the documentation -sphinx==4.5.* -sphinx-book-theme==0.3.* +sphinx==7.2.* +sphinx-book-theme==1.1.* sphinx-copybutton==0.5.* -jupyter-sphinx==0.4.* -sphinx-design==0.1.* -myst-parser==0.15.* +sphinx-design==0.5.* +jupyter-sphinx==0.5.* matplotlib ipykernel diff --git a/environment.yml b/environment.yml index 0d81ef3..63299a9 100644 --- a/environment.yml +++ b/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge - defaults dependencies: - - python==3.10 + - python==3.12 - pip - make # Run @@ -20,12 +20,11 @@ dependencies: - pytest-cov - coverage # Documentation - - sphinx==4.5.* - - sphinx-book-theme==0.3.* + - sphinx==7.2.* + - sphinx-book-theme==1.1.* - sphinx-copybutton==0.5.* - - jupyter-sphinx==0.4.* - - sphinx-design==0.1.* - - myst-parser==0.15.* + - sphinx-design==0.5.* + - jupyter-sphinx==0.5.* - matplotlib - ipykernel # Style