forked from magento/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
205 lines (181 loc) · 4.55 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
# 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: Magento 2 Developer Documentation
logo: DevDocs
description: Magento 2 Developer Documentation.
# the base protocol and domain
url: https://devdocs.magento.com
# Site theme. https://jekyllrb.com/docs/themes/
theme: devdocs
# Base url that forms
baseurl: ""
# Parameters for the version switcher. Numeric values must be wraped in quotes.
#
version: "2.3"
versions:
-
name: "2.0"
url: /guides/v2.0/
-
name: "2.1"
url: /guides/v2.1/
-
name: "2.2"
url: /guides/v2.2/
-
name: "2.3"
url: /guides/v2.3/
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' appearences on pages
github_link: true
# Enables the 'Give us feedback' appearences on pages
feedback_link: true
-
scope:
path: guides/m1x
values:
layout: null
-
scope:
type: videos
values:
layout: video
-
scope:
path: mftf/2.2
values:
group: magento-functional-testing-framework-guide
functional_areas:
- Test
-
scope:
path: mftf/2.3
values:
group: magento-functional-testing-framework-guide-2_3
functional_areas:
- Test
-
scope:
path: guides/v2.3/mrg
values:
group: module-reference-guide-2_3
github_link: false
feedback_link: false
-
scope:
path: guides/v2.0
values:
sitemap: false
-
scope:
path: guides/v2.1
values:
sitemap: false
-
scope:
path: guides/v2.2
values:
sitemap: false
##########################
# 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-sitemap
- jekyll-redirect-from
- jekyll-titles-from-headings
# 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
# Search engine settings. For more details, refer to https://github.com/algolia/jekyll-algolia
#
algolia:
application_id: E642SEDTHL
index_name: devdocs
api_key: d2d0f33ab73e291ef8d88d8b565e754c
files_to_exclude:
- guides/m1x/**/*.html
- guides/m1x/**/*.md
- swagger
- redoc
google:
analytics: UA-66243208-1
# Toggles the _plugin/html-check-hook.rb script that checks links in the generated HTML
#
check_links: true
#############
# Variables #
#############
#
# Magento 2 repository variable
mage2bloburl: https://github.com/magento/magento2/blob/
# 2.0 variables
gdeurl: /guides/v2.0/
githuburl: https://github.com/magento/devdocs/tree/master/guides/v2.0/
mage2000url: https://github.com/magento/magento2/blob/2.0/
# 1.x variables
m1xgdeurl: /guides/m1x/
m1xgithuburl: https://github.com/magento/devdocs/blob/master/
# 2.1 variables
gdeurl21: /guides/v2.1/
githuburl21: https://github.com/magento/devdocs/tree/master/guides/v2.1/
mage2100url: https://github.com/magento/magento2/blob/2.1/
# 2.2 variables
gdeurl22: /guides/v2.2/
githuburl22: https://github.com/magento/devdocs/tree/master/guides/v2.2/
mage2200url: https://github.com/magento/magento2/blob/2.2/
# 2.3 variables
gdeurl23: /guides/v2.3/
githuburl23: https://github.com/magento/devdocs/tree/master/guides/v2.3/
mage2300url: https://github.com/magento/magento2/blob/2.3/
##########
# Ignore #
##########
#
# The path patterns excluded during site generation
#
exclude:
- scss
- bin
- node_modules
- vendor
- .git
- .idea
- Gemfile
- Gemfile.lock
- package.json
- package-lock.json
- Rakefile
- rakelib
- README.md
- _plugins