Quansight-Labs / czi-scientific-python-mgmt

🐍 Top level project management for Scientific-Python CZI grant at Labs
https://github.com/orgs/Quansight-Labs/projects/11?query=is%3Aopen+sort%3Aupdated-desc
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

[S] Sphinx-copybutton has two tooltips (custom and native) #100

Open gabalafou opened 5 months ago

Carreau commented 4 months ago

This appear to be on purpose and is not a native tooltip. It is a title for the SVG element:

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/title (tl;dr: short desc of the icon)

So it is meant as a description of the svg icon, it happen to be a native tooltip on some browsers.

I think maybe we can use desc (long desc of the icon) instead of title, which would lead to no tooltip.

Carreau commented 4 months ago

There is already an upstream issue: https://github.com/executablebooks/sphinx-copybutton/issues/200

trallard commented 2 months ago

Not planned as copy-button is not a core dep for PST