mkdocs-material/docs/plugins/search.md
Martin B c44ea77172 Separated plugin documentation from extensions (#1390)
* Create minify-html.md

* Rename docs/minify-html.md to docs/plugins/minify-html.md

* Create search.md

* Update and rename docs/extensions/revision-date.md to docs/plugins/revision-date.md

* Update getting-started.md

* Update mkdocs.yml
2019-12-18 17:13:17 +01:00

660 B

Search

MkDocs enables the search plugin by default if there is no plugins entry set in mkdocs.yml. If additional plugins are installed, the search plugin must be added to your mkdocs.yml. See Site search for more information about how to use search with Material.

Installation

Add the following lines to your mkdocs.yml:

plugins:
  - search

!!! warning "Remember to re-add the search plugin"

If you have no `plugins` entry in your config file yet, you'll likely also
want to add the `search` plugin. MkDocs enables it by default if there is
no `plugins` entry set.