From 75dac0be8cbaae571dad75354c02e3cd582772ef Mon Sep 17 00:00:00 2001 From: kurokobo <2920259+kurokobo@users.noreply.github.com> Date: Mon, 19 Feb 2024 23:01:27 +0900 Subject: [PATCH] docs: enable search feature --- mkdocs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mkdocs.yml b/mkdocs.yml index d2b8f6fcd..f8c7f8a9a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -18,6 +18,9 @@ theme: - navigation.indexes - navigation.tracking - toc.integrate + - search.highlight + - search.share + - search.suggest palette: - media: "(prefers-color-scheme: light)" primary: teal @@ -92,7 +95,8 @@ exclude_docs: plugins: - autorefs - markdown-exec - - search + - material/search: + separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])' - mkdocstrings: handlers: python: