Skip to content

Commit 4adff15

Browse files
committed
πŸ“š DOCS: Add badge
1 parent 916576f commit 4adff15

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# sphinx-tippy
22

3+
![GitHub Repo stars](https://img.shields.io/github/stars/chrisjsewell/sphinx-tippy?label=Like%20and%20Share%21&style=social)
4+
35
Get rich tool tips in your sphinx documentation!
46

57
See the documentation for details.

β€Ždocs/index.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Sphinx Tippy
22

3+
![GitHub Repo stars](https://img.shields.io/github/stars/chrisjsewell/sphinx-tippy?label=Like%20and%20Share%21&style=social)
4+
35
Get rich hover tips in your sphinx documentation.
46

57
[**Hover on me!**](https://atomiks.github.io/tippyjs)

β€Žsrc/sphinx_tippy.pyβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ def collect_tips(
304304
# we also add a unique ID to the path,
305305
# which is in order to avoid browsers using old cached versions
306306
# lets also remove any old versions of the file when running rebuilds
307+
# TODO ideally here, we would just add a query string to the script load
308+
# see: https://github.com/sphinx-doc/sphinx/issues/11133
307309
parts = pagename.split("/")
308310
for old_path in Path(app.outdir, "_static", "tippy", *parts).parent.glob(
309311
f"{parts[0]}.*.js"

0 commit comments

Comments
Β (0)