mkdocs-exclude icon indicating copy to clipboard operation
mkdocs-exclude copied to clipboard

Using exclude plugin removes search

Open matiaslopez opened this issue 4 years ago • 3 comments

Hi! I found this plugin great, but when including it it removes the search field from menu

With plugin: image

without plugin: image

Running: mkdocs -V mkdocs, version 1.2.1 from ~/.local/lib/python3.8/site-packages/mkdocs (Python 3.8)

Thanks, Matías.

matiaslopez avatar Jul 28 '21 21:07 matiaslopez

I have the same issue....

natcl avatar Nov 24 '21 20:11 natcl

Did you try adding the search plugin explicitly ? I think what happens is by default with no plugins declared search is enabled by default, when adding a plugin section you need to explicitly declare it.

natcl avatar Nov 30 '21 02:11 natcl

@natcl thanks that works:

plugins:
    - search: {}
    - exclude:
          glob:
              - draft/*

thetanil avatar May 03 '22 15:05 thetanil