Skip to content

Commit a7564bc

Browse files
authored
Merge branch 'master' into ds_update-bundle
2 parents fcc6d7e + 498b2df commit a7564bc

File tree

22 files changed

+47
-54
lines changed

22 files changed

+47
-54
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Attribute | Data Type | Description
22
--- | --- | ---
33
`id` | Int! | A unique ID assigned to the customizable option
4-
`value_string` | String! | A value assigned to the the customizable option
4+
`value_string` | String! | A value assigned to the customizable option

_includes/install/auth-tokens-get.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ You can also disable or delete authentication keys. For example, you can disable
2121
* To enable a previously disabled key: Click **Enable**.
2222
* To delete keys: Click **Delete**.
2323

24-
You cannot delete or disable keys you created by signing in to your [magento.com account](https://www.magentocommerce.com/products/customer/account/login){:target="_blank"}. To manage those keys:
24+
### Manage SSH access token
25+
26+
To download Magento releases using SSH, you must generate a Downloads Access Token. To generate a token:
2527

2628
1. Log in to your [magento.com account](https://www.magentocommerce.com/products/customer/account/login){:target="_blank"}.
2729
1. Click **My Account** at the top of the page.
@@ -30,3 +32,11 @@ You cannot delete or disable keys you created by signing in to your [magento.com
3032
![Access your keys]({{ site.baseurl }}/common/images/connect_keys1.png){:width="200px"}
3133

3234
1. Click **Generate new token** to replace and disable an existing token.
35+
36+
You must use your MAGEID plus your token to download a release. Your MAGEID is displayed at the top-left of your account page.
37+
38+
For example:
39+
40+
```bash
41+
curl -k https://MAGEID:[email protected]/products/downloads/info/help
42+
```

guides/v2.2/b2b/shared-cat-product-assign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ Unassigning a product does not remove it from its category or categories.
216216

217217
`true`, indicating the operation was successful
218218

219-
### List the shared catalog categories
219+
### List the shared catalog products
220220

221221
The `GET` call returns an array of SKUs.
222222

guides/v2.2/cloud/cdn/configure-fastly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Fastly sets a 180 second-timeout for HTTPS requests to the Magento Admin, so you
220220

221221
1. In the *Fastly Configuration* section, expand **Advanced**.
222222

223-
1. Set the **Admin path timeout** value in seconds. This value cannot be more than one hour (3600 seconds).
223+
1. Set the **Admin path timeout** value in seconds. This value cannot be more than 10 minutes (600 seconds).
224224

225225
1. Click **Save Config** at the top of the page.
226226

guides/v2.2/cloud/trouble/trouble_ce-creds.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,7 @@ To resolve the issue with credentials:
9595

9696
A snippet of messages for a successful deployment follows:
9797

98-
{% collapsible Click to show/hide snippet %}
99-
100-
```xml
98+
```terminal
10199
Building application 'mymagento' (runtime type: php:7.0, tree: e8450f9)
102100
Generating runtime configuration.
103101
@@ -163,8 +161,6 @@ To resolve the issue with credentials:
163161
34afd91..98c2166 master -> master
164162
```
165163

166-
{% endcollapsible %}
167-
168164
#### Verify the deployment
169165

170166
To verify the deployment was successful, enter one of the URLs displayed under `Environment routes:` in a web browser.

guides/v2.2/extension-dev-guide/cache/page-caching/private-content.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The section source class is responsible for retrieving data for the section. As
2121

2222
The public method `getSectionData` must return an array with data for private block.
2323

24-
[Example]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/CustomerData/CompareProducts.php#L36-L45){:target="_blank"}
24+
[Example]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/CustomerData/CompareProducts.php#L45-L54){:target="_blank"}
2525

2626
Add the following to your component's [dependency injection](https://glossary.magento.com/dependency-injection) configuration (`di.xml`):
2727

@@ -52,7 +52,7 @@ Initialize the component as follows:
5252
</script>
5353
```
5454
55-
[Example]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/view/frontend/templates/product/compare/sidebar.phtml#L46-L48){:target="_blank"}
55+
[Example]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/view/frontend/templates/product/compare/sidebar.phtml#L50-L52){:target="_blank"}
5656
5757
## Configure a UI component {#config-cache-priv-how-ui}
5858
@@ -62,7 +62,7 @@ The UI component renders block data on the Magento [storefront](https://glossary
6262
6363
All properties are available in the template.
6464
65-
[Example of defining a UI component in a layout]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/view/frontend/layout/default.xml#L11-L22){:target="_blank"}
65+
[Example of defining a UI component in a layout]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Catalog/view/frontend/layout/default.xml#L11-L32){:target="_blank"}
6666
6767
## Invalidate private content
6868

guides/v2.2/extension-dev-guide/test/test_object-mgr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The ObjectManager public interface methods are:
2828
<p><b>Syntax:</b></p>
2929
<pre>
3030
public function getObject($className,
31-
array $arguments = array());
31+
array $arguments = []);
3232
</pre>
3333
<p><b>Example:</b></p>
3434
<pre>
@@ -61,7 +61,7 @@ $objectManagerHelper = new \Magento\TestFramework\Helper\ObjectManager($this);
6161
$option = $this->getMock(
6262
'Magento\Bundle\Model\Option',
6363
array('getSelections', '__wakeup', 'getData'),
64-
array(),
64+
[],
6565
'',
6666
false
6767
);
@@ -76,7 +76,7 @@ $optionCollection =
7676
<p><b>Syntax:</b></p>
7777
<pre>
7878
public function getConstructArguments($className,
79-
array $arguments = array());
79+
array $arguments = []);
8080
</pre>
8181
<p>In the Magento system, several tests introduced mocks for abstract models and blocks.</p>
8282
<p><b>Example:</b></p>

guides/v2.2/frontend-dev-guide/tools/using_grunt.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ To use a custom file for Grunt configuration:
9090
9191
```config
9292
{
93-
"themes": "dev/tools/grunt/configs/local-themes"
93+
"themes": "dev/tools/grunt/configs/local-themes"
9494
}
9595
```
9696
@@ -122,4 +122,6 @@ To tell Grunt to use a custom configuration file, instead of the default one, ad
122122
123123
1. Call the `get(%file_alias%)` method to get the configuration file.
124124
125-
`var themes = fileRouter.get('themes');`
125+
```config
126+
var themes = fileRouter.get('themes');
127+
```

guides/v2.2/frontend-dev-guide/translations/translate_theory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ In this example, the _'Hello %1'_ string is added to the dictionary when the i18
3232
## Strings added in email templates {#add_strings_email}
3333

3434
If your theme contains [custom email templates], their strings can be added to the dictionary as well.
35-
To add the email template strings to the dictionary, use the `{{trans}}` [directive].
35+
To add the email template strings to the dictionary, use the {% raw %} `{{trans}}` {% endraw %} [directive].
3636

3737
Custom email templates [added using the Admin panel] are not stored in the file system, and their strings are not added to the dictionary.
3838

39-
To ensure that your new string is added to the dictionary and translated, use the `trans` method when outputting a string in an [email template]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Customer/view/frontend/email/account_new.html).
39+
To ensure that your new string is added to the dictionary and translated, use the {% raw %} `{{trans}}` {% endraw %} [directive] when outputting a string in an [email template]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Customer/view/frontend/email/account_new.html).
4040

4141
For example:
4242

guides/v2.2/frontend-dev-guide/translations/xlate.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,6 @@ Depending on your needs, you can use the existing [language packages](#m2devgde-
5353
* The [language package](https://glossary.magento.com/language-package) (`i18n` directory) can be saved to any directory of your [extension](https://glossary.magento.com/extension).
5454
* The phrases for translations are enabled in the [Phrase] class.
5555

56-
### More information
57-
58-
* [Theme dictionaries](#m2devgde-xlate-themes)
59-
* [Manually translate words and phrases](#m2devgde-xlate-translating)
60-
* [Translation dictionaries](#m2devgde-xlate-dictionaries)
61-
* [Language packages](#m2devgde-xlate-languagepack)
62-
6356
## Theme dictionaries {#m2devgde-xlate-themes}
6457

6558
You might need to add a dictionary for the default language (en_US) in the following cases:

0 commit comments

Comments
 (0)