Search input is disappeared after update #4850
-
I use mkdocs material+mike+gitlab pages. Unfortunately, after regular update of my documentation on 10th of Jan 2023 the Search field is disappeared from my site. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Thanks for reporting. Might be a bug, might be related to customizations, might be a configuration error. Please first read our upgrade guide if you haven't, and if that doesn't help, follow our bug reporting guide which explains everything you need to know. |
Beta Was this translation helpful? Give feedback.
-
Related issue #4851. After digging through the changes, I found that something in the header partial changed the block is looking for . Please see here, line 139. @squidfunk If you need something to reproduce see my Test-Repo and install mkdocs-material 8.5 / 9 each. |
Beta Was this translation helpful? Give feedback.
-
Had the same problem! @squidfunk Can I suggest you update https://github.com/squidfunk/mkdocs-material/blob/master/docs/setup/setting-up-site-search.md to:
|
Beta Was this translation helpful? Give feedback.
Related issue #4851.
I have the same problem. The upgrade guide references that something in the search changes, but not what to adapt.
After digging through the changes, I found that something in the header partial changed the block is looking for . Please see here, line 139.
@squidfunk
Please add to your upgrade guide (version jump 8 to 9) what exactly to change in the
mkdocs.yml
. I suppose the search plugin must be called differently or something is missing?Tried to fix it by comparing it to mkdocs-material
mkdocs.yml
itself, but couldn't get it working.If you need something to reproduce see my Test-Repo and install mkdocs-material 8.5 / 9 each.