mdBook/tests
Matt Ickstadt b2ad669c61 Search with Elasticlunr, updated (#604)
* Add search with elasticlunr.js

This commit adds search functionality to mdBook, based on work done by @phaiax. The in-browser search code uses elasticlunr.js to execute the search, using an index generated at book build time by elasticlunr-rs.

* Add generator comment
Someone on Reddit was wondering how the rust book was generated and said they checked the source. Thought I'd put this here. Might be a good idea to have a little footer "made with mdBook", but this'll do for now.

* Remove search/editor file override behavior

* Use for loop for book iterator

* Improve HTML regex

* Fix search CORS in file URIs

* Use ammonia to sanitize HTML

* Filter html5ever log messages
2018-03-07 21:02:06 +08:00
..
dummy_book Search with Elasticlunr, updated (#604) 2018-03-07 21:02:06 +08:00
summary_md_files Rewrote summary parser from a state machine to use recursive descent 2017-12-11 15:17:20 +11:00
alternate_backends.rs Search with Elasticlunr, updated (#604) 2018-03-07 21:02:06 +08:00
init.rs Add support for alternative backends (#507) 2018-01-07 22:10:48 +08:00
parse_existing_summary_files.rs Updated dependencies and made logging more readable 2017-12-30 18:43:46 +08:00
rendered_output.rs Search with Elasticlunr, updated (#604) 2018-03-07 21:02:06 +08:00
searchindex_fixture.json Search with Elasticlunr, updated (#604) 2018-03-07 21:02:06 +08:00
testing.rs Use Arc instead of lazy_static for dummy preprocessor 2018-01-17 19:02:25 +00:00