File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 6363 "nbsphinx" ,
6464 "scanpydoc" ,
6565 "sphinx.ext.linkcode" ,
66+ "sphinx_tabs.tabs" ,
67+ "sphinxext.opengraph" ,
6668]
6769
68- # Only load readthedocs extension when building on RTD (incompatible with Sphinx 9.x locally)
69- if on_rtd :
70- extensions .append ("readthedocs_ext.readthedocs" )
71-
7270autosummary_generate = True
7371autodoc_member_order = "bysource"
7472autodoc_mock_imports = [
161159html_css_files = ["_static/css/override.css" ]
162160html_title = "rapids-singlecell"
163161
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+
164167qualname_overrides = {
165168 "numpy.bool_" : "numpy.bool" , # Since numpy 2, numpy.bool is the canonical dtype
166169}
Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ doc = [
3737 " nbsphinx>=0.8.12" ,
3838 " myst-nb" ,
3939 " sphinx-design" ,
40+ " sphinx-tabs" ,
41+ " sphinxext-opengraph" ,
4042 " scanpydoc[typehints,theme]>=0.9.4" ,
41- " readthedocs-sphinx-ext" ,
42- " sphinx_copybutton" ,
4343 " dask" ,
4444 " pytest" ,
4545]
You can’t perform that action at this time.
0 commit comments