mdBook/tests/dummy_book/src
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
..
first Recursively apply replace_all() when running the links preprocessor (#564) 2018-01-22 06:44:28 +08:00
SUMMARY.md Recursively apply replace_all() when running the links preprocessor (#564) 2018-01-22 06:44:28 +08:00
conclusion.md Search with Elasticlunr, updated (#604) 2018-03-07 21:02:06 +08:00
example.rs Added a test to make sure you can include rust files in chapters 2017-12-10 22:59:35 +11:00
intro.md Regression tests (#422) 2017-11-16 15:51:12 +08:00
second.md Added a test to make sure you can include rust files in chapters 2017-12-10 22:59:35 +11:00