squidfunk / mkdocs-material

Documentation that simply works
https://squidfunk.github.io/mkdocs-material/
MIT License
19.27k stars 3.41k forks source link

Search is not present when privacy plugin is enabled #7053

Closed ankudinov closed 3 months ago

ankudinov commented 3 months ago

Context

No response

Bug description

When privacy plugin is enabled, search field is not present on MkDocs generated site. md-search is not present int the source code. Please check this repo for details. The repository is very slim, all non-essential features are removed and it can be adjusted if required for troubleshooting.

Related links

Reproduction

plugins:
  - privacy

Steps to reproduce

Check this mkdocs.yml

Browser

No response

Before submitting

alexvoss commented 3 months ago

This behaviour is perhaps unfortunate but documented. As soon as you add plugins to the mkdocs.yml, the search plugin must also be added in. That's any plugins, not just the privacy plugin.

alexvoss commented 3 months ago

works ad documented