Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
Just The Docs Static
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAGO
Documentation
Just The Docs Static
Commits
0513c193
Unverified
Commit
0513c193
authored
4 years ago
by
Patrick Marsceill
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Tweak search to make it less bulky
parent
1f30d6bf
No related branches found
Branches containing commit
Tags
v0.3.2
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
_config.yml
+3
-3
3 additions, 3 deletions
_config.yml
with
3 additions
and
3 deletions
_config.yml
+
3
−
3
View file @
0513c193
...
@@ -41,13 +41,13 @@ search:
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment