-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Let's say you wanna look up how to pass a custom backtrace to Kernel#fail
.
First:
You go to the website and enter a search string like "fail" into the search bar, then click on "Kernel#fail". This page will then open. It will not scroll to Kernel#wait
. Instead, it stops scrolling somewhere around Kernel#exec
. To "fix" it, you have to enter the same search string in the search bar at the top, click on "Kernel#fail" again, and THEN it jumps to the method.
Second:
You might think "Just Ctrl-F and look for #fail
on the Kernel
page?". Nope. That does not work either, because for some reason in the navigation on the left, all methods have a SPACE between the #
and the method name, like # fail
. And in the main content of the page, the methods DON'T have a #
at all.
P.S. This visual space between #
and the method name can be achieved with CSS and multiple <span>
elements. I've done it before for phone numbers so users can still find the phone numbers without having to enter spaces but still have them look nice on the page.