apenwarr / mkdocs-exclude

A mkdocs plugin that lets you exclude files or trees from your output.
Apache License 2.0
85 stars 10 forks source link

Using exclude plugin removes search #8

Open matiaslopez opened 3 years ago

matiaslopez commented 3 years ago

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.

natcl commented 2 years ago

I have the same issue....

natcl commented 2 years ago

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.

thetanil commented 2 years ago

@natcl thanks that works:

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