From b685f0336d786655936fcd668140b1927609cad5 Mon Sep 17 00:00:00 2001 From: wenzexu Date: Tue, 11 Jun 2024 13:59:09 +1000 Subject: [PATCH] docs: Update mkdocs.yml and requirements.txt for search plugin configuration --- mkdocs.yml | 3 ++- requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/mkdocs.yml b/mkdocs.yml index 417e8cd..6bd44ed 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -118,7 +118,8 @@ markdown_extensions: class: mermaid format: !!python/name:pymdownx.superfences.fence_code_format plugins: - - search + - search: + separator: '[\s\u200b\-]' - open-in-new-tab - glightbox nav: diff --git a/requirements.txt b/requirements.txt index 70c59e1..27fd274 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ mkdocs-material mkdocs-open-in-new-tab -mkdocs-glightbox \ No newline at end of file +mkdocs-glightbox +jieba \ No newline at end of file