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

Commit 20724ad

Browse files
committed
Fixed MD030 issues
1 parent c1d4bb6 commit 20724ad

File tree

16 files changed

+63
-63
lines changed

16 files changed

+63
-63
lines changed

guides/v2.2/ui_comp_guide/best-practices/semantic_config.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@ All components options are separate nodes, and a node's purpose is defined by it
6969
When editing XML configuration files in an IDE, the autocomplete feature prompts the correct spelling and the possible options.
7070
{% collapsible Illustration %}
7171

72-
* Node declaration autocomplete:
72+
* Node declaration autocomplete:
7373

7474
![node declaration autocomplete]({{ site.baseurl }}/common/images/ui_comps/autocomplete1.png){:width="610px"}
7575

76-
* Attribute declaration autocomplete:
76+
* Attribute declaration autocomplete:
7777

7878
![Attribute declaration autocomplete]({{ site.baseurl }}/common/images/ui_comps/autocomplete1.png){:width="630px"}
7979

80-
* Magento supports autocomplete for all nesting levels of options which have static interface. If an option doesn't have defined interface, the additional property is used to declare option name and type:
80+
* Magento supports autocomplete for all nesting levels of options which have static interface. If an option doesn't have defined interface, the additional property is used to declare option name and type:
8181

8282
![no defined interface]({{ site.baseurl }}/common/images/ui_comps/no_type.png){:width="410px"}
8383

@@ -89,19 +89,19 @@ When editing XML configuration files in an IDE, you get visual notifications if
8989

9090
{% collapsible Illustration %}
9191

92-
* If the node name is misspelled:
92+
* If the node name is misspelled:
9393

9494
![first_way_ui_components_declaration]({{ site.baseurl }}/common/images/ui_comps/validation1.png){:width="410px"}
9595

96-
* If the required attribute is missing:
96+
* If the required attribute is missing:
9797

9898
![first_way_ui_components_declaration]({{ site.baseurl }}/common/images/ui_comps/validation2.png){:width="410px"}
9999

100-
* The tooltip displayed if you move the pointer over the underlined element:
100+
* The tooltip displayed if you move the pointer over the underlined element:
101101

102102
![first_way_ui_components_declaration]({{ site.baseurl }}/common/images/ui_comps/validation3.png){:width="410px"}
103103

104-
* Validating the complete file:
104+
* Validating the complete file:
105105

106106
![first_way_ui_components_declaration]({{ site.baseurl }}/common/images/ui_comps/validation_file.png){:width="520px"}
107107
![first_way_ui_components_declaration]({{ site.baseurl }}/common/images/ui_comps/validation_messages.png)

guides/v2.2/ui_comp_guide/components/ui-actionscolumn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ The ActionsColumns component implements a table's column responsible for display
9191

9292
Extends [`Column`]({{ page.baseurl }}/ui_comp_guide/components/ui-column.html):
9393

94-
- [`app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js)
94+
- [`app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/columns/actions.js)

guides/v2.2/ui_comp_guide/components/ui-bookmarks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Option | Description | Type | Default Value
2020

2121
Extends [`uiCollection`]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uicollection_concept.html):
2222

23-
- [`app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js)
23+
- [`app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/controls/bookmarks/bookmarks.js)

guides/v2.2/ui_comp_guide/components/ui-button.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ The Button component appears below a Listing component on the page, as follows:
6767

6868
Extends [`UiElement`]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uielement_concept.html):
6969

70-
- [`Magento/Ui/view/base/web/js/form/components/button.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/form/components/button.js)
70+
- [`Magento/Ui/view/base/web/js/form/components/button.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/form/components/button.js)

