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

Commit b4d63b3

Browse files
Merge pull request #5676 from magento/sync-develop
Sync develop with master
2 parents e1bcd63 + 55efb93 commit b4d63b3

File tree

619 files changed

+102442
-76948
lines changed

Some content is hidden

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

619 files changed

+102442
-76948
lines changed

.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/MAINTAINER_GUIDELINES.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ 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

@@ -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/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Markdown linting test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- develop
8+
paths:
9+
- '*.md'
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v1
17+
- name: Set up Ruby
18+
uses: actions/setup-ruby@v1
19+
with:
20+
ruby-version: 2.6
21+
- name: Install gems
22+
run: bundle install
23+
- name: Run mdl
24+
run: rake test:md

0 commit comments

Comments
 (0)