feat(search): enable offline search with Lunr.js
- Enable offlineSearch = true for client-side search functionality - Disable Google Custom Search to avoid external API dependency - Provides instant search across all documentation content - Works completely offline without server requirements
This commit is contained in:
parent
1d79ce85a5
commit
76937ccadf
1 changed files with 2 additions and 2 deletions
|
|
@ -112,10 +112,10 @@ url_latest_version = "https://example.com"
|
||||||
github_branch= "main"
|
github_branch= "main"
|
||||||
|
|
||||||
# Google Custom Search Engine ID. Remove or comment out to disable search.
|
# Google Custom Search Engine ID. Remove or comment out to disable search.
|
||||||
gcs_engine_id = "d72aa9b2712488cc3"
|
# gcs_engine_id = "d72aa9b2712488cc3"
|
||||||
|
|
||||||
# Enable Lunr.js offline search
|
# Enable Lunr.js offline search
|
||||||
offlineSearch = false
|
offlineSearch = true
|
||||||
|
|
||||||
# Enable syntax highlighting and copy buttons on code blocks with Prism
|
# Enable syntax highlighting and copy buttons on code blocks with Prism
|
||||||
prism_syntax_highlighting = false
|
prism_syntax_highlighting = false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue