Skip to content

Make methods and attributes linkable - #1189

Merged
st0012 merged 2 commits into
masterfrom
make-content-linkable
Oct 10, 2024
Merged

st0012 merged 2 commits into
masterfrom
make-content-linkable

Conversation

@st0012

@st0012 st0012 commented Oct 10, 2024 •

Copy link
Copy Markdown
Member
  1. Use the same highlighting color for headers (align with the change in Improve method source toggling #1176)
  2. Make methods and attributes linkable
    • Because methods were already clickable (to toggle source), I added pilcrow to it when hovered to hint that its behaviour has changed as RDoc has been using pilcrow for header links too, like:
      image
Screen.Recording.2024-10-10.at.13.32.51.mov

@st0012

st0012 commented Oct 10, 2024

Copy link
Copy Markdown
Member Author

@nobu Thank you for the prompt review!

@st0012
st0012 merged commit 7757fd9 into master Oct 10, 2024
@st0012
st0012 deleted the make-content-linkable branch October 10, 2024 16:09
matzbot pushed a commit to ruby/ruby that referenced this pull request Oct 10, 2024
(ruby/rdoc#1189)

* Use the same color for both class/module and method highlight

* Make methods and attributes linkable

ruby/rdoc@7757fd9fe4
@st0012 st0012 added this to the v6.8.0 milestone Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants