Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 3660205

Browse files
authored
Merge branch 'master' into imported-goivvy-devdocs-9098
2 parents 8c808ce + 751c6fc commit 3660205

File tree

2,184 files changed

+17608
-17795
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,184 files changed

+17608
-17795
lines changed

Docfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ content_map:
1717
filter: true
1818
-
1919
directory: src/page-builder
20-
repository: magento/magento2-page-builder-docs
20+
repository: magento/pagebuilder-docs
2121
branch: master
2222
filter: true

Gemfile.lock

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GIT
22
remote: https://github.com/magento-devdocs/devdocs-theme.git
3-
revision: db7dbc1cc59ebacdc293be883683a3351cf84a8f
3+
revision: b1e43366e1fa7c7cd33a2213c6a9304f57536e8f
44
specs:
5-
devdocs (15)
5+
devdocs (16)
66
jekyll (>= 4.0)
77

88
GEM
@@ -16,7 +16,7 @@ GEM
1616
algoliasearch (1.27.5)
1717
httpclient (~> 2.8, >= 2.8.3)
1818
json (>= 1.5.1)
19-
chef-utils (17.2.29)
19+
chef-utils (17.5.22)
2020
concurrent-ruby
2121
colorator (1.1.0)
2222
concurrent-ruby (1.1.9)
@@ -27,14 +27,15 @@ GEM
2727
ffi (>= 1.15.0)
2828
eventmachine (1.2.7)
2929
exifr (1.3.9)
30-
faraday (1.5.1)
30+
faraday (1.8.0)
3131
faraday-em_http (~> 1.0)
3232
faraday-em_synchrony (~> 1.0)
3333
faraday-excon (~> 1.1)
3434
faraday-httpclient (~> 1.0.1)
3535
faraday-net_http (~> 1.0)
3636
faraday-net_http_persistent (~> 1.1)
3737
faraday-patron (~> 1.0)
38+
faraday-rack (~> 1.0)
3839
multipart-post (>= 1.2, < 3)
3940
ruby2_keywords (>= 0.0.4)
4041
faraday-em_http (1.0.0)
@@ -44,7 +45,8 @@ GEM
4445
faraday-net_http (1.0.1)
4546
faraday-net_http_persistent (1.2.0)
4647
faraday-patron (1.0.0)
47-
ffi (1.15.3)
48+
faraday-rack (1.0.0)
49+
ffi (1.15.4)
4850
filesize (0.2.0)
4951
forwardable-extended (2.6.0)
5052
fspath (3.1.2)
@@ -72,9 +74,9 @@ GEM
7274
image_optim_pack (0.7.0.20210511-x86_64-darwin)
7375
fspath (>= 2.1, < 4)
7476
image_optim (~> 0.19)
75-
image_size (2.1.1)
77+
image_size (2.1.2)
7678
in_threads (1.5.4)
77-
jekyll (4.2.0)
79+
jekyll (4.2.1)
7880
addressable (~> 2.4)
7981
colorator (~> 1.0)
8082
em-websocket (~> 0.5)
@@ -120,7 +122,7 @@ GEM
120122
launchy (2.5.0)
121123
addressable (~> 2.7)
122124
liquid (4.0.3)
123-
listen (3.5.1)
125+
listen (3.7.0)
124126
rb-fsevent (~> 0.10, >= 0.10.3)
125127
rb-inotify (~> 0.9, >= 0.9.10)
126128
mdl (0.11.0)
@@ -130,25 +132,25 @@ GEM
130132
mixlib-config (>= 2.2.1, < 4)
131133
mixlib-shellout
132134
mercenary (0.4.0)
133-
mini_portile2 (2.5.3)
135+
mini_portile2 (2.6.1)
134136
mixlib-cli (2.1.8)
135137
mixlib-config (3.0.9)
136138
tomlrb
137139
mixlib-shellout (3.2.5)
138140
chef-utils
139141
multipart-post (2.1.1)
140142
netrc (0.11.0)
141-
nokogiri (1.11.7)
142-
mini_portile2 (~> 2.5.0)
143+
nokogiri (1.12.5)
144+
mini_portile2 (~> 2.6.1)
143145
racc (~> 1.4)
144-
nokogiri (1.11.7-x86_64-darwin)
146+
nokogiri (1.12.5-x86_64-darwin)
145147
racc (~> 1.4)
146148
nokogumbo (2.0.5)
147149
nokogiri (~> 1.8, >= 1.8.4)
148150
octokit (4.21.0)
149151
faraday (>= 0.9)
150152
sawyer (~> 0.8.0, >= 0.5.3)
151-
parallel (1.20.1)
153+
parallel (1.21.0)
152154
pathutil (0.16.2)
153155
forwardable-extended (~> 2.6)
154156
progress (3.6.0)
@@ -161,8 +163,8 @@ GEM
161163
rb-inotify (0.10.1)
162164
ffi (~> 1.0)
163165
rexml (3.2.5)
164-
rouge (3.26.0)
165-
ruby2_keywords (0.0.4)
166+
rouge (3.26.1)
167+
ruby2_keywords (0.0.5)
166168
safe_yaml (1.0.5)
167169
sassc (2.4.0)
168170
ffi (~> 1.9)
@@ -175,7 +177,7 @@ GEM
175177
tomlrb (2.0.1)
176178
typhoeus (1.4.0)
177179
ethon (>= 0.9.0)
178-
unicode-display_width (1.7.0)
180+
unicode-display_width (1.8.0)
179181
verbal_expressions (0.1.5)
180182
wdm (0.1.1)
181183
whatsup_github (0.4.2)

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,13 @@ defaults:
115115
values:
116116
group: module-reference-guide-2_3
117117
github_link: false
118-
feedback_link: false
119118

120119
-
121120
scope:
122121
path: guides/v2.4/mrg
123122
values:
124123
group: module-reference-guide-2_4
125124
github_link: false
126-
feedback_link: false
127125

128126
-
129127
scope:

_plugins/generators/mrg_v2_3.rb

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
# This plugin generates module-specific topics in the 'guides/v2.3/mrg'.
77
# It takes data from files in '_data/codebase/mrg' and generates
88
# a virtual .md page for it with the same name.
9-
# The content in data is generated internally from
10-
# modules' READMEs of magento2ce, magento2ee, magento2b2b repositories.
119
#
1210

1311
module Jekyll
1412
# Custom generator for MRG pages
15-
class Mrg2_3PageGenerator < Generator
13+
class Mrg23PageGenerator < Generator
1614
safe true
1715

1816
def generate(site)
@@ -28,37 +26,33 @@ def generate(site)
2826
# For example, for '_data/codebase/v2_3/mrg/NewModule.yml' that contains
2927
#
3028
# title: Magento_NewModule
31-
# edition: ce
3229
# content: Magento_NewModule is an awesome module
3330
#
34-
# this will create a new virtual page guides/v2.3/mrg/ce/NewModule.md
31+
# this will create a new virtual page guides/v2.3/mrg/NewModule.md
3532
# that would correspond to:
3633
# ---
3734
# title: Magento_NewModule
3835
# ---
3936
# Magento_NewModule is an awesome module.
4037
#
41-
mrg_data.each do |category, modules|
42-
modules.each do |mod, metadata|
43-
# PageWithoutAFile handles processing files without reading it.
44-
# mrg_topic is a virtual '.md' file
45-
# See details in https://www.rubydoc.info/gems/jekyll/Jekyll/PageWithoutAFile
46-
# See tests in https://github.com/jekyll/jekyll/blob/master/test/test_page_without_a_file.rb
47-
mrg_topic = PageWithoutAFile.new(
48-
@site,
49-
@site.source,
50-
"guides/v2.3/mrg/#{category}",
51-
"#{mod}.md"
52-
)
53-
mrg_topic.content = metadata['content']
54-
mrg_topic.data['title'] = metadata['title']
55-
mrg_topic.data['last_modified_at'] = metadata['last_modified_at']
56-
mrg_topic.process("#{mod}.md")
38+
mrg_data.each do |mod, metadata|
39+
# PageWithoutAFile handles processing files without reading it.
40+
# mrg_topic is a virtual '.md' file
41+
# See details in https://www.rubydoc.info/gems/jekyll/Jekyll/PageWithoutAFile
42+
# See tests in https://github.com/jekyll/jekyll/blob/master/test/test_page_without_a_file.rb
43+
mrg_topic = PageWithoutAFile.new(
44+
@site,
45+
@site.source,
46+
'guides/v2.3/mrg/',
47+
"#{mod}.md"
48+
)
49+
mrg_topic.content = metadata['content']
50+
mrg_topic.data['title'] = metadata['title']
51+
mrg_topic.process("#{mod}.md")
5752