guides/v2.2/ui_comp_guide/components/ui-column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ The Column component implements a basic column in [Listing]({{ page.baseurl }}/u
139139

140140
Extends [`UiElement`]({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_uielement_concept.html):
141141

142-
- [`Magento/Ui/view/base/web/js/grid/columns/column.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/columns/column.js)
142+
- [`Magento/Ui/view/base/web/js/grid/columns/column.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/grid/columns/column.js)

guides/v2.2/ui_comp_guide/concepts/ui_comp_data_source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Every Javascript component should extend the core Element class in some way (map
7777

7878
The properties Magento will parse are:
7979

80-
- `imports`
81-
- `exports`
80+
- `imports`
81+
- `exports`
8282
- `links`
8383

8484
The `links` property is the same as duplicating a value in both `imports` and `exports`. Each of those properties expect an object that contains key/value pairs to bind the expression to. In the example above, it would appear in the `defaults` property like this:

guides/v2.2/ui_comp_guide/concepts/ui_comp_modifier_concept.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ To add a PHP modifier for a UI component, take the following steps:
2121

2222
In your custom module, add a class that implements [`\Magento\Ui\DataProvider\Modifier\ModifierInterface`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/DataProvider/Modifier/ModifierInterface.php) with the following methods:
2323

24-
- `modifyData()`: for modifying UI component's data (for example, the list of options for a select element)
25-
- `modifyMeta()`: for modifying UI component's [metadata](https://glossary.magento.com/metadata) (for example, name, label, description, type)
24+
- `modifyData()`: for modifying UI component's data (for example, the list of options for a select element)
25+
- `modifyMeta()`: for modifying UI component's [metadata](https://glossary.magento.com/metadata) (for example, name, label, description, type)
2626

2727
Sample modifier:
2828

@@ -107,5 +107,5 @@ To use your modifier, add a dependency on [`\Magento\Ui\DataProvider\Modifier\Po
107107

108108
## Related reading
109109

110-
- [Dependency injection]( {{ page.baseurl }}/extension-dev-guide/depend-inj.html)
111-
- [How Do I: Customize product creation form]({{ page.baseurl }}/howdoi/customize_product.html)
110+
- [Dependency injection]( {{ page.baseurl }}/extension-dev-guide/depend-inj.html)
111+
- [How Do I: Customize product creation form]({{ page.baseurl }}/howdoi/customize_product.html)

guides/v2.2/ui_comp_guide/concepts/ui_comp_uiclass_concept.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The uiClass class introduces the architecture of UI components through the follo
1717
As an example:
1818
%componentName%.extend(%JavaScript_extender_object%);
1919

20-
* The `initConfig()` method processes the UI component's configurations. The `initConfig()` method gets as a parameter the JavaScript configuration object, which is then merged with the default configuration (declared in the UI Component that calls the `initConfig()` method) and in the parent [UI component](https://glossary.magento.com/ui-component). This resulting configuration is then set as first level properties in the current UI component instance.
20+
* The `initConfig()` method processes the UI component's configurations. The `initConfig()` method gets as a parameter the JavaScript configuration object, which is then merged with the default configuration (declared in the UI Component that calls the `initConfig()` method) and in the parent [UI component](https://glossary.magento.com/ui-component). This resulting configuration is then set as first level properties in the current UI component instance.
2121

2222
As an example:
2323

@@ -36,7 +36,7 @@ console.log(this.myFirstProperty) // 0
3636
console.log(this.mySecondProperty) // 1
3737
```
3838

39-
* The `initialize()` method is called during instantiation. It can be used to add custom functionality executed only once, during component instance creation.
39+
* The `initialize()` method is called during instantiation. It can be used to add custom functionality executed only once, during component instance creation.
4040

4141
As an example:
4242

@@ -48,7 +48,7 @@ initialize: function () {
4848
}
4949
```
5050

51-
* The `_super()` method calls the parent UI component method with the same name as the `_super()` method's caller; if that method does not exists in the parent UI component, then the method tries to find it higher in the inheritance chain.
51+
* The `_super()` method calls the parent UI component method with the same name as the `_super()` method's caller; if that method does not exists in the parent UI component, then the method tries to find it higher in the inheritance chain.
5252

5353
As an example:
5454

guides/v2.2/ui_comp_guide/concepts/ui_comp_uilayout_concept.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ The example module referenced in the following examples uses `OrangeCo` as its c
6464

6565
It also assumes the existence of the following files:
6666

67-
* `app/code/OrangeCo/Sample/view/base/web/js/my-new-component.js`
68-
* `app/code/OrangeCo/Sample/view/base/web/templates/my-new-component/main-template.html`
67+
* `app/code/OrangeCo/Sample/view/base/web/js/my-new-component.js`
68+
* `app/code/OrangeCo/Sample/view/base/web/templates/my-new-component/main-template.html`
6969

7070
### Create a child component
7171

guides/v2.3/ui_comp_guide/bk-ui_comps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ An instance of a UI component is usually based on the hierarchy of child UI comp
8282

8383
For example:
8484

85-
* the Form component has Fieldsets, Tabs, and inner fields
85+
* the Form component has Fieldsets, Tabs, and inner fields
8686

87-
* the Listing component has Filters, Columns, Bookmark component, and others
87+
* the Listing component has Filters, Columns, Bookmark component, and others
8888

8989
### JavaScript class
9090

guides/v2.3/ui_comp_guide/components/image-uploader/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This component is a variation of the [FileUploader component]({{ page.baseurl }}
1717

1818
Extends [`FileUploader`]({{ page.baseurl }}/ui_comp_guide/components/ui-fileuploader.html):
1919

20-
- [`app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js)
21-
- [`app/code/Magento/Ui/view/base/web/templates/form/element/uploader/image.html`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/templates/form/element/uploader/image.html)
22-
- [`app/code/Magento/Ui/view/base/ui_component/etc/definition/imageUploader.xsd`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/ui_component/etc/definition/imageUploader.xsd)
23-
- [`app/code/Magento/Ui/Component/Form/Element/DataType/Media/Image.php`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/Component/Form/Element/DataType/Media/Image.php)
20+
- [`app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/js/form/element/image-uploader.js)
21+
- [`app/code/Magento/Ui/view/base/web/templates/form/element/uploader/image.html`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/web/templates/form/element/uploader/image.html)
22+
- [`app/code/Magento/Ui/view/base/ui_component/etc/definition/imageUploader.xsd`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/view/base/ui_component/etc/definition/imageUploader.xsd)
23+
- [`app/code/Magento/Ui/Component/Form/Element/DataType/Media/Image.php`]({{ site.mage2bloburl }}/{{ page.guide_version }}/app/code/Magento/Ui/Component/Form/Element/DataType/Media/Image.php)

guides/v2.3/ui_comp_guide/components/ui-colorpicker.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ The ColorPicker component must be a child of the [Listing]({{ page.baseurl }}/ui
1717

1818
## Sources files
1919

20-
- [app/code/Magento/Ui/view/base/ui_component/etc/definition/colorPicker.xsd]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/ui_component/etc/definition/colorPicker.xsd)
21-
- [app/code/Magento/Ui/view/base/web/js/form/element/colorPicker.js]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/js/form/element/color-picker.js)
22-
- [app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/colorPicker.js]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/color-picker.js)
23-
- [app/code/Magento/Ui/view/base/web/templates/form/element/colorPicker.html]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/templates/form/element/color-picker.html)
24-
- [lib/web/jquery/spectrum/spectrum.js]({{ site.mage2bloburl }}/{{page.guide_version}}/lib/web/jquery/spectrum/spectrum.js)
25-
- [lib/web/jquery/spectrum/tinycolor.js]({{ site.mage2bloburl }}/{{page.guide_version}}/lib/web/jquery/spectrum/tinycolor.js)
20+
- [app/code/Magento/Ui/view/base/ui_component/etc/definition/colorPicker.xsd]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/ui_component/etc/definition/colorPicker.xsd)
21+
- [app/code/Magento/Ui/view/base/web/js/form/element/colorPicker.js]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/js/form/element/color-picker.js)
22+
- [app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/colorPicker.js]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/color-picker.js)
23+
- [app/code/Magento/Ui/view/base/web/templates/form/element/colorPicker.html]({{ site.mage2bloburl }}/{{page.guide_version}}/app/code/Magento/Ui/view/base/web/templates/form/element/color-picker.html)
24+
- [lib/web/jquery/spectrum/spectrum.js]({{ site.mage2bloburl }}/{{page.guide_version}}/lib/web/jquery/spectrum/spectrum.js)
25+
- [lib/web/jquery/spectrum/tinycolor.js]({{ site.mage2bloburl }}/{{page.guide_version}}/lib/web/jquery/spectrum/tinycolor.js)
2626

2727
## Examples
2828

guides/v2.3/ui_comp_guide/components/wysiwyg/extension-points/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Copy the appropriate icon file into your plugin's specific icon or image directo
3535

3636
For example, in a CKEditor4 plugin, these icons would be found copied to the following locations:
3737

38-
* `app/code/CKEditor/CKEditor4/view/base/web/js/ckeditor4/plugins/variable/icons/variable.png`
39-
* `app/code/CKEditor/CKEditor4/view/base/web/js/ckeditor4/plugins/widget/icons/widget.png`
38+
* `app/code/CKEditor/CKEditor4/view/base/web/js/ckeditor4/plugins/variable/icons/variable.png`
39+
* `app/code/CKEditor/CKEditor4/view/base/web/js/ckeditor4/plugins/widget/icons/widget.png`
4040

4141
### Step 3. Implement plugin functionality
4242

@@ -119,7 +119,7 @@ CKEDITOR.plugins.add('variable', {
119119

120120
To integrate the default Magento UI for variable, you must have access to the following data:
121121

122-
* backend URL to load the `variable_modal`
122+
* backend URL to load the `variable_modal`
123123

124124
**Example:** method that returns this url
125125
``` js
@@ -128,7 +128,7 @@ public function getVariablesWysiwygActionUrl()
128128
return $this->_url->getUrl('mui/index/render', ['namespace' => 'variables_modal']);
129129
}
130130
```
131-
* htmlId of the WYSIWYG editor.
131+
* htmlId of the WYSIWYG editor.
132132
For CKEditor4, you can get this by calling `editor.element.getId()`.
133133

134134
#### Widget Entity
@@ -251,8 +251,8 @@ CKEDITOR.plugins.add('widget', {
251251

252252
To integrate the default Magento UI for widgets, you need access to the following data:
253253

254-
* The backend `widget_window_url` (`\Magento\Widget\Model\Widget\Config::getWidgetWindowUrl`)
255-
* htmlId of the WYSIWYG editor.
254+
* The backend `widget_window_url` (`\Magento\Widget\Model\Widget\Config::getWidgetWindowUrl`)
255+
* htmlId of the WYSIWYG editor.
256256
For CKEditor4, you can get this by calling `editor.element.getId()`.
257257

258258
#### Media Gallery Entity

redoc/2.3/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ The list of Admin REST API endpoints contains a large number of endpoints and ta
1717

1818
Each of the following links lead to a list of REST endpoints specific to a user type:
1919

20-
* [Admin REST API endpoints]({{site.baseurl}}/redoc/2.3/admin-rest-api.html) - Available using an admin security token.
20+
* [Admin REST API endpoints]({{site.baseurl}}/redoc/2.3/admin-rest-api.html) - Available using an admin security token.
2121

22-
* [Customer REST API endpoints]({{site.baseurl}}/redoc/2.3/customer-rest-api.html) - Available using a customer security token
22+
* [Customer REST API endpoints]({{site.baseurl}}/redoc/2.3/customer-rest-api.html) - Available using a customer security token
2323

24-
* [Guest REST API endpoints]({{site.baseurl}}/redoc/2.3/guest-rest-api.html) - Available for anonymous users
24+
* [Guest REST API endpoints]({{site.baseurl}}/redoc/2.3/guest-rest-api.html) - Available for anonymous users
2525

2626
## Asynchronous endpoints
2727

2828
You can run POST and PUT endpoints asynchronously while the `async.operations.all` message queue consumer is active. [Asynchronous web endpoints]({{page.baseurl}}/rest/asynchronous-web-endpoints.html) provides information about asynchronous routes, payloads, and responses.
2929

30-
* [Admin REST API endpoints]({{site.baseurl}}/redoc/2.3/async-admin-rest-api.html) - Available using an admin security token.
30+
* [Admin REST API endpoints]({{site.baseurl}}/redoc/2.3/async-admin-rest-api.html) - Available using an admin security token.
3131

32-
* [Customer REST API endpoints]({{site.baseurl}}/redoc/2.3/async-customer-rest-api.html) - Available using a customer security token
32+
* [Customer REST API endpoints]({{site.baseurl}}/redoc/2.3/async-customer-rest-api.html) - Available using a customer security token
3333

34-
* [Guest REST API endpoints]({{site.baseurl}}/redoc/2.3/async-guest-rest-api.html) - Available for anonymous users
34+
* [Guest REST API endpoints]({{site.baseurl}}/redoc/2.3/async-guest-rest-api.html) - Available for anonymous users
3535

3636
[Token-based authentication]: {{page.baseurl}}/get-started/authentication/gs-authentication-token.html

0 commit comments

Comments
 (0)