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

Commit f5429b0

Browse files
authored
Merge pull request #3 from magento/master
Merging with upstream
2 parents aeac88c + 709e0fa commit f5429b0

File tree

1,624 files changed

+138500
-65249
lines changed

Some content is hidden

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

1,624 files changed

+138500
-65249
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ religion, or sexual identity and orientation.
1414
Examples of behavior that contributes to creating a positive environment
1515
include:
1616

17-
* Using welcoming and inclusive language
18-
* Being respectful of differing viewpoints and experiences
19-
* Gracefully accepting constructive criticism
20-
* Focusing on what is best for the community
21-
* Showing empathy towards other community members
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
2222

2323
Examples of unacceptable behavior by participants include:
2424

25-
* Using sexualized language or imagery and unwelcome sexual attention or
25+
* Using sexualized language or imagery and unwelcome sexual attention or
2626
advances
27-
* Trolling, insulting/derogatory comments, and personal or political attacks
28-
* Public or private harassment
29-
* Publishing others' private information, such as a physical or electronic
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
3030
address, without explicit permission
31-
* Other conduct which could reasonably be considered inappropriate in a
31+
* Other conduct which could reasonably be considered inappropriate in a
3232
professional setting
3333

3434
## Our Responsibilities

.github/CONTRIBUTING.md

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -58,33 +58,33 @@ The following diagram shows the contribution workflow:
5858

5959
The following guidelines may answer most of your questions and help you get started:
6060

61-
- Write content using Markdown. See the [Templates](#templates) section for examples.
62-
- Review existing [pull requests](https://github.com/magento/devdocs/pulls) and [issues](https://github.com/magento/devdocs/issues) to avoid duplicating work.
63-
- For large contributions, or changes that include multiple files, [open an issue](#report-an-issue) and discuss it with us first. This helps prevent duplicate or unnecessary work.
64-
- Do not make global find-and-replace changes without first creating an issue and discussing it with us. Global changes can have unintended consequences.
65-
- Combine multiple small changes (such as minor editorial and technical changes) into a single pull request. This helps us efficiently and effectively facilitate your contribution.
66-
- Familiarize yourself with the organization and conventions of our existing documentation before creating a pull request. Changes that are consistent with our style and conventions have a higher acceptance rate.
61+
- Write content using Markdown. See the [Templates](#templates) section for examples.
62+
- Review existing [pull requests](https://github.com/magento/devdocs/pulls) and [issues](https://github.com/magento/devdocs/issues) to avoid duplicating work.
63+
- For large contributions, or changes that include multiple files, [open an issue](#report-an-issue) and discuss it with us first. This helps prevent duplicate or unnecessary work.
64+
- Do not make global find-and-replace changes without first creating an issue and discussing it with us. Global changes can have unintended consequences.
65+
- Combine multiple small changes (such as minor editorial and technical changes) into a single pull request. This helps us efficiently and effectively facilitate your contribution.
66+
- Familiarize yourself with the organization and conventions of our existing documentation before creating a pull request. Changes that are consistent with our style and conventions have a higher acceptance rate.
6767

68-
- If you need to update the site navigation, ask for help in Slack ([#devdocs](https://magentocommeng.slack.com/messages/CAN932A3H)).
68+
- If you need to update the site navigation, ask for help in Slack ([#devdocs](https://magentocommeng.slack.com/messages/CAN932A3H)).
6969

70-
- Ensure that you update the correct version(s) of documentation (v2.2, v2.3). If you are not sure what directory to put your content in, just do your best. We can help re-locate it (if necessary) during the review process.
71-
- Review your work for basic typos, formatting errors, or ambiguous sentences before opening a pull request.
72-
- Revise pull requests according to review feedback. We will close pull requests that require an inordinate amount of time to review and process (especially for minor changes) if you fail to make revisions according to review feedback.
73-
- Do not directly contact DevDocs team members or maintainers on Slack to review your pull request unless it has been open for more than five days. We have a process and queue for pull requests that everyone must follow.
70+
- Ensure that you update the correct version(s) of documentation (v2.2, v2.3). If you are not sure what directory to put your content in, just do your best. We can help re-locate it (if necessary) during the review process.
71+
- Review your work for basic typos, formatting errors, or ambiguous sentences before opening a pull request.
72+
- Revise pull requests according to review feedback. We will close pull requests that require an inordinate amount of time to review and process (especially for minor changes) if you fail to make revisions according to review feedback.
73+
- Do not directly contact DevDocs team members or maintainers on Slack to review your pull request unless it has been open for more than five days. We have a process and queue for pull requests that everyone must follow.
7474

7575
## Tips for writing content
7676

7777
Use the following guidelines to help you with the writing process:
7878

79-
- Focus your efforts on providing useful information for your fellow Magento developers and community members. For example, consider providing or revising code samples, important notes, and clarifying vague or ambiguous content.
80-
- Define the goal of your topic. What exactly do you want to teach the reader?
81-
- Make the title of your topic reflect the content.
82-
- Keep your sentences concise. Separate conceptual information from procedural steps.
83-
- Batch several small changes into a single pull request (instead of separate ones) to ensure your contributions are approved and merged quickly. Have several typo fixes across several areas of documentation? Combine them into a single PR.
84-
- Remember to write in present tense, use the second person, and use active voice (not passive). For example, _"The log captures commands, output..."_.
85-
- Use notes to alert readers about important details.
86-
- Use cross-references to other topics sparingly. We can help you with the syntax if it is not clear. The template provides an example you can use.
87-
- Need help with markdown? See our [templates](#templates).
79+
- Focus your efforts on providing useful information for your fellow Magento developers and community members. For example, consider providing or revising code samples, important notes, and clarifying vague or ambiguous content.
80+
- Define the goal of your topic. What exactly do you want to teach the reader?
81+
- Make the title of your topic reflect the content.
82+
- Keep your sentences concise. Separate conceptual information from procedural steps.
83+
- Batch several small changes into a single pull request (instead of separate ones) to ensure your contributions are approved and merged quickly. Have several typo fixes across several areas of documentation? Combine them into a single PR.
84+
- Remember to write in present tense, use the second person, and use active voice (not passive). For example, _"The log captures commands, output..."_.
85+
- Use notes to alert readers about important details.
86+
- Use cross-references to other topics sparingly. We can help you with the syntax if it is not clear. The template provides an example you can use.
87+
- Need help with markdown? See our [templates](#templates).
8888

8989
### Review changes locally
9090

@@ -94,11 +94,11 @@ _(Optional)_ To review your changes in HTML output, follow the instructions in t
9494

9595
We provide templates to help you get started writing new content and understanding Markdown formatting:
9696

97-
- **General topic template** - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/basic_template.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/basic_template.html): This is a template for writing any topic with example formats and styles.
98-
- **Tutorial templates**: These templates provide example formats and styles for step-by-step instructions (like how-tos). Each file adds navigation buttons when content is generated. Templates include:
99-
- First introduction topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-first.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-first.html): Introduction to a tutorial for prerequisites and listing steps
100-
- Middle topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-middle.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-middle.html): Use for each step in a tutorial.
101-
- Final step topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-last.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-last.html): Use for the last step of the tutorial.
97+
- **General topic template** - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/basic_template.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/basic_template.html): This is a template for writing any topic with example formats and styles.
98+
- **Tutorial templates**: These templates provide example formats and styles for step-by-step instructions (like how-tos). Each file adds navigation buttons when content is generated. Templates include:
99+
- First introduction topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-first.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-first.html): Introduction to a tutorial for prerequisites and listing steps
100+
- Middle topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-middle.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-middle.html): Use for each step in a tutorial.
101+
- Final step topic - [Markdown](https://github.com/magento/devdocs/blob/master/guides/v2.3/contributor-guide/templates/tutorial-template-last.md) | [HTML](https://devdocs.magento.com/guides/v2.3/contributor-guide/templates/tutorial-template-last.html): Use for the last step of the tutorial.
102102

103103
### Edit metadata
104104

@@ -137,7 +137,7 @@ cd <DEVDOCS_REPOSITORY_ROOT_DIR>
137137
ln -s guides/v2.2/install-gde/new-doc-topic.md guides/v2.3/install-gde/new-doc-topic.md
138138
```
139139

140-
If you have an image that is identical between versions, it is should placed in `/common/images`. Please optimize images before committing them to the repository.
140+
If you have an image that is identical between versions, it should placed in `/common/images`. Please optimize images before committing them to the repository.
141141
If done correctly, the symbolic link path will start with 3 or 4 instances of `../`, as the above example shows.
142142

143143
### Remove a symbolic link
@@ -168,19 +168,19 @@ You must complete the issue template. We will close your issue if you fail to co
168168

169169
You can provide feedback using the following options:
170170

171-
- Have general feedback? Create an issue on [GitHub DevDocs](https://github.com/magento/devdocs/issues/new/choose).
172-
- Have feedback on a specific DevDocs page? Click the **Give us feedback** link at the top right of the page to report on the currently open topic.
171+
- Have general feedback? Create an issue on [GitHub DevDocs](https://github.com/magento/devdocs/issues/new/choose).
172+
- Have feedback on a specific DevDocs page? Click the **Give us feedback** link at the top right of the page to report on the currently open topic.
173173

174-
![Report an issue](https://devdocs.magento.com/common/images/contribute-feedback-link.png)
174+
![Report an issue](https://devdocs.magento.com/common/images/contribute-feedback-link.png)
175175

176-
- Have a Community code contribution that needs documentation? Create an issue to [request DevDocs content](https://github.com/magento/devdocs/issues/new?template=COMMUNITY_ISSUE_TEMPLATE.md).
176+
- Have a Community code contribution that needs documentation? Create an issue to [request DevDocs content](https://github.com/magento/devdocs/issues/new?template=COMMUNITY_ISSUE_TEMPLATE.md).
177177

178178
## Contact DevDocs
179179

180180
Have a question? Need help? Magento DevDocs, Maintainers, and other Contributors are available through:
181181

182-
- [Slack](https://magentocommeng.slack.com/messages/CAN932A3H) ([Join us](http://tinyurl.com/engcom-slack))
183-
- [Twitter @MagentoDevDocs](https://twitter.com/MagentoDevDocs)
184-
- [E-mail](mailto:[email protected])
182+
- [Slack](https://magentocommeng.slack.com/messages/CAN932A3H) ([Join us](http://tinyurl.com/engcom-slack))
183+
- [Twitter @MagentoDevDocs](https://twitter.com/MagentoDevDocs)
184+
- [E-mail](mailto:[email protected])
185185

186186
Thank you for contributing your brilliance to Magento DevDocs!!

.github/ISSUE_TEMPLATE/BUG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ about: Create an issue about a bug on the devdocs website
1414
<!-- (OPTIONAL) What needs to be done to replicate this issue? (provide Gist if needed) -->
1515

1616
1. First Step
17-
2. Second Step
18-
3. Etc.
17+
1. Second Step
18+
1. Etc.
1919

2020
## Expected result
2121

.github/ISSUE_TEMPLATE/COMMUNITY_ISSUE_TEMPLATE.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,28 @@ about: Create an issue related to a community engineering effort
99

1010
Type of Doc:
1111

12-
- [ ] New topic
13-
- [ ] Topic Update, Devdoc link:
14-
- [ ] Other
12+
- [ ] New topic
13+
- [ ] Topic Update, Devdoc link:
14+
- [ ] Other
1515

1616
Magento 2 GitHub Issue: https://github.com/magento/devdocs/issues/link
1717

1818
Magento 2 GitHub PR: https://github.com/magento/devdocs/pull/link
1919

2020
Magento 2 version:
2121

22-
- [ ] 2.1.X
23-
- [ ] 2.2.X
24-
- [ ] 2.3.X
25-
- [ ] back port
26-
- [ ] forward port
22+
- [ ] 2.1.X
23+
- [ ] 2.2.X
24+
- [ ] 2.3.X
25+
- [ ] back port
26+
- [ ] forward port
2727

2828
Notifications of Changes:
2929

30-
- [ ] Changes to Admin interface?
31-
- [ ] New software requirements?
32-
- [ ] New REST endpoints or updated GraphQL query syntax?
33-
- [ ] New command line option?
30+
- [ ] Changes to Admin interface?
31+
- [ ] New software requirements?
32+
- [ ] New REST endpoints or updated GraphQL query syntax?
33+
- [ ] New command line option?
3434

3535
## Content
3636

.github/ISSUE_TEMPLATE/NEW_TOPIC.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ about: Create a request to add missing information to devdocs
1515

1616
<!-- Use the following checklist template as a starting point -->
1717

18-
- [ ] The topic provides an explanation of how ____ works.
19-
- [ ] The topic provides steps for ____.
20-
- [ ] The topic contains code samples that shows ____.
21-
- [ ] Other (please specify)
18+
- [ ] The topic provides an explanation of how ____ works.
19+
- [ ] The topic provides steps for ____.
20+
- [ ] The topic contains code samples that shows ____.
21+
- [ ] Other (please specify)
2222

2323
## Additional information/resources
2424

.github/MAINTAINER_GUIDELINES.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ In general, the same [guidelines](https://devdocs.magento.com/guides/v2.3/contri
44

55
## General expectations
66

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
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
1313

1414
## Labels
1515

1616
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).
1717

1818
Here is a brief summary of the most important labels:
1919

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)
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)
2525

2626
We also use version labels when appropriate.
2727

@@ -51,8 +51,8 @@ We prefer Markdown over HTML (in most cases). You can use [kramdown](https://kra
5151

5252
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.
5353

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
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
5656

5757
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.
5858

@@ -63,7 +63,7 @@ Periodically, we will create a pull request from `small_changes` to `master` and
6363
1. Review the pull request and either approve it or request changes.
6464
1. Apply the `Small changes` label if one of the following labels should also be applied:
6565

66-
- `Editorial`
67-
- `Technical`
66+
- `Editorial`
67+
- `Technical`
6868

69-
1. That's it! A devdocs-admin will run tests and merge.
69+
1. That's it! A devdocs-admin will run tests and merge.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This pull request (PR) ...
66

77
<!-- REQUIRED List the affected pages on devdocs.magento.com (URLs). Not needed for large numbers of files. -->
88

9-
- ...
9+
- ...
1010

1111
## Links to Magento source code
1212

1313
<!-- OPTIONAL - REMOVE THIS SECTION IF NOT USED. If this pull request references a file in a Magento codebase repository, add it here. -->
1414

15-
- ...
15+
- ...
1616

1717
<!--
1818
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`

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Markdown linting test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- develop
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up Ruby
16+
uses: actions/setup-ruby@v1
17+
with:
18+
ruby-version: 2.6
19+
- name: Install mdl gem
20+
run: gem install mdl
21+
- name: Run mdl
22+
run: mdl --style=_checks/styles/style-rules-prod --ignore-front-matter --git-recurse -- .

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ _algolia_api_key
2626
/mbi/
2727
/page-builder/
2828
/page-builder-migration/
29+
/page-builder-types/
2930
/guides/m1x/
3031
/mftf/
3132

0 commit comments

Comments
 (0)