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

Commit b9d3b9f

Browse files
committed
Enabled rule MD009
Removed trailing spaces
1 parent 794b712 commit b9d3b9f

File tree

207 files changed

+379
-381
lines changed

Some content is hidden

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

207 files changed

+379
-381
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ As you contribute PRs, you gain [Contribution Points](https://devdocs.magento.co
1313

1414
If you write and contribute a full topic, we will add your name (or your company's name) at the top of the MerchDocs page and link it to your blog or website!
1515

16-
## Get started
16+
## Get started
1717

1818
![Get started workflow](https://github.com/magento/merchdocs/wiki/images/merchdocs-fork.png)
1919

.github/MAINTAINER_GUIDELINES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ We prefer Markdown over HTML (in most cases). You can use [kramdown](https://kra
4949

5050
## Small changes workflow
5151

52-
Before merging a pull request to the `master` branch, it must pass automated testing. Testing takes about 15 minutes to complete for each pull request, so we created a workflow to save time for small changes. Testing for each PR requires some time, no matter the size of the change set. For items with small changes, it is more efficient to group them together to lessen the load on the testing system.
52+
Before merging a pull request to the `master` branch, it must pass automated testing. Testing takes about 15 minutes to complete for each pull request, so we created a workflow to save time for small changes. Testing for each PR requires some time, no matter the size of the change set. For items with small changes, it is more efficient to group them together to lessen the load on the testing system.
5353

5454
This workflow is for typos, formatting issues, and minor text additions or deletions. It is not for substantial new content, changes to tables, new files, or files that have been moved.
5555

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ This pull request (PR) ...
2828

2929
<!-- (OPTIONAL) What other information can you provide? -->
3030

31-
<!--
31+
<!--
3232
If you are fixing a GitHub issue, note it using GitHub keyword format (https://help.github.com/en/articles/closing-issues-using-keywords#closing-an-issue-in-a-different-repository) to close the issue when this pull request is merged. Example: `Fixes #1234`
3333
3434
`master` is the default branch. Merged pull requests to `master` go live on the site automatically. Any requested changes to content on the `master` branch must be related to the released codebase. Any content related to future releases goes in a release integration branch.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Licensed under the Open Software License version 3.0
1515

1616
4. to perform the Original Work publicly; and
1717

18-
5. to display the Original Work publicly.
18+
5. to display the Original Work publicly.
1919

2020
2. Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works.
2121

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ If you have Ruby installed on the workstation, then you can skip this installati
195195
- In the Windows UI, open search and type `path`.
196196
- In the Windows CMD console, type `echo %path%`.
197197

198-
> **NOTE**
198+
> **NOTE**
199199
> If you encounter problems with Ruby, or the `gem` command is not recognized, you can install the `rubyinstaller-devkit.exe` development kit located in the `c:ProgramDatachocolateybin` folder.
200200

201201
### Install Git for Windows
@@ -267,5 +267,5 @@ You may have to close and reopen the Git Bash application after the Choco instal
267267
Server running... press ctrl-c to stop.
268268
```
269269

270-
> **NOTE**
270+
> **NOTE**
271271
> The `.bash_profile` file CAN be created and managed using Git Bash, which is useful for aliases and other customizations, This file is in the `users/Administrator` folder.)

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ task :index do
4545

4646
puts "Generating index for Algolia: Open Source ...".magenta
4747
sh "bin/jekyll algolia --config=_config.yml,_config.index.yml,_config.ce.yml"
48-
48+
4949
puts "Generating index for Algolia: Commerce ...".magenta
5050
sh "bin/jekyll algolia --config=_config.yml,_config.index.yml,_config.ee.yml"
51-
51+
5252
puts "Generating index for Algolia: B2B ...".magenta
5353
sh "bin/jekyll algolia --config=_config.yml,_config.index.yml,_config.b2b.yml"
5454
end

_checks/styles/style-rules-dev

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude_rule 'MD004'
55
exclude_rule 'MD005'
66
exclude_rule 'MD006'
77
exclude_rule 'MD007'
8-
exclude_rule 'MD009'
8+
rule 'MD009' # no trailing spaces
99
exclude_rule 'MD010'
1010
exclude_rule 'MD011'
1111
exclude_rule 'MD012'

_checks/styles/style-rules-prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exclude_rule 'MD004'
55
exclude_rule 'MD005'
66
exclude_rule 'MD006'
77
exclude_rule 'MD007'
8-
exclude_rule 'MD009'
8+
rule 'MD009' # no trailing spaces
99
exclude_rule 'MD010'
1010
exclude_rule 'MD011'
1111
exclude_rule 'MD012'

_config.checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ html-proofer:
1818

1919
# Sort errors by description in the report
2020
:error_sort: :desc
21-
21+
2222
# Use up to 3 parallel processes to speed up internal file checks.
2323
:parallel:
2424
:in_processes: 3

_config.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
title: Magento User Guide
22

3-
description: Merchant documentation and tutorials to help you manage a Magento store
3+
description: Merchant documentation and tutorials to help you manage a Magento store
44
logo: User Guide
55
baseurl: ''
66
markdown_ext: "markdown,mkdown,mkdn,mkd,md"
@@ -11,14 +11,14 @@ source: src
1111
plugins_dir: ./_plugins
1212

1313
version: 2.3
14-
editions:
15-
-
14+
editions:
15+
-
1616
name: Open Source
1717
url: https://docs.magento.com/m2/ce/user_guide/getting-started.html
18-
-
18+
-
1919
name: Commerce
2020
url: https://docs.magento.com/m2/ee/user_guide/getting-started.html
21-
-
21+
-
2222
name: B2B
2323
url: https://docs.magento.com/m2/b2b/user_guide/getting-started.html
2424

@@ -61,7 +61,7 @@ defaults:
6161
scope:
6262
path: design
6363
values:
64-
group: content
64+
group: content
6565
-
6666
scope:
6767
path: getting-started
@@ -96,13 +96,13 @@ defaults:
9696
scope:
9797
path: system
9898
values:
99-
group: operations
99+
group: operations
100100
-
101101
scope:
102102
path: tax
103103
values:
104-
group: operations
105-
-
104+
group: operations
105+
-
106106
scope:
107107
path: reports
108108
values:
@@ -116,7 +116,7 @@ defaults:
116116
scope:
117117
path: shipping
118118
values:
119-
group: sales
119+
group: sales
120120
-
121121
scope:
122122
path: payment

_plugins/last-modified-at.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# This custom plugin dynamically sets the 'last_modified_at' parameter
55
# for each page except 'redirect.html' pages.
6-
# A value of the pararmeter is available as {{ page.last_modified_at }}.
6+
# A value of the parameter is available as {{ page.last_modified_at }}.
77
# The parameter contains date and time of the last commit that changed
88
# the original file.
99
# For available date formats, refer to https://git-scm.com/docs/git-log#git-log---dateltformatgt
@@ -15,7 +15,7 @@
1515
next unless File.extname(page.path).match?(/md|html/)
1616
# Do nothing for redirects
1717
next if page.name == 'redirect.html'
18-
18+
1919
source_dir = page.site.config['source']
2020

2121
real_filepath = File.realpath page.path, source_dir

src/_data/b2b/main-nav.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88

99
- label: Basic Configuration
1010
url: /configuration/configuration-basic.html
11-
11+
1212
- label: Configuration Reference
1313
url: /stores/configuration.html
1414

1515
- label: Magento Extensions
16-
url: /magento/magento-extensions.html
17-
16+
url: /magento/magento-extensions.html
17+
1818
- label: Change Log
1919
url: /magento/change-log.html
2020

2121
- label: Documentation Resources
22-
url: https://magento.com/technical-resources
22+
url: https://magento.com/technical-resources
2323

2424
- label: Catalog
2525
url: /catalog.html
2626
children:
27-
27+
2828
- label: Catalog Menu
2929
url: /catalog/catalog-menu.html
3030

@@ -61,7 +61,7 @@
6161
- label: Marketing
6262
url: /marketing.html
6363
children:
64-
64+
6565
- label: Marketing Menu
6666
url: /marketing/marketing-menu.html
6767

@@ -89,7 +89,7 @@
8989
- label: Content
9090
url: /content.html
9191
children:
92-
92+
9393
- label: Content Menu
9494
url: /cms/content-menu.html
9595

@@ -105,7 +105,7 @@
105105
- label: Customers
106106
url: /customers.html
107107
children:
108-
108+
109109
- label: Customers Menu
110110
url: /customers/customers-menu.html
111111

@@ -124,7 +124,7 @@
124124
- label: Sales
125125
url: /sales.html
126126
children:
127-
127+
128128
- label: Sales Menu
129129
url: /sales/sales-menu.html
130130

@@ -143,7 +143,7 @@
143143
- label: Operations
144144
url: /operations.html
145145
children:
146-
146+
147147
- label: Stores
148148
url: /stores/stores.html
149149

src/_data/b2b/toc/customers.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,15 @@ pages:
7878
- label: Company Users
7979
url: "/customers/account-dashboard-company-users.html"
8080
- label: Reward Points
81-
url: "/customers/account-dashboard-reward-points.html"
81+
url: "/customers/account-dashboard-reward-points.html"
8282
- label: Gift Registry
83-
url: "/customers/account-dashboard-gift-registry.html"
83+
url: "/customers/account-dashboard-gift-registry.html"
8484
- label: My Product Reviews
8585
url: "/customers/account-dashboard-my-product-reviews.html"
8686
- label: Newsletter Subscription
8787
url: "/customers/account-dashboard-newsletter-subscriptions.html"
8888
- label: My Invitations
89-
url: "/customers/account-dashboard-my-invitations.html"
89+
url: "/customers/account-dashboard-my-invitations.html"
9090
- label: Company Accounts
9191
url: "/customers/account-companies.html"
9292
children:

src/_data/b2b/toc/marketing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ pages:
356356
- label: Discount with Minimum Purchase
357357
url: "/marketing/price-rule-discount-minimum-purchase.html"
358358
- label: Discount with First Purchase
359-
url: "/marketing/price-rule-discount-first-purchase.html"
359+
url: "/marketing/price-rule-discount-first-purchase.html"
360360
- label: Related Product Rules
361361
url: "/marketing/product-related-rules.html"
362362
children:

src/_data/b2b/toc/operations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ pages:
322322
url: "/reports/business-intelligence.html"
323323
children:
324324
- label: Advanced Reporting
325-
url: "/reports/advanced-reporting.html"
325+
url: "/reports/advanced-reporting.html"
326326
- label: BI Essentials
327327
url: "https://docs.magento.com/mbi/getting-started/getting-started.html"
328328
- label: Customer Engagement

src/_data/ce/main-nav.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88

99
- label: Basic Configuration
1010
url: /configuration/configuration-basic.html
11-
11+
1212
- label: Configuration Reference
1313
url: /stores/configuration.html
1414

1515
- label: Magento Extensions
16-
url: /magento/magento-extensions.html
17-
16+
url: /magento/magento-extensions.html
17+
1818
- label: Change Log
1919
url: /magento/change-log.html
2020

2121
- label: Documentation Resources
22-
url: https://magento.com/technical-resources
22+
url: https://magento.com/technical-resources
2323

2424
- label: Catalog
2525
url: /catalog.html
2626
children:
27-
27+
2828
- label: Catalog Menu
2929
url: /catalog/catalog-menu.html
3030

@@ -58,10 +58,10 @@
5858
- label: Marketing
5959
url: /marketing.html
6060
children:
61-
61+
6262
- label: Marketing Menu
6363
url: /marketing/marketing-menu.html
64-
64+
6565
- label: Channels
6666
url: /sales-channels/sales-channels-home.html
6767

@@ -83,7 +83,7 @@
8383
- label: Content
8484
url: /content.html
8585
children:
86-
86+
8787
- label: Content Menu
8888
url: /cms/content-menu.html
8989

@@ -96,7 +96,7 @@
9696
- label: Customers
9797
url: /customers.html
9898
children:
99-
99+
100100
- label: Customers Menu
101101
url: /customers/customers-menu.html
102102

@@ -109,7 +109,7 @@
109109
- label: Sales
110110
url: /sales.html
111111
children:
112-
112+
113113
- label: Sales Menu
114114
url: /sales/sales-menu.html
115115

@@ -128,7 +128,7 @@
128128
- label: Operations
129129
url: /operations.html
130130
children:
131-
131+
132132
- label: Stores
133133
url: /stores/stores.html
134134

src/_data/ce/toc/marketing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ pages:
287287
- label: Configuring Wish Lists
288288
url: "/marketing/wishlist-configuration.html"
289289
- label: Updating Wish Lists
290-
url: "/marketing/wishlist-update.html"
290+
url: "/marketing/wishlist-update.html"
291291
- label: Sharing a Wish List
292292
url: "/marketing/wishlist-share.html"
293293
- label: Product Relationships
@@ -536,7 +536,7 @@ pages:
536536
url: "/marketing/google-tools.html"
537537
children:
538538
- label: Google Settings for GDPR
539-
url: "/stores/compliance-gdpr-google.html"
539+
url: "/stores/compliance-gdpr-google.html"
540540
- label: Google Analytics
541541
url: "/marketing/google-universal-analytics.html"
542542
- label: Google Content Experiments

src/_data/ce/toc/operations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ pages:
287287
url: "/reports/business-intelligence.html"
288288
children:
289289
- label: Advanced Reporting
290-
url: "/reports/advanced-reporting.html"
290+
url: "/reports/advanced-reporting.html"
291291
- label: BI Essentials
292292
url: "https://docs.magento.com/mbi/getting-started/getting-started.html"
293293
- label: Customer Engagement

0 commit comments

Comments
 (0)