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

Commit d110b67

Browse files
keharpererikmarrRakeshJesadiyasathiyaaajeff-matthews
authored
Sync 2.4.2-develop (#8423)
* Adding link to catalog sync dashboard * Merge small-changes branch into master (#8377) * Update braintree-vault.md (#8345) * Update braintree-vault.md Request data is invalid. Syntax Error: Expected Name, found <EOF>". * Update braintree-vault.md * Update payflow-pro.md (#8346) Resolved Syntax Error: Expected Name, found <EOF> from the GraphQL Request. * add reference to the order item options and link (#8344) * Update add-products-to-cart.md (#8355) * Update add-products-to-cart.md Cart Id Invalid Error message. * Update add-products-to-cart.md Co-authored-by: Kevin Harper <[email protected]> * customer query improvements (#8353) * cart query object improvement (#8352) * Update category-list.md (#8313) * Update category-list.md Give Example of url_key and url_path attribute with categoryList query. * Update category-list.md * Update category-list.md * Update category-list.md Co-authored-by: Kevin Harper <[email protected]> * used viewModel * Update customizable-option-interface.md (#8328) * Update customizable-option-interface.md Added Example of the custom option type CustomizableFieldOption for the text field. * Update customizable-option-interface.md * Update customizable-option-interface.md * add error message on the product type (#8361) Co-authored-by: Rakesh Jesadiya <[email protected]> Co-authored-by: Sathiya Prakash <[email protected]> Co-authored-by: Jeff Matthews <[email protected]> * Updated Serializer implementations (#8382) Co-authored-by: Jeff Matthews <[email protected]> * Example added on how to overwrite a knockoutjs html file (#8367) * Added an example for overwriting a knockoutjs .html template file in requirejs-config.js by using paths * removed the image * fixed lint errors * fixed lint errors * Review comments * Added spaces after list hyphen * review comments * lint errors * Apply suggestions from code review Co-authored-by: Jeff Matthews <[email protected]> * split a point for clarity * lint errors * lint errors * lint errors * formatting errors * Fixed formatting Co-authored-by: Jeff Matthews <[email protected]> * Added new page for URL library (#8384) * Added new page for URL library * Added new page to TOC * Fixed PHP code doc blocks * Added symlink to 2.4 Co-authored-by: Jeff Matthews <[email protected]> * Fix 404s on External Links (#8348) * Fix 404s on External Links * Small change to avoid conflict * Update src/guides/v2.3/coding-standards/docblock-standard-general.md Co-authored-by: Dmitry Shevtsov <[email protected]> * Update src/guides/v2.3/config-guide/secy/secy-xframe.md Co-authored-by: Dmitry Shevtsov <[email protected]> * Update src/guides/v2.3/config-guide/varnish/config-varnish-advanced.md Co-authored-by: Dmitry Shevtsov <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Dmitry Shevtsov <[email protected]> Co-authored-by: Margaret Eker <[email protected]> * Update whastnew template and rake task (#8393) * Update rake whatsnew Exit with error when 'Missing whatsnew' appears to fail a Jenkins build * Update whatsnew template Add grouping by moth and by date * Update Whats New data (#8385) * added a note indicating that the deletion of snippets has to be done using the api (#8327) * added a note indicating that the deletion of snippets has to be done using the API * Update src/cloud/cdn/cloud-vcl-custom-snippets.md Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Margaret Eker <[email protected]> * [maintenance] Add plugins for debugging (#7998) * Update the linting workflow on GitHub (#8405) * Delete main.yml Removing the Markdown lint test as a duplicate of the Lint Code Base test * Update linter.yml Run linters on any pull request, not only to master or develop * Disabel OpenAPI linter (#8409) * Improve info about managing SSH keys in Cloud Guide (#8364) * Fix broken link in Cloud Guide * Add tip for managing SSH keys on Cloud projects * Update src/_includes/cloud/enable-ssh.md * Fix lint error * Replace ssh-keygen instructions with link - Replaced ssh-keygen instructions with link to GitHub documentation, which provides instructions for Linux, macOS, and Windows. - Clarified other instructions * Apply suggestions from code review Co-authored-by: hguthrie <[email protected]> Co-authored-by: hguthrie <[email protected]> * Update performing-searches.md (#8400) * Update performing-searches.md Added Example of in and nin operator. * Update performing-searches.md * Update performing-searches.md Co-authored-by: Kevin Harper <[email protected]> * MC-40003: [Documentation] Invalid directive for 'X-Frame-Options' header * Update widget_prompt.md (#8283) Co-authored-by: Kevin Harper <[email protected]> * Merge small-changes branch into master (#8418) * Use "jekyll/jekyll:3.8.6" so it is locked, rather than "latest", refs #8370 * Update README.md * Updated the linux kernel info in software pgae * added a missing code-fence * fixed lint * fixed lint * Apply suggestions from code review Co-authored-by: Barny Shergold <[email protected]> * shipment-email-notify (#8399) * shipment-email-notify * Update order-create-shipment.md Co-authored-by: Julian van den Berkmortel <[email protected]> Co-authored-by: hguthrie <[email protected]> Co-authored-by: CJ <[email protected]> Co-authored-by: Sathiya Prakash <[email protected]> Co-authored-by: chiranjeevi <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Jeff Matthews <[email protected]> Co-authored-by: Rakesh Jesadiya <[email protected]> * Update catalog.md (#8401) * Update catalog.md Added Response of the Category creation. * Update catalog.md * Update catalog.md Co-authored-by: Kevin Harper <[email protected]> Co-authored-by: Erik Marr <[email protected]> Co-authored-by: Rakesh Jesadiya <[email protected]> Co-authored-by: Sathiya Prakash <[email protected]> Co-authored-by: Jeff Matthews <[email protected]> Co-authored-by: Adarsh Manickam <[email protected]> Co-authored-by: Sathiya Prakash <[email protected]> Co-authored-by: Erik Marr <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Barny Shergold <[email protected]> Co-authored-by: Dmitry Shevtsov <[email protected]> Co-authored-by: Margaret Eker <[email protected]> Co-authored-by: devops-devdocs <[email protected]> Co-authored-by: hguthrie <[email protected]> Co-authored-by: Viktor Tymchynskyi <[email protected]> Co-authored-by: Hardik Makwana <[email protected]> Co-authored-by: Julian van den Berkmortel <[email protected]> Co-authored-by: CJ <[email protected]> Co-authored-by: chiranjeevi <[email protected]>
1 parent da99448 commit d110b67

Some content is hidden

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

55 files changed

+809
-277
lines changed

.github/workflows/linter.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,11 @@ name: Lint Code Base
1111
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
1212
#
1313

14-
#############################
15-
# Start the job on all push #
16-
#############################
14+
###################################
15+
# Start the job on a pull request #
16+
###################################
1717
on:
18-
pull_request:
19-
branches:
20-
- master
21-
- 2.*-develop
18+
pull_request
2219

2320
###############
2421
# Set the Job #
@@ -50,4 +47,5 @@ jobs:
5047
VALIDATE_ALL_CODEBASE: false
5148
DEFAULT_BRANCH: master
5249
VALIDATE_HTML: false
50+
VALIDATE_OPENAPI: false
5351
MARKDOWN_CONFIG_FILE: .markdownlint.json

.github/workflows/main.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This site is built by [Jekyll](https://jekyllrb.com/), which is an open-source t
1515
You can build the site locally in the following ways:
1616

1717
- [Installing the project dependencies locally](#build-locally) (Mac, Linux)
18-
- [Using Docker (docker-compose)](#docker-docker-compose) (Mac, Linux, Windows)
18+
- [Using Docker (docker-compose)](https://github.com/magento/devdocs/wiki/Build-DevDocs-with-Docker) (Mac, Linux, Windows)
1919
- [Using a Vagrant virtual machine](https://github.com/magento-devdocs/vagrant-for-magento-devdocs) (Mac, Linux, Windows)
2020
- [Build DevDocs in Windows](https://github.com/magento/devdocs/wiki/Build-DevDocs-in-Windows) (Windows 7 & 10)
2121
- [Building older versions of the documentation](https://github.com/magento/devdocs/wiki/Build-DevDocs-with-Docker)

Rakefile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,14 @@ task :whatsnew do
7878
print 'Generating data for the What\'s New digest: $ '.magenta
7979

8080
# Generate tmp/whats-new.yml
81-
if since.nil? || since.empty?
82-
sh 'bin/whatsup_github', 'since', last_update
83-
elsif since.is_a? String
84-
sh 'bin/whatsup_github', 'since', since
85-
else
86-
abort 'The "since" argument must be a string. Example: "jul 4"'
87-
end
81+
report =
82+
if since.nil? || since.empty?
83+
`bin/whatsup_github since '#{last_update}'`
84+
elsif since.is_a? String
85+
`bin/whatsup_github since #{since}`
86+
else
87+
abort 'The "since" argument must be a string. Example: "jul 4"'
88+
end
8889

8990
# Merge generated tmp/whats-new.yml with existing src/_data/whats-new.yml
9091
generated_data = YAML.load_file generated_file
@@ -94,6 +95,9 @@ task :whatsnew do
9495

9596
puts "Writing updates to #{current_file}"
9697
File.write current_file, current_data.to_yaml
98+
99+
abort report if report.include? 'MISSING whatsnew'
100+
puts report
97101
end
98102

99103
desc 'Generate index for Algolia'

_plugins/debug/site_post_render.rb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright © Magento, Inc. All rights reserved.
4+
# See COPYING.txt for license details.
5+
6+
# To enable this plugin, add to your '_config.local.yml' the following:
7+
#
8+
# debug: site_post_render
9+
#
10+
# This plugin runs an IRB session (https://github.com/ruby/irb) of a Jekyll application in a serving mode when it's at a state after rendering the whole site, but before writing any files.
11+
# See the ":site, :post_render" hook: https://jekyllrb.com/docs/plugins/hooks/
12+
# Available objects to explore are 'site' and 'payload'.
13+
#
14+
# Several helpful methods (to use a method, chain to an object such as 'site.methods', 'payload.keys'):
15+
# - '.methods.sort'
16+
# - '.instance_variables.sort'
17+
# - '.keys.sort'
18+
#
19+
# Examples:
20+
#
21+
# To view available configuration data of the site
22+
# > payload.site.keys
23+
#
24+
# To view the number of pages:
25+
# > payload.site.pages.count
26+
#
27+
# To find a page by path and view its data:
28+
# > page = payload.site.pages.select { |page| page.path == 'cloud/env/variables-build.md' }[0]
29+
# > page.data
30+
#
31+
# To exit from the IRB session:
32+
# > exit!
33+
#
34+
Jekyll::Hooks.register :site, :post_render do |site, payload|
35+
next unless site.config['serving']
36+
37+
# rubocop:disable Lint/Debugger
38+
binding.irb if site.config['debug'] == 'site_post_render'
39+
# rubocop:enable Lint/Debugger
40+
end

_plugins/debug/site_pre_render.rb

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# frozen_string_literal: true
2+
3+
# Copyright © Magento, Inc. All rights reserved.
4+
# See COPYING.txt for license details.
5+
6+
# To enable this plugin, add to your '_config.local.yml' the following:
7+
#
8+
# debug: site_pre_render
9+
#
10+
# This plugin runs an IRB session (https://github.com/ruby/irb) of a Jekyll application in a serving mode when it's at a state just before rendering the whole site.
11+
# See the ":site, :pre_render" hook: https://jekyllrb.com/docs/plugins/hooks/
12+
# Available objects to explore are 'site' and 'payload'.
13+
#
14+
# Several helpful methods (to use a method, chain to an object such as 'site.methods', 'payload.keys'):
15+
# - '.methods.sort'
16+
# - '.instance_variables.sort'
17+
# - '.keys.sort'
18+
#
19+
# Examples:
20+
#
21+
# To view available configuration data of the site
22+
# > payload.site.keys
23+
#
24+
# To view the number of pages:
25+
# > payload.site.pages.count
26+
#
27+
# To find a page by path and view its data:
28+
# > page = payload.site.pages.select { |page| page.path == 'cloud/env/variables-build.md' }[0]
29+
# > page.data
30+
#
31+
# To exit from the IRB session:
32+
# > exit!
33+
#
34+
Jekyll::Hooks.register :site, :pre_render do |site, payload|
35+
next unless site.config['serving']
36+
37+
# rubocop:disable Lint/Debugger
38+
binding.irb if site.config['debug'] == 'site_pre_render'
39+
# rubocop:enable Lint/Debugger
40+
end

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.6'
22

33
services:
44
jekyll:
5-
image: jekyll/jekyll:latest
5+
image: jekyll/jekyll:3.8.6
66
command: jekyll serve --watch --incremental --open-url --livereload
77
ports:
88
- 4000:4000

src/_data/toc/php-developer-guide.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ pages:
265265
- label: Array Manager
266266
url: /extension-dev-guide/framework/array-manager.html
267267

268+
- label: URL Library
269+
url: /extension-dev-guide/framework/url-library.html
270+
268271
- label: Security
269272
children:
270273

src/_data/whats-new.yml

Lines changed: 113 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,118 @@ description: This page contains recent changes that we think you'd like to know
44
We exclude from this list proofreading, spelling checks, and all minor updates.
55
link: "/whats-new.html"
66
thread: "/whatsnew-feed.xml"
7-
updated: Tue Nov 17 05:06:39 2020
7+
updated: Wed Dec 16 16:19:47 2020
88
entries:
9+
- description: Added an [example](https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/requirejs.html)
10+
of overwriting a Knockout JS .html template file in the `requirejs-config.js`
11+
file.
12+
versions: 2.3.x, 2.4.x
13+
type: Major Update
14+
date: December 14, 2020
15+
link: https://github.com/magento/devdocs/pull/8367
16+
contributor: sathiyaaa
17+
profile: https://github.com/sathiyaaa
18+
- description: Added [descriptions](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/framework/serializer.html)
19+
for the JsonHexTag, Base64Json, and FormData serializer implementations.
20+
versions: 2.3.x, 2.4.x
21+
type: Major Update
22+
date: December 14, 2020
23+
link: https://github.com/magento/devdocs/pull/8382
24+
contributor: drpayyne
25+
profile: https://github.com/drpayyne
26+
- description: Added a new topic describing the [URL Library](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/framework/url-library.html).
27+
versions: 2.4.x
28+
type: New Topic
29+
date: December 14, 2020
30+
link: https://github.com/magento/devdocs/pull/8384
31+
contributor: drpayyne
32+
profile: https://github.com/drpayyne
33+
- description: Published [release notes](https://devdocs.magento.com/quality-patches/release-notes.html)
34+
for the 1.0.13 Magento Quality Patch (MQP) package release.
35+
versions: 2.3.x, 2.4.x
36+
type: Major Update
37+
date: December 10, 2020
38+
link: https://github.com/magento/devdocs/pull/8375
39+
contributor: Rykh
40+
profile: https://github.com/Rykh
41+
- description: Added an [explanation and example](http://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/requirejs.html)
42+
of passing parameters to JavaScript using the `data-mage-init` HTML attribute.
43+
versions: 2.3.x, 2.4.x
44+
type: Major Update
45+
date: December 9, 2020
46+
link: https://github.com/magento/devdocs/pull/8311
47+
contributor: sathiyaaa
48+
profile: https://github.com/sathiyaaa
49+
- description: Added a new topic describing how to [customize the Magento Admin design](https://devdocs.magento.com/guides/v2.4/howdoi/admin/customize_admin.html).
50+
versions: 2.3.x, 2.4.x
51+
type: New Topic
52+
date: December 8, 2020
53+
link: https://github.com/magento/devdocs/pull/8351
54+
contributor: BarnyShergold
55+
profile: https://github.com/BarnyShergold
56+
- description: Added an [explanation and example](https://devdocs.magento.com/guides/v2.3/install-gde/install/cli/install-cli-subcommands-maint.html)
57+
of using the `$_GET['skin']` parameter to set a different layout and localized
58+
content for each store in a multistore setup.
59+
versions: 2.3.x, 2.4.x
60+
type: Major Update
61+
date: December 7, 2020
62+
link: https://github.com/magento/devdocs/pull/8247
63+
contributor: dineshvb
64+
profile: https://github.com/dineshvb
65+
- description: Instructions on how to remove plugins from the [Elasticsearch service](https://devdocs.magento.com/cloud/project/services-elastic.html#additional-search-configuration).
66+
versions: 2.4.x
67+
type: Technical
68+
date: December 4, 2020
69+
link: https://github.com/magento/devdocs/pull/8336
70+
contributor: bdenham
71+
profile: https://github.com/bdenham
72+
- description: Added detailed examples to [Define the GraphQL schema for a module](https://devdocs.magento.com/guides/v2.4/graphql/develop/create-graphqls-file.html).
73+
versions: 2.3.x, 2.4.x
74+
type: Major Update
75+
date: November 30, 2020
76+
link: https://github.com/magento/devdocs/pull/8232
77+
contributor: sathiyaaa
78+
profile: https://github.com/sathiyaaa
79+
- description: Published [release notes](https://devdocs.magento.com/quality-patches/release-notes.html)
80+
for the 1.0.12 Magento Quality Patch (MQP) package release.
81+
versions: 2.3.x, 2.4.x
82+
type: Major Update
83+
date: November 26, 2020
84+
link: https://github.com/magento/devdocs/pull/8271
85+
contributor: ilima-ebay
86+
profile: https://github.com/ilima-ebay
87+
- description: Updated Composer package versions to correct 2.4.x [sample data upgrade
88+
instructions](https://devdocs.magento.com/guides/v2.4/comp-mgr/cli/cli-rc1-samp.html).
89+
versions: 2.4.x
90+
type: Technical
91+
date: November 24, 2020
92+
link: https://github.com/magento/devdocs/pull/8259
93+
contributor: jeff-matthews
94+
profile: https://github.com/jeff-matthews
95+
- description: Simplified and updated the [GraphQL tutorial](https://devdocs.magento.com/guides/v2.4/graphql/tutorials/checkout/index.html).
96+
versions: 2.3.x, 2.4.x
97+
type: Major Update
98+
date: November 23, 2020
99+
link: https://github.com/magento/devdocs/pull/8046
100+
contributor: dobooth
101+
profile: https://github.com/dobooth
102+
- description: Published [ece-tools 2002.1.4 package release notes](https://devdocs.magento.com/cloud/release-notes/cloud-tools.html).
103+
This release fixes search engine and database validation issues that can cause
104+
deployment failure.
105+
versions: 2.x
106+
type: Technical
107+
date: November 19, 2020
108+
link: https://github.com/magento/devdocs/pull/8249
109+
contributor: meker12
110+
profile: https://github.com/meker12
111+
- description: Published [release notes](https://devdocs.magento.com/quality-patches/release-notes.html)
112+
for the 1.0.10 Magento Quality Patch (MQP) package release.
113+
versions: 2.3.x, 2.4.x
114+
type: Major Update
115+
date: November 19, 2020
116+
link: https://github.com/magento/devdocs/pull/8252
117+
contributor: viktym
118+
profile: https://github.com/viktym
9119
- description: Published [release notes](https://devdocs.magento.com/quality-patches/release-notes.html)
10120
for the 1.0.10 Magento Quality Patch (MQP) package release.
11121
versions: ''
@@ -74,8 +184,8 @@ entries:
74184
link: https://github.com/magento/devdocs/pull/8187
75185
contributor: jeff-matthews
76186
profile: https://github.com/jeff-matthews
77-
- description: Reorganized the [system requirements](https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html) pages in the Magento Installation
78-
Guide to to make it more coherent.
187+
- description: Reorganized the [system requirements](https://devdocs.magento.com/guides/v2.4/install-gde/system-requirements.html)
188+
pages in the Magento Installation Guide to to make it more coherent.
79189
versions: 2.3.x, 2.4.x
80190
type: Major Update
81191
date: November 5, 2020

0 commit comments

Comments
 (0)