Skip to content

Commit c03bdea

Browse files
committed
Add sphinx-tippy
Signed-off-by: Cristian Le <[email protected]>
1 parent 76cbc06 commit c03bdea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: docs/conf.py

+7
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
"sphinx_autodoc_typehints",
6868
"conftabs",
6969
"sphinx-jsonschema",
70+
"sphinx_tippy",
7071
]
7172

7273
# Add any paths that contain templates here, relative to this directory.
@@ -94,6 +95,12 @@
9495
"setuptools": ("https://setuptools.pypa.io/en/latest", None),
9596
"hatchling": ("https://hatch.pypa.io/latest", None),
9697
}
98+
tippy_rtd_urls = [
99+
val[0]
100+
for key, val in intersphinx_mapping.items()
101+
# Only works with RTD hosted intersphinx
102+
if key not in ("hatchling",)
103+
]
97104

98105
nitpick_ignore = [
99106
("py:class", "setuptools.dist.Distribution"),

Diff for: pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ docs = [
9797
"sphinx-copybutton",
9898
"sphinx-inline-tabs",
9999
"sphinx-jsonschema",
100+
"sphinx-tippy",
100101
]
101102
wheel-free-setuptools = [
102103
'setuptools>=70.1; python_version>="3.8"',

0 commit comments

Comments
 (0)