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
Ability to search jsdoc page for classes #928
Comments
Since I and others feel that using a package-based tree instead of a flat list of classes and interfaces creates as many problems as it solves, I'd like to propose the following search based solution to item 2 above:
|
@fauna5 & @bit-shifter: what do you think about this proposal? |
For our docs we use Google Custom search:
It's purely JavaScript-based so we could use that? It could then also integrate content from other sources such as the docs on the main site. See: There's probably a way to make the first tab only show API Docs and another tab showing results from elsewhere. |
Hi @leggetter, this proposal isn't for document search, but instead describes a mechanism to limit what's shown in the index pane without using a tree, as is normally done for API docs. |
@dchambers is this now done and ready for test? |
This is done and works as expected in chrome and firefox. A couple of minor problems with IE:
These are super low priority - anyone think these are worth fixing given that they only appear in IE? |
Dom is about to checkin a fix for the second issue mentioned above. |
Issue 2 fixed by #978 |
@thecapdan: The placeholder bug is fixed by #978. |
@thecapdan I've updated #978 to use a new placeholder shim that doesn't break the 'cross' button, and which has zero dependencies. |
Thanks. Tested - placeholder text now appears in IE9. There's a super minor issue where the plaeholder text does not appear until you click away. But for the purposes of this issue we can consider it done |
Now that the jsdoc page no longer uses a tree, this makes class discovery more difficult in the case where the developer doesn't know the name of the class they are looking for. There are two ways of dealing with this problem:
I suspect the first option is probably the most useful, since packages aren't really designed as a discovery mechanism, but having a solution for the second option could be useful too.
The text was updated successfully, but these errors were encountered: