Skip to content

Remove explicit search.lang from language configs - #708

Merged
fredericsimard merged 3 commits into
mainfrom
fix/config-search-lang/2026-08-20
Aug 20, 2026
Merged

Remove explicit search.lang from language configs#708
fredericsimard merged 3 commits into
mainfrom
fix/config-search-lang/2026-08-20

Conversation

@fredericsimard

Copy link
Copy Markdown
Contributor

Remove the per-language search plugin configuration (the lang: list) from German, Korean, Portuguese, and Russian mkdocs.yml and replace it with a simple - search entry. This aligns these configs with others, avoids redundant per-language settings, and relies on the default search plugin behavior. Files changed: config/de/mkdocs.yml, config/ko/mkdocs.yml, config/pt/mkdocs.yml, config/ru/mkdocs.yml.

Remove the per-language `search` plugin configuration (the `lang:` list) from German, Korean, Portuguese, and Russian mkdocs.yml and replace it with a simple `- search` entry. This aligns these configs with others, avoids redundant per-language settings, and relies on the default search plugin behavior. Files changed: config/de/mkdocs.yml, config/ko/mkdocs.yml, config/pt/mkdocs.yml, config/ru/mkdocs.yml.
Remove explicit search.lang blocks from Indonesian and Chinese MkDocs configs because Lunr does not support these languages and the explicit setting caused fallback/warnings. Replace the verbose plugin block with the simple `- search` plugin entry in config/id/mkdocs.yml, config/zh-TW/mkdocs.yml, and config/zh/mkdocs.yml. This keeps behavior identical (fallback to default) while removing misleading/unused config and commented notes.
@fredericsimard fredericsimard self-assigned this Aug 20, 2026
@fredericsimard
fredericsimard merged commit 1005fe0 into main Aug 20, 2026
2 checks passed
@fredericsimard
fredericsimard deleted the fix/config-search-lang/2026-08-20 branch August 20, 2026 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants