This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
_config.yml
237 lines (201 loc) · 5.59 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
230
231
232
233
234
235
236
237
# This file contains configuration settings for the devdocs website.
# Each setting is available on pages using Liquid {{ site.<config key> }}. For example, {{ site.title }}.
# For more details about available options and defaults, refer to https://jekyllrb.com/docs/configuration/
#
title: Adobe Commerce Developer Guide
logo: Commerce DevDocs
description: Adobe Commerce Developer Guide
# the base protocol and domain
url: https://devdocs.magento.com
# Site theme: https://github.com/commerce-docs/devdocs-theme
# About themes in Jekyll: https://jekyllrb.com/docs/themes/
theme: devdocs
# A part of URL to be inserted between site.url and page.url
baseurl: ""
source: src
plugins_dir: ./_plugins
# Parameters for the version switcher. Numeric values must be wrapped in quotes.
#
version: "2.4"
versions:
-
name: "2.3"
url: /guides/v2.3/
-
name: "2.4"
url: /guides/v2.4/
collections:
videos:
output: true
permalink: "/videos/:path/"
# Specific settings for different scopes.
#
defaults:
-
scope:
path: ""
values:
lang: en
layout: default
github_repo: https://github.com/magento/devdocs/
github_files: https://github.com/magento/devdocs/blob/master/
# Enables the 'Edit this page on GitHub' appearances on pages
github_link: false
# Enables the 'Give us feedback' appearances on pages
feedback_link: false
-
scope:
path: guides/v2.3
values:
guide_version: '2.3'
-
scope:
path: guides/v2.4
values:
guide_version: '2.4'
-
scope:
type: videos
values:
layout: video
github_link: false
feedback_link: false
-
scope:
path: mbi
values:
group: mbi
github_files: https://github.com/magento/devdocs-mbi/blob/master/
github_repo: https://github.com/magento/devdocs-mbi/
-
scope:
path: mftf/docs
values:
group: mftf
github_files: https://github.com/magento/magento2-functional-testing-framework/blob/master/
github_repo: https://github.com/magento/magento2-functional-testing-framework/
functional_areas:
- Test
-
scope:
path: mftf/v2
values:
guide_version: '2.3'
group: mftf-v2
github_files: https://github.com/magento/magento2-functional-testing-framework/tree/2.6.5/
github_repo: https://github.com/magento/magento2-functional-testing-framework/
functional_areas:
- Test
-
scope:
path: page-builder
values:
group: page-builder
github_files: https://github.com/magento/magento2-page-builder-docs/tree/master/
github_repo: https://github.com/magento/magento2-page-builder-docs/
-
scope:
path: magento-payments
values:
group: magento-payments
-
scope:
path: guides/v2.3/mrg
values:
group: module-reference-guide-2_3
github_link: false
-
scope:
path: guides/v2.4/mrg
values:
group: module-reference-guide-2_4
layout: migrated
-
scope:
path: guides/v2.3/install-gde
values:
group: installation-guide
-
scope:
path: guides/v2.4/install-gde
values:
group: installation-guide
##########################
# Plugins and extensions #
##########################
#
# For more details about plugins, refer to https://jekyllrb.com/docs/plugins/
# To learn more about particular plugin, find it by name on GitHub.
# This list doesn't include custom plugins.
#
plugins:
- jekyll-optional-front-matter
- jekyll-redirect-from
- jekyll-relative-links
- jekyll-sitemap
- jekyll-titles-from-headings
optional_front_matter:
remove_originals: true
# Configuration options for the jekyll-relative-links plugin.
# Exclude all .md directories and files except page-builder/ to prevent painfully long build times.
relative_links:
enabled: true
collections: false
exclude:
- 404.md
- codelinks
- community
- extensions
- guides
- redoc
- release
- search
- system-requirements.md
- whats-new.md
# Settings for the jekyll-titles-from-headings plugin.
# For more details about the plugin, refer to https://github.com/benbalter/jekyll-titles-from-headings
#
titles_from_headings:
enabled: true
strip_title: true
collections: false
# kramdown parser settings (extended Markdown to HTML parser). For more details about available options, refer to https://kramdown.gettalong.org/converter/html.html
#
kramdown:
toc_levels: 2..3
syntax_highlighter_opts:
css_class: highlighter
span:
line_numbers: false
block:
line_numbers: true
# Search engine settings. For more details, refer to https://github.com/algolia/jekyll-algolia
#
algolia:
application_id: E642SEDTHL
index_name: devdocs
# search-only API key allows to search data immediately.
# It is safe to use in production front-end code.
# Used at src/_includes/layout/header-scripts.html
# For more details, refer to: https://www.algolia.com/doc/guides/security/api-keys/#search-only-api-key
search_only_key: d2d0f33ab73e291ef8d88d8b565e754c #gitleaks:allow
google:
gtm: GTM-KRCLXBB
# Toggles the _plugin/html-check-hook.rb script that checks links in the generated HTML
#
check_links: true
#############
# Variables #
#############
#
# Magento 2 repository
mage2bloburl: https://github.com/magento/magento2/blob
# Current version
gdeurl: /guides/v2.4
# URL to downloadable binary files, such as .ai, .psd, .zip, .pdf, .sketch
downloads: https://devdocs.magento.com/download
# URL to the User guide
user_guide_url: https://docs.magento.com/user-guide
# Patterns to exclude for Jekyll
exclude:
- .git