|
58 | 58 | "sphinx.ext.githubpages", |
59 | 59 | "sphinx_autodoc_typehints", |
60 | 60 | "sphinx.ext.extlinks", |
61 | | - "readthedocs_ext.readthedocs", |
62 | 61 | "sphinx.ext.imgconverter", |
63 | 62 | "sphinx_copybutton", |
64 | 63 | "nbsphinx", |
65 | 64 | "scanpydoc", |
66 | 65 | "sphinx.ext.linkcode", |
67 | | - "sphinx_copybutton", |
| 66 | + "sphinx_tabs.tabs", |
| 67 | + "sphinxext.opengraph", |
68 | 68 | ] |
69 | 69 |
|
70 | 70 | autosummary_generate = True |
|
130 | 130 | # List of patterns, relative to source directory, that match files and |
131 | 131 | # directories to ignore when looking for source files. |
132 | 132 | # This pattern also affects html_static_path and html_extra_path. |
133 | | -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "._*", "*.ipynb_checkpoints"] |
| 133 | +exclude_patterns = [ |
| 134 | + "_build", |
| 135 | + "Thumbs.db", |
| 136 | + ".DS_Store", |
| 137 | + "._*", |
| 138 | + "*.ipynb_checkpoints", |
| 139 | + "release-notes/blank.md", |
| 140 | +] |
134 | 141 |
|
135 | 142 |
|
136 | 143 | # -- Options for HTML output ------------------------------------------------- |
|
152 | 159 | html_css_files = ["_static/css/override.css"] |
153 | 160 | html_title = "rapids-singlecell" |
154 | 161 |
|
| 162 | +# OpenGraph metadata for social media previews |
| 163 | +ogp_site_url = "https://rapids-singlecell.readthedocs.io/" |
| 164 | +ogp_site_name = "rapids-singlecell" |
| 165 | +ogp_image = "_static/logo_RTD.svg" |
| 166 | + |
155 | 167 | qualname_overrides = { |
156 | 168 | "numpy.bool_": "numpy.bool", # Since numpy 2, numpy.bool is the canonical dtype |
157 | 169 | } |
|
163 | 175 | ("py:class", "anndata._core.views.ArrayView"), |
164 | 176 | ("py:class", "anndata._core.raw.Raw"), |
165 | 177 | ("py:class", "scanpy._utils.Empty"), |
| 178 | + ("py:data", "typing.Union"), |
166 | 179 | *[ |
167 | 180 | ("py:class", f"anndata._core.aligned_mapping.{cls}{kind}") |
168 | 181 | for cls in "Layers AxisArrays PairwiseArrays".split() |
|
0 commit comments