orzih / mkdocs-with-pdf

Generate a single PDF file from MkDocs repository.
MIT License
324 stars 76 forks source link

when with-pdf is enabled, mkdocs site's search box is gone #125

Closed tbswork1 closed 1 year ago

tbswork1 commented 1 year ago

when I remove with-pdf, the search box is back again.

anb0s commented 1 year ago

adding plugin: with-pdf section removes implicit defined search plugin

plugins:
  with-pdf:

always define the search plugin explicitly

plugins:
  search:
    indexing: 'full'
anb0s commented 1 year ago

Note: If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set, but now you have to enable it explicitly.

tbswork1 commented 1 year ago

It works. Thanks.