forked from laptopwiki/laptopwiki.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
229 lines (203 loc) · 7.37 KB
/
_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole site, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing these this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Laptop Wiki
description: Extensive documentation for all things laptops.
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://laptopwiki.github.io" # the base hostname & protocol for your site, e.g. http://example.com
permalink: pretty
exclude: ["node_modules/", "*.gemspec", "*.gem", "Gemfile", "Gemfile.lock", "package.json", "package-lock.json", "script/", "LICENSE.txt", "lib/", "bin/", "README.md", "Rakefile"]
# Set a path/url to a logo that will be displayed instead of the title
#logo: "/assets/images/just-the-docs.png"
# Define Jekyll collections
collections:
# Define a collection named "guides", its documents reside in the "_guides" directory
guides:
permalink: "/:collection/:path/"
output: true
# Define a collection named "laptops", its documents reside in the "_laptops" directory
laptops:
permalink: "/:collection/:path/"
output: true
# Define a collection named "contribute", its documents reside in the "_contribure" directory
contribute:
permalink: "/:collection/:path/"
output: true
just_the_docs:
# Define which collections are used in just-the-docs
collections:
# Reference the "guides" collection
guides:
# Give the collection a name
name: Guides
# Exclude the collection from the navigation
# Supports true or false (default)
nav_exclude: false
# Exclude the collection from the search
# Supports true or false (default)
search_exclude: false
# Reference the "laptops" collection
laptops:
# Give the collection a name
name: Laptops
# Exclude the collection from the navigation
# Supports true or false (default)
nav_exclude: false
# Exclude the collection from the search
# Supports true or false (default)
search_exclude: false
# Reference the "contribute" collection
contribute:
# Give the collection a name
name: Contribute
# Exclude the collection from the navigation
# Supports true or false (default)
nav_exclude: false
# Exclude the collection from the search
# Supports true or false (default)
search_exclude: false
# Enable or disable the site search
# Supports true (default) or false
search_enabled: true
search:
# Split pages into sections that can be searched individually
# Supports 1 - 6, default: 2
heading_level: 2
# Maximum amount of previews per search result
# Default: 3
previews: 2
# Maximum amount of words to display before a matched word in the preview
# Default: 5
preview_words_before: 3
# Maximum amount of words to display after a matched word in the preview
# Default: 10
preview_words_after: 3
# Set the search token separator
# Default: /[\s\-/]+/
# Example: enable support for hyphenated search words
tokenizer_separator: /[\s/]+/
# Display the relative url in search results
# Supports true (default) or false
rel_url: true
# Enable or disable the search button that appears in the bottom right corner of every page
# Supports true or false (default)
button: false
# Enable or disable heading anchors
heading_anchors: true
# Aux links for the upper right navigation
aux_links:
"Laptop Wiki on GitHub":
- "//github.com/laptopwiki/laptopwiki.github.io"
# Makes Aux links open in a new tab. Default is false
aux_links_new_tab: false
# Sort order for navigation links
# nav_sort: case_insensitive # default, equivalent to nil
nav_sort: case_sensitive # Capital letters sorted before lowercase
# Caching navigation links
nav_cache: true # default, equivalent to nil
# Footer content
# appears at the bottom of every page's main content
# Back to top link
back_to_top: true
back_to_top_text: "Back to top"
footer_content: ""
# Footer last edited timestamp
last_edit_timestamp: true # show or hide edit time - page must have `last_modified_date` defined in the frontmatter
last_edit_time_format: "%b %e %Y at %I:%M %p" # uses ruby's time format: https://ruby-doc.org/stdlib-2.7.0/libdoc/time/rdoc/Time.html
# Footer "Edit this page on GitHub" link text
gh_edit_link: true # show or hide edit this page link
gh_edit_link_text: "Edit this page on GitHub"
gh_edit_repository: "https://github.com/laptopwiki/laptopwiki.github.io" # the github URL for your repo
gh_edit_branch: "main" # the branch that your docs is served from
# gh_edit_source: docs # the source that your files originate from
gh_edit_view_mode: "tree" # "tree" or "edit" if you want the user to jump into the editor immediately
# Color scheme currently only supports "dark", "light"/nil (default), or a custom scheme that you define
color_scheme: light
toggle_color_scheme: dark # default: nil (no toggle button)
# To display the toggle button only on one page:
toggle_page_url: "/" # default: nil (display on all pages)
# To toggle automatically when the system mode preference changes:
# toggle_auto_mode: true # default: nil (manual toggle)
# To set the button text for toggling and reverting:
# toggle_text_1: "→ ⚫" # default: "→ Dark Mode"
# toggle_text_2: "→ ⚫" # default: "→ Light Mode"
# Google Analytics Tracking (optional)
# e.g, UA-1234567-89
ga_tracking:
ga_tracking_anonymize_ip: true # Use GDPR compliant Google Analytics settings (true/nil by default)
plugins:
- jekyll-seo-tag
- jekyll-include-cache
- jekyll-paginate
kramdown:
syntax_highlighter_opts:
block:
line_numbers: false
paginate: 5
paginate_path: "/news/page:num/"
compress_html:
clippings: all
comments: all
endings: all
startings: []
blanklines: false
profile: false
# ignore:
# envs: all
# Callouts
# The title of a callout is optional, and rendered in uppercase.
# The variables $color-000, $color-100, $color-200, $color-300 are required.
# Predefined colors: grey-lt, grey-dk, purple, blue, green, yellow, red.
# The names of callouts need to avoid the class names used in the theme CSS!
# - avoid btn, highlight, icon, label, main, search, and hyphenated words.
# Common names for callouts:
# admonition, attention, caution, danger, error, hint, important, note, tip, warning.
callouts:
admonition:
# title:
color: grey-lt
attention:
title: Attention
color: purple
caution:
title: ⚠ Caution
color: yellow
custom:
title: Custom
color: pink
opacity: 0.3
danger:
title: Danger
color: red
error:
title: Error
color: red
highlight:
color: yellow
opacity: 0.5
hint:
title: Hint
color: grey-dk
important:
title: Important
color: green
note:
title: Note
color: blue
tip:
title: Tip
color: grey-dk
warning:
title: 🚫 Warning
color: red