codox icon indicating copy to clipboard operation
codox copied to clipboard

Make highlighting distinguish between protocols and functions

Open danielcompton opened this issue 8 years ago • 1 comments

When scrolling through the docs at http://andrewmcveigh.github.io/cljs-time/latest/cljs-time.core.html, I noticed that the sidebar flickers when you are scrolling around at the point of period. It looks like this is because Codox is trying to scroll the user to the protocol definition, rather than the function with the same name. Possibly the anchors for protocols could have a unique extension to them to differentiate them from functions?

screenshot of safari technology preview 2-03-17 10-36-29 am

danielcompton avatar Mar 01 '17 21:03 danielcompton

Looks like this is caused because the var link loses the ending dash. It's not anything to do with functions vs. protocols per se.

weavejester avatar Jun 15 '17 20:06 weavejester