mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-29 17:22:37 -04:00
Improved documentation and fixed search reset
This commit is contained in:
@@ -102,7 +102,7 @@ export class SearchIndex {
|
||||
*
|
||||
* A mapping of URLs (including hash fragments) to the actual articles and
|
||||
* sections of the documentation. The search document mapping must be created
|
||||
* regardless of whether the index was prebuilt or not, as lunr itself will
|
||||
* regardless of whether the index was prebuilt or not, as `lunr` itself will
|
||||
* only store the actual index.
|
||||
*/
|
||||
protected documents: SearchDocumentMap
|
||||
@@ -113,7 +113,7 @@ export class SearchIndex {
|
||||
protected highlight: SearchHighlightFactoryFn
|
||||
|
||||
/**
|
||||
* The lunr search index
|
||||
* The `lunr` search index
|
||||
*/
|
||||
protected index: lunr.Index
|
||||
|
||||
|
||||
Reference in New Issue
Block a user