-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable copy button for signatures #2577
Conversation
@@ -95,7 +95,6 @@ open class HtmlRenderer( | |||
} | |||
node.dci.kind in setOf(ContentKind.Symbol) -> div("symbol $additionalClasses") { | |||
childrenCallback() | |||
if (node.hasStyle(TextStyle.Monospace)) copyButton() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the only real change in this PR. The rest is either formatting or to make tests pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suppose some styles, that are related to symbol
, are redundant.
Indeed, hopefully I got all of it |
And here |
Are you sure you're looking at the right commit? Or maybe the link is wrong? See https://github.com/Kotlin/dokka/pull/2577/files#diff-316e3e9b3d50ff73dcc848844e5eaac72b2d38b7f1e84dca8a383a8b2c5a162c |
My fault, the link is wrong.
|
Jesus :) Yeah, removed |
Copy button itself and the script for it are still present for two scenarios:
See #2576