-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Context
When trying to implement the disable of the search following this:
https://squidfunk.github.io/mkdocs-material/plugins/search/#config.enabled
It does not work as described in documentation.
Bug description
I am trying yo disable the search, and I do not have any other plugins enabled.
So I decided to use inside mkdocs.yml
:
plugins:
- search:
enabled: false
When I try the mkdocs serve
this error 404 is shown:
And search is still there as you can see in my following image. (Not only with mkdocs serve, also in Vercel deployment):
Nevertheless I found a trick to make it work, and it is to put an empty plugins in mkdocs.yml
:
plugins: []
Related links
Reproduction
9.6.10-search-enabled-not-working.zip
Steps to reproduce
- try to disable search as explained above
- mkdocs serve
- the search is still there and error is shown in logging
Browser
Chrome
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open