ministryofjustice / mkdocs-tech-docs-template

Build flexible technical documentation with a GOV.UK style using MkDocs
https://ministryofjustice.github.io/mkdocs-tech-docs-template/
8 stars 4 forks source link

Add client-side search support #10

Closed SoumayaMauthoorMOJ closed 1 year ago

SoumayaMauthoorMOJ commented 1 year ago

https://www.mkdocs.org/dev-guide/themes/#search-and-themes

FISHMANPET commented 1 year ago

I'm working on something very similair to you - a customized version of mkdocs-material to be used with my orgs branding standards, and I too came across search not working. If I figure out what's needed, I'll share it here as well.

SoumayaMauthoorMOJ commented 1 year ago

@FISHMANPET thanks but fixed it by updating mkdocs config:

plugins:
  - material/search

I should have closed the issue before my bad :-)

FISHMANPET commented 1 year ago

No problem, thanks! I did that and it worked just fine :)