You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check the size of the search map that’s generated. If it’s a huge increase, we might want to just index the first part of the signature, e.g. canViewModel(element) -> canViewModel [we might want to do this anyway?]
For now, I don’t think we need to show signatures as search results, just show the page as a result when you search for a signature it contains. It might be a nice improvement in the future to show the signature as a result and link directly to it.
The text was updated successfully, but these errors were encountered:
As a user, I’d like to search for
canViewModel
and get https://canjs.com/doc/can-view-model.html as a result.This could be accomplished right now by indexing API signatures.
Here’s what I think needs to be done:
searchObj
(I’m assuming thedocMap
already has these signatures)canViewModel(element)
->canViewModel
[we might want to do this anyway?]bit-docs-html-canjs/static/search-logic.js
Line 5 in 6d7825f
For now, I don’t think we need to show signatures as search results, just show the page as a result when you search for a signature it contains. It might be a nice improvement in the future to show the signature as a result and link directly to it.
The text was updated successfully, but these errors were encountered: