diff --git a/README.md b/README.md index 19b508de..1217c103 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![SpatialData banner](https://github.com/scverse/spatialdata/blob/main/docs/_static/img/spatialdata_horizontal.png?raw=true) +![SpatialData banner](https://github.com/scverse/spatialdata/blob/main/docs/_static/img/spatialdata_horizontal.svg?raw=true) # spatialdata-plot: rich static plotting from SpatialData objects diff --git a/docs/_static/img/spatialdata_horizontal.png b/docs/_static/img/spatialdata_horizontal.png index 5683233e..30b14a7e 100644 Binary files a/docs/_static/img/spatialdata_horizontal.png and b/docs/_static/img/spatialdata_horizontal.png differ diff --git a/docs/_static/img/spatialdata_horizontal.svg b/docs/_static/img/spatialdata_horizontal.svg new file mode 100644 index 00000000..78651878 --- /dev/null +++ b/docs/_static/img/spatialdata_horizontal.svg @@ -0,0 +1,109 @@ + + + SpatialData + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SpatialData + + + + diff --git a/docs/conf.py b/docs/conf.py index b927ef31..c498795e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -135,7 +135,9 @@ html_static_path = ["_static"] html_css_files = ["css/custom.css"] html_title = project -html_logo = "_static/img/spatialdata_horizontal.png" +html_logo = "_static/img/spatialdata_horizontal.svg" +# sphinxext-opengraph social cards cannot use an SVG, so keep the PNG for them +ogp_social_cards = {"image": "_static/img/spatialdata_horizontal.png"} html_theme_options = { "repository_url": repository_url,