You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Validate Hugo content, internal, and external web links
45
+
run: ./make_hugo.sh -v
46
+
working-directory: ${{env.working-directory}}
47
+
- name: Content has successfully PASSED validation
48
+
if: ${{ success() }}
49
+
uses: actions/github-script@v3
50
+
with:
51
+
github-token: ${{secrets.GITHUB_TOKEN}}
52
+
script: |
53
+
github.issues.createComment({
54
+
issue_number: context.issue.number,
55
+
owner: context.repo.owner,
56
+
repo: context.repo.repo,
57
+
body: 'All content has passed validation tests and can be merged based upon reviewer approval.'
58
+
})
59
+
- name: Content has FAILED validation
60
+
if: ${{ failure() }}
61
+
uses: actions/github-script@v3
62
+
with:
63
+
github-token: ${{secrets.GITHUB_TOKEN}}
64
+
script: |
65
+
github.issues.createComment({
66
+
issue_number: context.issue.number,
67
+
owner: context.repo.owner,
68
+
repo: context.repo.repo,
69
+
body: 'Content validation has failed. Review the details of the specific check failure. Before updating the pull request, please perform local validation. All validation check must be successfully resolved before your pull request can be reviewed for approval.'
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,17 @@ Please read through this document before you submit any pull requests or issues.
6
6
7
7
## What to expect when you contribute
8
8
9
-
When you submit a pull request, our team is notified and will respond as quickly as we can. We'll do our best to work with you to ensure that your pull request adheres to our style and standards. If we merge your pull request, we might make additional edits later for style or clarity.
9
+
When you submit a pull request, our team is notified and will respond as quickly as we can. We'll do our best to work with you to ensure that your pull request adheres to our style and standards. If we merge your pull request, we might make, or request, additional edits later for style or clarity.
10
10
11
11
The documentation in this repository are not published directly to the IoT Atlas website. If we merge your pull request, we'll publish your changes to the documentation website as soon as we can, but they won't appear immediately or automatically.
12
12
13
13
We look forward to receiving your pull requests for:
14
14
15
-
* New content you'd like to contribute (such as new designs, considerations, or examples)
16
-
* Inaccuracies in the content
17
-
* Information gaps in the content that need more detail to be complete
18
-
* Typos or grammatical errors
19
-
* Suggested rewrites that improve clarity and reduce confusion
15
+
- New content you'd like to contribute (such as new patterns, considerations, or examples)
16
+
- Inaccuracies in the content
17
+
- Information gaps in the content that need more detail to be complete
18
+
- Typos or grammatical errors
19
+
- Suggested rewrites that improve clarity and reduce confusion
20
20
21
21
**Note:** We all write differently, and you might not like how we've written or organized something currently. We want that feedback. But please be sure that your request for a rewrite is supported by the previous criteria. If it isn't, we might decline to merge it.
22
22
@@ -25,24 +25,22 @@ We look forward to receiving your pull requests for:
25
25
To contribute, send us a pull request. For small changes, such as fixing a typo or adding a link, you can use the [GitHub Edit Button](https://blog.github.com/2011-04-26-forking-with-the-edit-button/). For larger changes:
26
26
27
27
1.[Fork the repository](https://help.github.com/articles/fork-a-repo/).
28
-
2. In your fork, make your change in a branch that's based on this repository's **master** branch.
29
-
3. Test your change
30
-
*[Install and run](https://gohugo.io/getting-started/quick-start/) Hugo in the local copy of your repository
31
-
* If you have issues with rendering the site, make sure you've included the template using this command: `git submodule update --init --recursive`
28
+
2. In your fork, make your change in a branch that's based on this repository's **main** branch.
29
+
3. Test your change. Review the [contributor development process](https://github.com/aws/iot-atlas/blob/main/src/README.md) for instructions on testing local content.
32
30
4. Commit the change to your fork, using a clear and descriptive commit message.
33
31
5.[Create a pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/), answering any questions in the pull request form.
34
32
35
33
Before you send us a pull request, please be sure that:
36
34
37
-
1. You're working from the latest source on the **master** branch.
38
-
2. You check [existing open](https://github.com/awsdocs/iot-atlas/pulls), and [recently closed](https://github.com/awsdocs/iot-atlas/pulls?q=is%3Apr+is%3Aclosed), pull requests to be sure that someone else has not already addressed the problem.
39
-
3. You [create an issue](https://github.com/awsdocs/iot-atlas/issues/new) before working on a contribution that will take a significant amount of your time.
35
+
1. You're working from the latest source on the **main** branch.
36
+
2. You check [existing open](https://github.com/aws/iot-atlas/pulls), and [recently closed](https://github.com/aws/iot-atlas/pulls?q=is%3Apr+is%3Aclosed), pull requests to be sure that someone else has not already addressed the problem.
37
+
3. You [create an issue](https://github.com/aws/iot-atlas/issues/new) before working on a contribution that will take a significant amount of your time.
40
38
41
-
For contributions that will take a significant amount of time, [open a new issue](https://github.com/awsdocs/iot-atlas/issues/new) to pitch your idea before you get started. Explain the problem and describe the content you want to see added. Let us know if you'll write it yourself or if you'd like us to help. We'll discuss your proposal with you and let you know whether we're likely to accept it. We don't want you to spend a lot of time on a contribution that might be outside the scope of the IoT Atlas or that is already in the works.
39
+
For contributions that will take a significant amount of time, [open a new issue](https://github.com/aws/iot-atlas/issues/new) to pitch your idea before you get started. Explain the problem and describe the content you want to see added. Let us know if you'll write it yourself or if you'd like us to help. We'll discuss your proposal with you and let you know whether we're likely to accept it. We don't want you to spend a lot of time on a contribution that might be outside the scope of the IoT Atlas or that is already in the works.
42
40
43
41
## Finding contributions to work on
44
42
45
-
If you'd like to contribute, but don't have a project in mind, look at the [open issues](https://github.com/awsdocs/iot-atlas/issues) in this repository for some ideas. Any issues with the [help wanted](https://github.com/awsdocs/iot-atlas/labels/help%20wanted) or [enhancement](https://github.com/awsdocs/iot-atlas/labels/enhancement) labels are a great place to start.
43
+
If you'd like to contribute, but don't have a project in mind, look at the [open issues](https://github.com/aws/iot-atlas/issues) in this repository for some ideas. Any issues with the [help wanted](https://github.com/aws/iot-atlas/labels/help%20wanted) or [enhancement](https://github.com/aws/iot-atlas/labels/enhancement) labels are a great place to start.
46
44
47
45
In addition to written content, we really appreciate new examples for each design, such as examples for different platforms or environments, and code samples in additional languages.
48
46
@@ -56,4 +54,4 @@ If you discover a potential security issue, please notify AWS Security via our [
56
54
57
55
## Licensing
58
56
59
-
See the [LICENSE](https://github.com/awsdocs/iot-atlas/blob/master/LICENSE) file for this project's licensing. We will ask you to confirm the licensing of your contribution. We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
57
+
See the [LICENSE](https://github.com/aws/iot-atlas/blob/main/LICENSE) file for this project's licensing. We will ask you to confirm the licensing of your contribution. We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes.
### How can I test content before submitting a pull request?
3
-
If you have forked the repository, you need to install and run the IoT Atlas in a local copy of Hugo. You can do that through the following steps.
4
-
1. In the local forked repository execute: `git submodule update --init --recursive` which will pull in the necessary Hugo templates.
5
-
1. Install Hugo following [these instructions](https://gohugo.io/getting-started/installing/).
6
-
1. Start a local Hugo server: `hugo server --buildDrafts -v` which will build all pages, if they are in a draft state or not.
7
-
**Note**: you should see a message such as `Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
8
-
` when the Hugo server is operating correctly.
9
-
1. Browse to the local Hugo server.
4
+
5
+
Please review the [contributor development process](https://github.com/aws/iot-atlas/blob/main/src/README.md) for instructions on testing local content.
This repository contains the content of the [IoT Atlas](http://iotatlas.net)
3
+
This repository contains the content of the [IoT Atlas](http://iotatlas.net)
5
4
6
5
The IoT Atlas supports your project by explaining the why, what, and who of commonly used, modern IoT designs.
7
6
8
-
It would be great to have you join us and [contribute](https://github.com/aws/iot-atlas/blob/master/CONTRIBUTING.md) your ideas for designs, considerations, and examples. Please also read the [FAQ](https://github.com/aws/iot-atlas/blob/master/FAQ.md).
7
+
It would be great to have you join us and [contribute](https://github.com/aws/iot-atlas/blob/main/CONTRIBUTING.md) your ideas for designs, considerations, and examples. Please also read the [FAQ](https://github.com/aws/iot-atlas/blob/main/FAQ.md).
8
+
9
+
## Local Development
10
+
11
+
Please review the [contributor development process](https://github.com/aws/iot-atlas/blob/main/src/README.md) for instructions on testing local content.
0 commit comments