Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Open WIN Community
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
open-science
community
Open WIN Community
Commits
2ef00290
"docs/gitlab/repo-include.md" did not exist on "f2baa382ea5ee5e0183aa5cf8ad63a429e5e34b3"
Commit
2ef00290
authored
5 years ago
by
Silvio Giebl
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation for search configurations
parent
ff305527
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_config.yml
+5
-5
5 additions, 5 deletions
_config.yml
docs/configuration.md
+6
-3
6 additions, 3 deletions
docs/configuration.md
with
11 additions
and
8 deletions
_config.yml
+
5
−
5
View file @
2ef00290
...
...
@@ -27,11 +27,11 @@ exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "pac
# Enable or disable the site search
search_enabled
:
true
search
:
heading_level
:
2
preview_words_before
:
5
preview_words_after
:
10
rel_url
:
false
tokenizer_separator
:
/[\s/]+/
#
Set the search token separator
for hyphenated
-word
search
heading_level
:
2
# Split documents into sections that can be individually searched
preview_words_before
:
5
# Maximum amount of words to display before a matched word in the preview
preview_words_after
:
10
# Maximum amount of words to display after a matched word in the preview
rel_url
:
false
# Include the relative url in the search: true (default) or false
tokenizer_separator
:
/[\s/]+/
#
Enable support
for hyphenated search
words
# Enable or disable heading anchors
heading_anchors
:
true
...
...
This diff is collapsed.
Click to expand it.
docs/configuration.md
+
6
−
3
View file @
2ef00290
...
...
@@ -36,9 +36,12 @@ logo: "/assets/images/just-the-docs.png"
# Supports true (default) or false
search_enabled
:
true
# Enable support for hyphenated search words:
search_tokenizer_separator
:
/[\s/]+/
search
:
heading_level
:
2
# Split documents into sections that can be individually searched
preview_words_before
:
5
# Maximum amount of words to display before a matched word in the preview
preview_words_after
:
10
# Maximum amount of words to display after a matched word in the preview
rel_url
:
false
# Include the relative url in the search: true (default) or false
tokenizer_separator
:
/[\s/]+/
# Enable support for hyphenated search words
```
## Aux links
...
...
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