58-
# Add the newly constructed page object to the rest of pages
59-
# on the site.
60-
@site.pages << mrg_topic
61-
end
53+
# Add the newly constructed page object to the rest of pages
54+
# on the site.
55+
@site.pages << mrg_topic
6256
end
6357
end
6458
end

_plugins/generators/mrg_v2_4.rb

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
# This plugin generates module-specific topics in the 'guides/v2.4/mrg'.
77
# It takes data from files in '_data/codebase/mrg' and generates
88
# a virtual .md page for it with the same name.
9-
# The content in data is generated internally from
10-
# modules' READMEs of magento2ce, magento2ee, magento2b2b repositories.
119
#
1210

1311
module Jekyll
1412
# Custom generator for MRG pages
15-
class Mrg2_4PageGenerator < Generator
13+
class Mrg24PageGenerator < Generator
1614
safe true
1715

1816
def generate(site)
@@ -28,37 +26,33 @@ def generate(site)
2826
# For example, for '_data/codebase/v2_4/mrg/NewModule.yml' that contains
2927
#
3028
# title: Magento_NewModule
31-
# edition: ce
3229
# content: Magento_NewModule is an awesome module
3330
#
34-
# this will create a new virtual page guides/v2.4/mrg/ce/NewModule.md
31+
# this will create a new virtual page guides/v2.4/mrg/NewModule.md
3532
# that would correspond to:
3633
# ---
3734
# title: Magento_NewModule
3835
# ---
3936
# Magento_NewModule is an awesome module.
4037
#
41-
mrg_data.each do |category, modules|
42-
modules.each do |mod, metadata|
43-
# PageWithoutAFile handles processing files without reading it.
44-
# mrg_topic is a virtual '.md' file
45-
# See details in https://www.rubydoc.info/gems/jekyll/Jekyll/PageWithoutAFile
46-
# See tests in https://github.com/jekyll/jekyll/blob/master/test/test_page_without_a_file.rb
47-
mrg_topic = PageWithoutAFile.new(
48-
@site,
49-
@site.source,
50-
"guides/v2.4/mrg/#{category}",
51-
"#{mod}.md"
52-
)
53-
mrg_topic.content = metadata['content']
54-
mrg_topic.data['title'] = metadata['title']
55-
mrg_topic.data['last_modified_at'] = metadata['last_modified_at']
56-
mrg_topic.process("#{mod}.md")
38+
mrg_data.each do |mod, metadata|
39+
# PageWithoutAFile handles processing files without reading it.
40+
# mrg_topic is a virtual '.md' file
41+
# See details in https://www.rubydoc.info/gems/jekyll/Jekyll/PageWithoutAFile
42+
# See tests in https://github.com/jekyll/jekyll/blob/master/test/test_page_without_a_file.rb
43+
mrg_topic = PageWithoutAFile.new(
44+
@site,
45+
@site.source,
46+
'guides/v2.4/mrg/',
47+
"#{mod}.md"
48+
)
49+
mrg_topic.content = metadata['content']
50+
mrg_topic.data['title'] = metadata['title']
51+
mrg_topic.process("#{mod}.md")
5752

58-
# Add the newly constructed page object to the rest of pages
59-
# on the site.
60-
@site.pages << mrg_topic
61-
end
53+
# Add the newly constructed page object to the rest of pages
54+
# on the site.
55+
@site.pages << mrg_topic
6256
end
6357
end
6458
end

src/_data/codebase/cloud/magento-cloud.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/_data/codebase/v2_3/mrg/b2b/B2b.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/_data/codebase/v2_3/mrg/b2b/BundleNegotiableQuote.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/_data/codebase/v2_3/mrg/b2b/BundleRequisitionList.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)