Redoc: Add in-page search with result highlighting (feature request)

Created on 18 May 2016  路  5Comments  路  Source: Redocly/redoc

It would be great to implement an in-page search with results highlighting similar to something available here: http://docs.fidor.de (just enter the word "unique" within the search input field and click on one of the found references)

If you look at http://docs.fidor.de/javascripts/all.js there are a lot of open source JavaScript libraries that helps to implement search and highlight the results, like:

Looks like it is possible to implement an in-page search with support from those libraries that would add a lot of credits to the wonderful ReDoc project! This may become a killing feature of the project ;)

Thank you in advance!

enhancement

Most helpful comment

The feature is implemented now 馃帀 馃殌
@darklynx thanks for patience 馃槀

All 5 comments

P.S. they are using https://github.com/gfranko/jquery.tocify.js for TOC, i'm not sure what is used in ReDoc, but it shouldn't be difficult to expand TOC and include the search results on top: the concept of in-page search implemented by developers of http://docs.fidor.de is really neat.

@darklynx, great idea. We liked it.
It's definitely something to consider for after-1.0 releases.

+1 to this from us at Discourse as well. We're building a new API docs site with ReDoc. Here's the WIP:

http://blakeerickson.com/discourse_api_docs/

Thanks for a great product!

@erlend-sh I have great news: this feature is coming soon. I've already started working on it.

The feature is implemented now 馃帀 馃殌
@darklynx thanks for patience 馃槀

Was this page helpful?
0 / 5 - 0 ratings