mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06:00
Tweak search to make it less bulky
This commit is contained in:
parent
1f30d6bf78
commit
0513c1930a
@ -41,13 +41,13 @@ search:
|
|||||||
heading_level: 2
|
heading_level: 2
|
||||||
# Maximum amount of previews per search result
|
# Maximum amount of previews per search result
|
||||||
# Default: 3
|
# Default: 3
|
||||||
previews: 3
|
previews: 2
|
||||||
# Maximum amount of words to display before a matched word in the preview
|
# Maximum amount of words to display before a matched word in the preview
|
||||||
# Default: 5
|
# Default: 5
|
||||||
preview_words_before: 5
|
preview_words_before: 3
|
||||||
# Maximum amount of words to display after a matched word in the preview
|
# Maximum amount of words to display after a matched word in the preview
|
||||||
# Default: 10
|
# Default: 10
|
||||||
preview_words_after: 10
|
preview_words_after: 3
|
||||||
# Set the search token separator
|
# Set the search token separator
|
||||||
# Default: /[\s\-/]+/
|
# Default: /[\s\-/]+/
|
||||||
# Example: enable support for hyphenated search words
|
# Example: enable support for hyphenated search words
|
||||||
|
Loading…
x
Reference in New Issue
Block a user