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

Commit 7ebca1f

Browse files
authored
Merge branch 'master' into ok_tech-guidelines-factories
2 parents 238c64b + 6d18abc commit 7ebca1f

File tree

6,248 files changed

+285223
-441597
lines changed

Some content is hidden

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

6,248 files changed

+285223
-441597
lines changed

.github/CONTRIBUTING.md

Lines changed: 73 additions & 45 deletions
Large diffs are not rendered by default.

.github/MAINTAINER_GUIDELINES.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# DevDocs maintainer guidelines
2+
3+
In general, the same [guidelines](https://devdocs.magento.com/guides/v2.3/contributor-guide/maintainers.html) for [`magento/magento2`](https://github.com/magento/magento2) maintainers apply to devdocs maintainers. However, there are some additional guidelines specific to devdocs that will help you as a maintainer.
4+
5+
## General expectations
6+
7+
- Self assign issues/pull requests (mostly pull requests)
8+
- Review and approve or request changes
9+
- Enforce the use of the issue/pull requests template
10+
- Ask contributors to link to the code base to validate documentation updates when applicable
11+
- Ask contributors not to contribute to v2.0 docs
12+
- If a maintainer creates a pull request, it should be reviewed by another maintainer or DevDocs staff member
13+
14+
## Labels
15+
16+
Labels are important because they help us identify pull requests and ensure that contributors receive points and recognition. See [devdocs awards and points](https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#devdocs-awards-and-points).
17+
18+
Here is a brief summary of the most important labels:
19+
20+
- `New Topic`: Entirely new documents
21+
- `Major Update`: Significant new info: new section in existing topic, etc.
22+
- `Technical`: Changes to technical content/code/processes/naming conventions (any change to technical content)
23+
- `Editorial`: Typos, grammatical inconsistencies, or minor rewrites
24+
- `small changes`: See [Small changes workflow](#small-changes-workflow)
25+
26+
We also use version labels when appropriate.
27+
28+
As a maintainer, we expect you to add or remove labels when appropriate.
29+
30+
See https://github.com/magento/devdocs/labels for all labels and their descriptions.
31+
32+
## Testing
33+
34+
Currently, we only test internal links. In the future, we plan to expand tests to include external links, markdown linting, and spell checking.
35+
36+
We use private CI/CD stack and do not provide access to it.
37+
38+
Every pull request to the `master` branch must pass tests before it can be merged. When a pull request is ready for tests, a member of the [`devdocs-admins`](https://github.com/orgs/magento/teams/devdocs-admins) team must add the test trigger phrase to the pull request as a comment. The trigger phrase is "_running tests_". By approving a pull request, you are signalling an admin that the pull request is ready for tests.
39+
40+
## Projects
41+
42+
We use several projects to help organize issues and pull requests. You can add existing issues and pull requests to these projects as you see fit.
43+
44+
https://github.com/magento/devdocs/projects
45+
46+
## Style
47+
48+
We prefer Markdown over HTML (in most cases). You can use [kramdown](https://kramdown.gettalong.org/syntax.html) syntax for more markup features and [Liquid](https://jekyllrb.com/docs/liquid/) for in-topic scripting.
49+
50+
## Small changes workflow
51+
52+
Before merging a pull request to the `master` branch, it must pass automated testing. Testing takes about 30 minutes to complete for each pull request, so we created a workflow to save time for small changes.
53+
54+
- **Individual pull requests to `master`**—15 individual pull requests to `master` x 30 minutes per pull request = 7.5 hrs of testing time
55+
- **Multiple pull requests using `small_changes`**—1 `small_changes` pull request (containing 15 individual pull requests) to `master` x 30 minutes = 30 minutes of testing time
56+
57+
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.
58+
59+
Periodically, we will create a pull request from `small_changes` to `master` and then run tests on that pull request to save time.
60+
61+
### Process
62+
63+
1. Review the pull request and either approve it or request changes.
64+
1. Apply the `Small changes` label if one of the following labels should also be applied:
65+
66+
- `Editorial`
67+
- `Technical`
68+
69+
1. That's it! A devdocs-admin will run tests and merge.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,31 @@
1-
## This PR is a:
1+
<!-- # IMPORTANT
22
3-
- [ ] New topic
4-
- [ ] Content update
5-
- [ ] Content fix or rewrite
6-
- [ ] Bug fix or improvement
3+
We are no longer accepting pull requests to update v2.1 devdoc files.
74
8-
## Summary
5+
Magento 2.1.18 is the final 2.1.x release. After the [June 2019 end-of-support date](https://magento.com/sites/default/files/magento-software-lifecycle-policy.pdf), Magento will no longer apply security patches, quality fixes, or documentation updates to v2.1.x. To maintain your site's performance, security, and PCI compliance, [upgrade](https://devdocs.magento.com/guides/v2.3/comp-mgr/bk-compman-upgrade-guide.html) to the latest version of Magento. -->
96

10-
When this pull request is merged, it will...
7+
## Purpose of this pull request
118

12-
<!-- (REQUIRED) What does this PR change? -->
9+
<!-- REQUIRED Describe the goal and the type of changes this pull request covers. -->
1310

14-
## Additional information
11+
This pull request (PR) ...
1512

16-
List all affected URLs
13+
## Affected DevDocs pages
1714

18-
- ...
19-
- ...
15+
<!-- REQUIRED List the affected pages on devdocs.magento.com (URLs). Not needed for large numbers of files. -->
2016

21-
<!-- (REQUIRED) The Url that this PR will modify -->
17+
- ...
2218

23-
<!-- (OPTIONAL) What other information can you provide about this PR? -->
19+
## Links to Magento source code
2420

25-
<!--
26-
Thank you for your contribution!
21+
<!-- OPTIONAL - REMOVE THIS SECTION IF NOT USED. If this pull request references a file in a Magento codebase repository, add it here. -->
2722

28-
Before submitting this pull request, please make sure you have read our Contribution Guidelines and your PR meets our contribution standards:
29-
https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md
23+
- ...
3024

31-
Please fill out as much information as you can about your PR to help speed up the review process.
32-
If your PR addresses an existing GitHub Issue, please refer to it in the title or Additional Information section to make the connection.
25+
<!--
26+
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`
3327
34-
We may ask you for changes in your PR in order to meet the standards set in our Contribution Guidelines. PR's that do not comply with our guidelines may be closed at the maintainers' discretion.
28+
`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 the `develop` branch.
3529
36-
Feel free to remove this section before creating this PR.
30+
See Contribution guidelines (https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md) for more information.
3731
-->

.gitignore

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,16 @@
22
######################
33
/*.db
44
.DS_Store
5+
.vscode
56

67
# Config and output files #
78
###########################
89

910
/_site/
1011

11-
/.*
12-
!/.github
13-
!/.github/**
14-
15-
/*.yml
16-
!/_config.yml
17-
!/_config.prod.yml
18-
!/_config.checks.yml
19-
!/_config.stage.yml
12+
_config.local.yml
13+
.jekyll-metadata
14+
.whatsup.yml
2015

2116
*.bat
2217
/tmp/
@@ -30,4 +25,12 @@ _algolia_api_key
3025

3126
/mbi/
3227
/page-builder/
28+
/page-builder-migration/
3329
/guides/m1x/
30+
/mftf/
31+
32+
# Docs from different branches #
33+
###################################
34+
35+
/guides/v2.0/
36+
/guides/v2.1/

.mdlrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style '_checks/md_style'

Docfile.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
content_map:
2+
-
3+
directory: guides/m1x
4+
repository: magento/devdocs-m1
5+
branch: master
6+
filter: false
7+
-
8+
directory: mbi
9+
repository: magento/devdocs-mbi
10+
branch: master
11+
filter: true
12+
-
13+
directory: mftf
14+
repository: magento/magento2-functional-testing-framework
15+
branch: master
16+
filter: true
17+
-
18+
directory: page-builder
19+
repository: magento/magento2-page-builder
20+
branch: 1.0-develop
21+
filter: true
22+
-
23+
directory: page-builder-migration
24+
repository: magento/magento2-page-builder-data-migration
25+
branch: 1.0.0-release
26+
filter: true
27+

Gemfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@ source 'https://rubygems.org'
44

55
gem 'devdocs', git: 'https://github.com/magento-devdocs/devdocs-theme.git'
66
gem 'jekyll'
7+
gem 'whatsup_github'
78

8-
gem 'wdm' if Gem.win_platform?
9+
gem 'wdm', platform: :mswin
910

1011
group :test do
1112
gem 'html-proofer'
13+
gem 'mdl'
1214
gem 'launchy'
1315
end
1416

17+
group :optimization do
18+
gem 'image_optim'
19+
gem 'image_optim_pack'
20+
end
21+
1522
group :jekyll_plugins do
1623
gem 'jekyll-algolia', '~> 1.0'
1724
gem 'jekyll-redirect-from'

Gemfile.lock

Lines changed: 64 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
GIT
22
remote: https://github.com/magento-devdocs/devdocs-theme.git
3-
revision: dcb189be6fd4e0ebc69dce7cd6cdeb3b960b3a9e
3+
revision: 5ce6bf94dbf827682b1f83d5e3c4fbc4c4f69478
44
specs:
5-
devdocs (0.0.1)
6-
jekyll (~> 3.3)
5+
devdocs (2)
6+
jekyll (>= 3.3)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
activesupport (5.2.2)
11+
activesupport (5.2.3)
1212
concurrent-ruby (~> 1.0, >= 1.0.2)
1313
i18n (>= 0.7, < 2)
1414
minitest (~> 5.1)
@@ -23,16 +23,20 @@ GEM
2323
json (>= 1.5.1)
2424
colorator (1.1.0)
2525
colorize (0.8.1)
26-
concurrent-ruby (1.1.4)
26+
concurrent-ruby (1.1.5)
2727
em-websocket (0.5.1)
2828
eventmachine (>= 0.12.9)
2929
http_parser.rb (~> 0.6.0)
3030
ethon (0.12.0)
3131
ffi (>= 1.3.0)
3232
eventmachine (1.2.7)
33-
ffi (1.10.0)
33+
exifr (1.3.6)
34+
faraday (0.15.4)
35+
multipart-post (>= 1.2, < 3)
36+
ffi (1.11.1)
3437
filesize (0.2.0)
3538
forwardable-extended (2.6.0)
39+
fspath (3.1.1)
3640
html-proofer (3.9.3)
3741
activesupport (>= 4.2, < 6.0)
3842
addressable (~> 2.3)
@@ -46,7 +50,18 @@ GEM
4650
httpclient (2.8.3)
4751
i18n (0.9.5)
4852
concurrent-ruby (~> 1.0)
49-
jekyll (3.8.5)
53+
image_optim (0.26.4)
54+
exifr (~> 1.2, >= 1.2.2)
55+
fspath (~> 3.0)
56+
image_size (>= 1.5, < 3)
57+
in_threads (~> 1.3)
58+
progress (~> 3.0, >= 3.0.1)
59+
image_optim_pack (0.5.3)
60+
fspath (>= 2.1, < 4)
61+
image_optim (~> 0.19)
62+
image_size (2.0.1)
63+
in_threads (1.5.2)
64+
jekyll (3.8.6)
5065
addressable (~> 2.4)
5166
colorator (~> 1.0)
5267
em-websocket (~> 0.5)
@@ -70,62 +85,87 @@ GEM
7085
verbal_expressions (~> 0.1.5)
7186
jekyll-optional-front-matter (0.3.0)
7287
jekyll (~> 3.0)
73-
jekyll-redirect-from (0.14.0)
74-
jekyll (~> 3.3)
88+
jekyll-redirect-from (0.15.0)
89+
jekyll (>= 3.3, < 5.0)
7590
jekyll-relative-links (0.6.0)
7691
jekyll (~> 3.3)
7792
jekyll-sass-converter (1.5.2)
7893
sass (~> 3.4)
79-
jekyll-sitemap (1.2.0)
80-
jekyll (~> 3.3)
94+
jekyll-sitemap (1.3.1)
95+
jekyll (>= 3.7, < 5.0)
8196
jekyll-titles-from-headings (0.5.1)
8297
jekyll (~> 3.3)
83-
jekyll-watch (2.1.2)
98+
jekyll-watch (2.2.1)
8499
listen (~> 3.0)
85-
json (2.1.0)
100+
json (2.2.0)
86101
kramdown (1.17.0)
87102
launchy (2.4.3)
88103
addressable (~> 2.3)
89-
liquid (4.0.1)
104+
liquid (4.0.3)
90105
listen (3.1.5)
91106
rb-fsevent (~> 0.9, >= 0.9.4)
92107
rb-inotify (~> 0.9, >= 0.9.7)
93108
ruby_dep (~> 1.2)
109+
mdl (0.5.0)
110+
kramdown (~> 1.12, >= 1.12.0)
111+
mixlib-cli (~> 1.7, >= 1.7.0)
112+
mixlib-config (~> 2.2, >= 2.2.1)
94113
mercenary (0.3.6)
95114
mini_portile2 (2.3.0)
96115
minitest (5.11.3)
116+
mixlib-cli (1.7.0)
117+
mixlib-config (2.2.18)
118+
tomlrb
119+
multipart-post (2.1.1)
120+
netrc (0.11.0)
97121
nokogiri (1.8.5)
98122
mini_portile2 (~> 2.3.0)
99-
parallel (1.13.0)
123+
octokit (4.14.0)
124+
sawyer (~> 0.8.0, >= 0.5.3)
125+
parallel (1.17.0)
100126
pathutil (0.16.2)
101127
forwardable-extended (~> 2.6)
102-
progressbar (1.10.0)
103-
public_suffix (3.0.3)
128+
progress (3.5.1)
129+
progressbar (1.10.1)
130+
public_suffix (3.1.1)
104131
rb-fsevent (0.10.3)
105132
rb-inotify (0.10.0)
106133
ffi (~> 1.0)
107-
rouge (3.3.0)
134+
rouge (3.5.1)
108135
ruby_dep (1.5.0)
109-
safe_yaml (1.0.4)
110-
sass (3.7.3)
136+
safe_yaml (1.0.5)
137+
sass (3.7.4)
111138
sass-listen (~> 4.0.0)
112139
sass-listen (4.0.0)
113140
rb-fsevent (~> 0.9, >= 0.9.4)
114141
rb-inotify (~> 0.9, >= 0.9.7)
142+
sawyer (0.8.2)
143+
addressable (>= 2.3.5)
144+
faraday (> 0.8, < 2.0)
145+
thor (0.20.3)
115146
thread_safe (0.3.6)
147+
tomlrb (1.2.8)
116148
typhoeus (1.3.1)
117149
ethon (>= 0.9.0)
118150
tzinfo (1.2.5)
119151
thread_safe (~> 0.1)
120152
verbal_expressions (0.1.5)
121-
yell (2.0.7)
153+
wdm (0.1.1)
154+
whatsup_github (0.0.1)
155+
netrc (~> 0.10)
156+
octokit (~> 4.14)
157+
thor (~> 0.20)
158+
yell (2.2.0)
122159

123160
PLATFORMS
124161
ruby
162+
x86-mswin32
125163

126164
DEPENDENCIES
127165
devdocs!
128166
html-proofer
167+
image_optim
168+
image_optim_pack
129169
jekyll
130170
jekyll-algolia (~> 1.0)
131171
jekyll-optional-front-matter
@@ -134,6 +174,9 @@ DEPENDENCIES
134174
jekyll-sitemap
135175
jekyll-titles-from-headings
136176
launchy
177+
mdl
178+
wdm
179+
whatsup_github
137180

138181
BUNDLED WITH
139182
1.17.3

0 commit comments

Comments
 (0)