sphinx-material icon indicating copy to clipboard operation
sphinx-material copied to clipboard

headerlinks don't show for autodoc entries

Open goodmami opened this issue 5 years ago • 2 comments

The link pilcrow on headers shows when the cursor hovers on the header, but it does not show for things like Python function generated by autodoc. For instance, see https://bashtage.github.io/sphinx-material/pymethod.html#send_message, there is a pilcrow after the parameter list of the send_message function, but its opacity is 0 and it is not adjusted when the cursor hovers.

I think this is just due to a missing or overly-constrained CSS rule.

goodmami avatar Sep 10 '20 08:09 goodmami

Agree with this. Should behave like the one below.

bashtage avatar Sep 10 '20 09:09 bashtage

This is why it shows up in a heading:

.md-typeset h2[id] .headerlink:focus, .md-typeset h2[id]:hover .headerlink, .md-typeset h2[id]:target .headerlink

bashtage avatar Sep 14 '20 11:09 bashtage