Skip to content
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
9 changes: 8 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ def setup(app):

intersphinx_mapping = intersphinx()
ogp_social_cards = {"enable": False} # needs matplotlib, and the pages have no card artwork
# Link previews (Slack, X): the site's PNG social card, since previews don't render the SVG logo, and descriptions
# sized for previews. twitter:card isn't emitted by sphinxext-opengraph, so it goes in as a custom tag.
ogp_site_url = "https://spatialdata-db.readthedocs.io/en/latest/"
ogp_image = f"{SITE_URL}/og.png" # the site's card; on www once SITE_URL moves there
ogp_image_alt = "The SpatialData-DB logo and name"
ogp_description_length = 150
ogp_custom_meta_tags = ['<meta name="twitter:card" content="summary_large_image" />']
xref_overrides = {"pandas.core.series.Series": "pandas.Series"}
nitpick_ignore = [
# Internal classes that appear in signatures but are not exported from `sddb`.
Expand All @@ -75,7 +82,7 @@ def setup(app):
("py:class", "integer -- return first index of value."),
]

html_logo = "_static/logo.svg" # og:image and the fallback; the sidebar shows the wordmarks below
html_logo = "_static/logo.svg" # the sidebar fallback (og:image is ogp_image above); the sidebar shows the wordmarks below
html_favicon = "_static/logo.svg"
html_static_path = ["_static"]
html_css_files = ["css/sddb.css"]
Expand Down
4 changes: 4 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
og:description: A catalog of public spatial omics datasets as SpatialData Zarr stores, with a Python client to query, download and load them.
---

# spatialdata-db: spatial omics datasets as SpatialData

spatialdata-db is a catalog of public spatial omics datasets, from Visium and Xenium to MERSCOPE, CosMx and mass spectrometry imaging.
Expand Down
Loading