-
Notifications
You must be signed in to change notification settings - Fork 132
Updating contribution guides for docs. #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 14 commits
2c8a4c3
b4002b3
6c9c34d
ef7a76e
06d2e91
0c43a9e
5569b0a
2cc5666
2290e2e
a6786ee
a0faa1d
5f27f40
acc9238
978d945
6182ec9
447ed0f
2099d30
9c68e7d
539a562
9501614
d0fd11b
b9d2459
0b23734
70e59a5
2eef763
42bc8d1
51d66eb
8c7c139
f03a564
eaa1d0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,65 @@ | ||||||||||
# How to conttribute to MFTF docs | ||||||||||
|
||||||||||
MFTF documentation is kept within the /docs/ folder in this repository. | ||||||||||
We welcome contributions to the documentation. | ||||||||||
This page describes the process for submitting documentation and serves as a template for a properly written content. | ||||||||||
|
||||||||||
The contribution workflow for the Magento functional testing framework (MFTF) documentation is the same as submitting code. | ||||||||||
|
||||||||||
1. Make a branch from the `develop` branch in the [MFTF repo][]. | ||||||||||
1. Make edits/additions/deletions as needed. | ||||||||||
1. Submit your PR to the `develop` branch. | ||||||||||
dobooth marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
|
||||||||||
Once submitted, a member of the documentation team will review and merge it. | ||||||||||
We will inform you if it needs any additional processing. | ||||||||||
|
||||||||||
Any changes to the Table of Contents will need to be made in the regular [devdocs repo][]. | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think table of contents on devdocs should not be a part of this generic documentation guidelines. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Going to leave it in. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Then, you should mention that the documentation is also published on DevDocs website, because it is not clear what Table of Contents you refer to. And that to keep the table of contents consistent, the contributor will need to add the corresponding changes to the devdocs repository. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explained and linked to the TOC. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't see the changes. |
||||||||||
|
||||||||||
## H2 Heading - blank line before and after, capitalize first word only | ||||||||||
dobooth marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||
|
||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added. |
||||||||||
## Ordered lists | ||||||||||
|
||||||||||
1. Number all ordered list items as `1.` | ||||||||||
1. Single spafce after the number. | ||||||||||
1. Blank line before and after list. | ||||||||||
|
||||||||||
## Unordered lists | ||||||||||
|
||||||||||
- Use dashes in unordered lists. | ||||||||||
- Add one space after the dash. | ||||||||||
- Add a blank line before and after list. | ||||||||||
|
||||||||||
## Code samples | ||||||||||
|
||||||||||
For code highlighting, wrap code samples in the following format: | ||||||||||
|
||||||||||
```xml | ||||||||||
<xmlSample> | ||||||||||
... | ||||||||||
... | ||||||||||
</xmlSample> | ||||||||||
``` | ||||||||||
|
||||||||||
Replace the `xml` with the corresponding language (tupe) of the code sample. Use `bash` for shell commands and `terminal` for terminal output. | ||||||||||
|
||||||||||
## Markdown tables | ||||||||||
|
||||||||||
| Header | Header | | ||||||||||
| ----------- | ----------- | | ||||||||||
| Colume 1 text | Column 2 text| | ||||||||||
| Column 1 text | Column 2 text| | ||||||||||
|
||||||||||
Markdown formatting works for simple tables. It does not support multiline content within a cell, or split/merged cells within a row or column. | ||||||||||
|
||||||||||
## Other tips | ||||||||||
|
||||||||||
- Use spaces instead of tabs. | ||||||||||
- Do not duplicate blank lines. | ||||||||||
- Read more about how to [Contribute to Magento Devdocs][] | ||||||||||
|
||||||||||
<!-- For readability, we abstract the link URLS to the bottom of the page. The extra set of square brackets denotes it is a link, rather than plain brackets. > | ||||||||||
|
||||||||||
<!-- Link Definitions --> | ||||||||||
[devdocs repo]: https://github.com/magento/devdocs | ||||||||||
[MFTF repo]: https://github.com/magento/magento2-functional-testing-framework | ||||||||||
[Contribute to Magento Devdocs]: https://github.com/magento/devdocs/blob/master/.github/CONTRIBUTING.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to use code-like letter case because it is not related to a file name or any other entity unless it is intended to be a reference for
DOCUMENTATION_TEMPLATE.md
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is a ref to it.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, it refers to
.../.github/CONTRIBUTING.md
in link definitionsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.